Note On Kubernetes Administration
Note On Kubernetes Administration
===========================
+91 9922276279
[email protected]
Introduction:
Course Outline:
Breaks:
09:00 to 17:00 (E. Africa Standard Time)
LET Portal:
https://www.mykoenig.com/
Participants Usernames
Passwords
Username: root
Password: linux
3.1
1002 kubectl get nodes
1003 kubectl get namespaces
1004 kubectl --namespace kube-system get pods
1005 kubectl get services
1006 kubectl get services -o wide
1007 kubectl api-resources
1008 kubectl cluster-info
1009 kubectl cluster-info dump
1010 kubectl describe namespaces default
1011 kubectl -n kube-system get pods
1012 kubectl describe namespaces default
1013 kubectl -n kube-system get pods
1014 kubectl -n kube-system describe pod coredns-6f85d5fb88-4mjg6
1015 cd ~/course_files/KUB201/labs/manifests/simple-pod/
1016 ls
1017 cat simple-pod.yaml
1018 kubectl create -f simple-pod.yaml
1019 kubectl get pods
1020 kubectl exec -it simple-pod -- bash
1021 kubectl delete pod simple-pod
1022 kubectl apply -f simple-pod.yaml
1023 kubectl logs simple-pod
1024 kubectl describe pod simple-pod
1025 kubectl delete pod simple-pod
3.2
1027 cd
1028 kubectl get namespaces
1029 kubectl get pods
1030 kubectl -n kube-system get pods
1031 kubectl create namespace mynamespace
1032 kubectl get namespaces
1033 kubectl delete namespace mynamespace
1034 kubectl get namespaces
3.3