Kubernetes Tutorial:
https://kubernetes.io/docs/tutorials/
https://www.katacoda.com/courses/kubernetes
https://www.tutorialspoint.com/kubernetes/index.htm
Safari Books and Video:
https://www.safaribooksonline.com/library/view/introduction-to-kubernetes/100000006A0441/
https://www.youtube.com/watch?v=QJ4fODH6DXI&ab_channel=KodeKloud | |
---|---|
K8S Component | |
etcd : Distributed key/value store , store all data to manage the cluster. | |
Container runtime | https://kubernetes.io/docs/setup/production-environment/container-runtimes/ |
"lightweight alternatives" to docker and support the standard interface (Container Runtime Interface or CRI ) | containerd CRI-O (Docker) |
Client Agent | |
kubelet | |
command line | |
kubectl |
Containers:
cheaper (in resources) and faster to develop App
schedule the creation of docker's container
( # openstack to VM)
Containers:
cheaper and faster to develop App)
POD
container sharing the same IP@ , must use different port number ( http: 80, other can not use 80 again)
[root@5b3s27 development]# kubectl get
You must specify the type of resource to get. Valid resource types include:
* all
* certificatesigningrequests (aka 'csr')
* clusters (valid only for federation apiservers)
* clusterrolebindings
* clusterroles
* componentstatuses (aka 'cs')
* configmaps (aka 'cm')
* daemonsets (aka 'ds')
* deployments (aka 'deploy')
* endpoints (aka 'ep')
* events (aka 'ev')
* horizontalpodautoscalers (aka 'hpa')
* ingresses (aka 'ing')
* jobs
* limitranges (aka 'limits')
* namespaces (aka 'ns')
* networkpolicies
* nodes (aka 'no')
* persistentvolumeclaims (aka 'pvc')
* persistentvolumes (aka 'pv')
* pods (aka 'po')
* poddisruptionbudgets (aka 'pdb')
* podsecuritypolicies (aka 'psp')
* podtemplates
* replicasets (aka 'rs')
* replicationcontrollers (aka 'rc')
* resourcequotas (aka 'quota')
* rolebindings
* roles
* secrets
* serviceaccounts (aka 'sa')
* services (aka 'svc')
* statefulsets
* storageclasses
* thirdpartyresources
error: Required resource not specified.
Use "kubectl explain <resource>" for a detailed description of that resource (e.g. kubectl explain pods).
See 'kubectl get -h' for help and examples.