From dedfa716568f0ff33c4633b8b18e1a87bea663ee Mon Sep 17 00:00:00 2001 From: abregman Date: Sat, 29 Aug 2020 12:37:01 +0300 Subject: [PATCH] update --- README.md | 99 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 98 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4d94fea..695b4db 100644 --- a/README.md +++ b/README.md @@ -4384,6 +4384,16 @@ Separate configuration from pods. Scale the number of pods automatically on observed CPU utilization. +
+When you delete a pod, is it deleted instantly? (a moment after running the command)
+
+ +
+How to delete a pod instantly?
+ +Use "--grace-period=0 --force" +
+
Explain the "Service" concept
@@ -4413,7 +4423,7 @@ More on this topic [here](https://kubernetes.io/docs/concepts/services-networkin Explain Readiness probe
-#### Basic Commands +#### Kubernetes Commands
Which command you run to view your nodes?
@@ -4524,6 +4534,12 @@ kubectl api-resources --namespaced=false kubectl delete pods --field-selector=status.phase!='Running'
+
+How to display the resources usages of pods?
+ +kubectl top pod +
+
What is Minikube?
@@ -4558,10 +4574,22 @@ Setting the replicas to 0 will shut down the process. Now start it with `kubectl What happens to running pods if if you stop Kubelet on the worker nodes?
+
+What happens what pods are using too much memory? (more than its limit)
+ +They become candidates to for termination. +
+
Describe how roll-back works
+
+True or False? Memory is a compressible resource, meaning that when a container reach the memory limit, it will keep running
+ +False. CPU is a compressible resource while memory is a non compressible resource - once a container reached the memory limit, it will be terminated. +
+
What is the control loop? How it works?
@@ -4640,12 +4668,81 @@ kubectl create secret generic some-secret --from-literal=password='donttellmypas kubectl create secret generic some-secret --from-file=/some/file.txt
+#### Kubernetes Storage + +
+Explain "Persistent Volumes". Why do we need it?
+
+ +
+What types of persistent volumes are there?
+ +* NFS +* iSCSI +* CephFS +* ... +
+ +
+What is PersistentVolumeClaim?
+
+ +
+Explain Storage Classes
+
+ +
+Explain "Dynamic Provisioning" and "Static Provisioning"
+
+ +
+Explain Access Modes
+
+ +
+What is Reclaim Policy?
+
+ +
+What reclaim policies are there?
+ +* Retain +* Recycle +* Delete +
+ #### Kubernetes Misc
Explain what is CronJob and what is it used for
+
+What QoS classes are there?
+ +* Guaranteed +* Burstable +* BestEffort +
+ +
+Are there any Kuberenets tools you are using?
+ +Kubectx, Kubens, ... +
+ +
+Explain Labels. What are they and why would one use them?
+
+ +
+Explain Selectors
+
+ +
+What is Kubeconfig?
+
+ #### Submariner