Difference between revisions of "Play with Kubernetes"

From wikieduonline
Jump to navigation Jump to search
Line 3: Line 3:
 
* Login: [[GitHub]] or [[Docker]] [[login]]
 
* Login: [[GitHub]] or [[Docker]] [[login]]
  
  [[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]]
+
  [[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 12:22, 20 March 2024

Advertising: