User Tools

Site Tools


learning

This is an old revision of the document!


Kubernetes

Free Content

Youtube

Pay Content

commands

kubeadm init defaults

kubeadm config print init-defaults

Create an nginx deployment

kubectl create deployment nginx --image nginx  
kubectl get nodes -o json | jq '.items[].spec.podCIDRs' 
kubectl run alpine --image=alpine -it  

Testing and Diagnostic container

kubectl run alpine --image=alpine -it 
apk update  
apk add bind-tools curl

Session ended, resume using 'kubectl attach alpine -c alpine -i -t' command when the pod is running

Kubernetes IO Help

learning.1758197477.txt.gz · Last modified: by glong

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki