Difference between revisions of "Play with Kubernetes"

From wikieduonline
Jump to navigation Jump to search
 
(10 intermediate revisions by the same user not shown)
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  
  
  
  kubectl describe storageclass -A
+
  [[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
 
  No resources found
  
 
== Related ==
 
== Related ==
 +
* [[Installing helm]]
 +
* <code>[[yum install openssl]]</code>
 +
* [[yum-config-manager --save --setopt=kubernetes.skip_if_unavailable=true]]
 
* [[K8s tools]]
 
* [[K8s tools]]
 
* [[kubeadm init]]
 
* [[kubeadm init]]
 
* [[Kubernetes info]]
 
* [[Kubernetes info]]
 +
* [[Helm]]
 +
* [[/etc/kubernetes/admin.conf]]
 +
* [[kubeconfig]]
  
 
== See also ==
 
== See also ==

Latest revision as of 18:06, 10 April 2024

Advertising: