Difference between revisions of "Play with Kubernetes"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
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 | ||
+ | |||
+ | [[kube-router]] | ||
+ | [[kubectl apply -f https://raw.githubusercontent.com/cloudnativelabs/kube-router/master/daemonset/kubeadm-kuberouter.yaml]] | ||
[[kubectl describe storageclass]] -A | [[kubectl describe storageclass]] -A | ||
Line 15: | Line 18: | ||
== Related == | == Related == | ||
+ | * [[Installing helm]] | ||
* <code>[[yum install openssl]]</code> | * <code>[[yum install openssl]]</code> | ||
+ | * [[yum-config-manager --save --setopt=kubernetes.skip_if_unavailable=true]] | ||
* [[K8s tools]] | * [[K8s tools]] | ||
* [[kubeadm init]] | * [[kubeadm init]] |
Latest revision as of 18:06, 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
kube-router 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[edit]
- Installing helm
yum install openssl
- yum-config-manager --save --setopt=kubernetes.skip_if_unavailable=true
- K8s tools
- kubeadm init
- Kubernetes info
- Helm
- /etc/kubernetes/admin.conf
- kubeconfig
See also[edit]
Advertising: