Difference between revisions of "Play with Kubernetes"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
[[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 | ||
+ | |||
+ | [[kubectl apply -f https://raw.githubusercontent.com/cloudnativelabs/kube-router/master/daemonset/kubeadm-kuberouter.yaml]] | ||
[[kubectl describe storageclass]] -A | [[kubectl describe storageclass]] -A |
Revision as of 18:04, 10 April 2024
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
kubectl apply -f https://raw.githubusercontent.com/cloudnativelabs/kube-router/master/daemonset/kubeadm-kuberouter.yaml
kubectl describe storageclass -A No resources found
kubectl get ingressclass -A No resources found
Related
yum install openssl
- K8s tools
- kubeadm init
- Kubernetes info
- Helm
- /etc/kubernetes/admin.conf
- kubeconfig
See also
Advertising: