19 lines
415 B
Makefile
19 lines
415 B
Makefile
install:
|
|
vagrant up
|
|
cd ansible && $(MAKE) install
|
|
make get_k3s_credentials
|
|
|
|
k3s_reset:
|
|
cd ansible && $(MAKE) uninstall
|
|
cd ansible && $(MAKE) k3s
|
|
get_k3s_credentials
|
|
|
|
destroy:
|
|
vagrant destroy -f
|
|
|
|
get_k3s_credentials:
|
|
vagrant ssh -c "sudo cat /home/creator/.kube/config" hb-wide-1 > ~/.kube/config-halia
|
|
sed -i 's/10.20.*:/10.10.0.101:/g' ~/.kube/config-halia
|
|
kube-merge
|
|
kubectl get nodes --context halia
|