Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For hosts setup as Kubernetes slave:


in :$ kubeadm join --token <token> <master-ip>:6443 --discovery-token-ca-cert-hash sha256:<hash>in which the token is given in the master's kubeadm init.or::$ kubeadm join --token <token> <master_ip>:6443 --discovery-token-unsafe-skip-ca-verificationwhich which will skip ca-cert verification.

...

then test the Kubernetes working status with the script:```

set -ex

kubectl create -f ~/nginx-app.yaml kubectl get nodes kubectl get services kubectl get pods kubectl get rc

r="0" while [ $r -ne "2" ] do

r=$(kubectl get pods | grep Running | wc -l) sleep 60

done

svcip=$(kubectl get services nginx -o json | grep clusterIP | cut -f4 -d'"') sleep 10 wget http://$svcip kubectl delete -f ./examples/nginx-app.yaml kubectl delete -f ./nginx-app.yaml kubectl get rc kubectl get pods kubectl get services

```


Helm Install on Arm64

Helm is a tool for managing Kubernetes charts. Charts are packages of pre-configured Kubernetes resources. The installation of Helm on arm64 is as followes:

...