Riflessioni e guide per mettere su un cluster Kubernetes con Juju
Copiare il file *.yaml sul primo nodo.
Installare juju:
sudo snap install juju --classicCreare il cloud:
juju add-cloudBootstrap del controller:
juju bootstrap sos-cloud manual-controllerAggiungere le macchine:
juju add-machine ssh:[email protected]
juju add-machine ssh:[email protected]
juju add-machine ssh:[email protected]
juju add-machine ssh:[email protected]
juju add-machine ssh:[email protected]
juju add-machine ssh:[email protected]
juju add-machine ssh:[email protected]Deployare Kubernetes con il file copiato:
juju deploy ./*.yaml --map-machines=existingRimuovere cloud e controller
juju destroy-model "MODEL_NAME"
juju destroy-contoller "CONTROLLER_NAME"
juju remove-cloud "CLOUD_NAME"
sudo /sbin/remove-juju-services
rm ~/.kube/config