Skip to content

Commit 3b25225

Browse files
committed
Merge branch 'feature/hostctl' into develop
2 parents 8d5d330 + 5a3e61f commit 3b25225

File tree

2 files changed

+15
-11
lines changed

2 files changed

+15
-11
lines changed

macos/hostctl/hostctl-commands.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
### install hostctl
44
brew install guumaster/tap/hostctl
55

6+
hostctl --help
7+
68
######################################################################
79

810
hostctl list
@@ -14,7 +16,13 @@ hostctl list
1416
### | default | on | ::1 | localhost |
1517
### +---------+--------+-----------------+---------------------+
1618

19+
hostctl status
20+
1721
######################################################################
1822

1923
sudo hostctl add k8s < k8s.hosts
2024
sudo hostctl replace k8s < k8s.hosts
25+
sudo hostctl remove k8s
26+
27+
sudo hostctl enable work
28+
sudo hostctl disable work

macos/hostctl/k8s.hosts

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,11 @@
2222
192.168.0.50 vault.example.com
2323
192.168.0.50 vault.example.com
2424

25-
192.168.0.50 catalog-command.example.com
26-
192.168.0.50 catalog-query.example.com
27-
192.168.0.50 customer-command.example.com
28-
192.168.0.50 customer-query.example.com
29-
192.168.0.50 inventory-command.example.com
30-
192.168.0.50 inventory-query.example.com
25+
192.168.0.50 catalog.example.com
26+
192.168.0.50 customer.example.com
27+
192.168.0.50 delivery.example.com
3128
192.168.0.50 identity.example.com
32-
192.168.0.50 order-command.example.com
33-
192.168.0.50 order-query.example.com
34-
192.168.0.50 payment-command.example.com
35-
192.168.0.50 payment-query.example.com
36-
29+
192.168.0.50 inventory.example.com
30+
192.168.0.50 notification.example.com
31+
192.168.0.50 order.example.com
32+
192.168.0.50 payment.example.com

0 commit comments

Comments
 (0)