Difference between revisions of "Play with Kubernetes"

From wikieduonline
Jump to navigation Jump to search
Line 5: Line 5:
 
  [[kubeadm init --apiserver-advertise-address $(hostname -i) --pod-network-cidr 10.5.0.0/16]] && [[kubectl apply -f https://raw.githubusercontent.com/cloudnativelabs/kube-router/master/daemonset/kubeadm-kuberouter.yaml]] && [[kubectl get nodes -A]] && [[kubectl get pods -A]]
 
  [[kubeadm init --apiserver-advertise-address $(hostname -i) --pod-network-cidr 10.5.0.0/16]] && [[kubectl apply -f https://raw.githubusercontent.com/cloudnativelabs/kube-router/master/daemonset/kubeadm-kuberouter.yaml]] && [[kubectl get nodes -A]] && [[kubectl get pods -A]]
  
   [[kubeadm join]] 192.168.0.18:6443 --token 92a56h.xxx  --discovery-token-ca-cert-hash sha256:4dcac0ecd92331db0bXXXXXXX  
+
   [[kubeadm join]] 192.168.0.18:6443 --token 92a56h.xxx  [[--discovery-token-ca-cert-hash]] sha256:4dcac0ecd92331db0bXXXXXXX  
  
  

Revision as of 16:16, 10 April 2024

Advertising: