Skip to content

Commit dedfa71

Browse files
author
abregman
committed
update
1 parent a203bea commit dedfa71

File tree

1 file changed

+98
-1
lines changed

1 file changed

+98
-1
lines changed

README.md

Lines changed: 98 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4384,6 +4384,16 @@ Separate configuration from pods.
43844384
Scale the number of pods automatically on observed CPU utilization.
43854385
</b></details>
43864386

4387+
<details>
4388+
<summary>When you delete a pod, is it deleted instantly? (a moment after running the command)</summary><br><b>
4389+
</b></details>
4390+
4391+
<details>
4392+
<summary>How to delete a pod instantly?</summary><br><b>
4393+
4394+
Use "--grace-period=0 --force"
4395+
</b></details>
4396+
43874397
<details>
43884398
<summary>Explain the "Service" concept</summary><br><b>
43894399

@@ -4413,7 +4423,7 @@ More on this topic [here](https://kubernetes.io/docs/concepts/services-networkin
44134423
<summary>Explain Readiness probe</summary><br><b>
44144424
</b></details>
44154425

4416-
#### Basic Commands
4426+
#### Kubernetes Commands
44174427

44184428
<details>
44194429
<summary>Which command you run to view your nodes?</code></summary><br><b>
@@ -4524,6 +4534,12 @@ kubectl api-resources --namespaced=false
45244534
kubectl delete pods --field-selector=status.phase!='Running'
45254535
</b></details>
45264536

4537+
<details>
4538+
<summary>How to display the resources usages of pods?</code></summary><br><b>
4539+
4540+
kubectl top pod
4541+
</b></details>
4542+
45274543
<details>
45284544
<summary>What is Minikube?</summary><br><b>
45294545

@@ -4558,10 +4574,22 @@ Setting the replicas to 0 will shut down the process. Now start it with `kubectl
45584574
<summary>What happens to running pods if if you stop Kubelet on the worker nodes?</summary><br><b>
45594575
</b></details>
45604576

4577+
<details>
4578+
<summary>What happens what pods are using too much memory? (more than its limit)</summary><br><b>
4579+
4580+
They become candidates to for termination.
4581+
</b></details>
4582+
45614583
<details>
45624584
<summary>Describe how roll-back works</summary><br><b>
45634585
</b></details>
45644586

4587+
<details>
4588+
<summary>True or False? Memory is a compressible resource, meaning that when a container reach the memory limit, it will keep running</summary><br><b>
4589+
4590+
False. CPU is a compressible resource while memory is a non compressible resource - once a container reached the memory limit, it will be terminated.
4591+
</b></details>
4592+
45654593
<details>
45664594
<summary>What is the control loop? How it works?</summary><br><b>
45674595

@@ -4640,12 +4668,81 @@ kubectl create secret generic some-secret --from-literal=password='donttellmypas
46404668
kubectl create secret generic some-secret --from-file=/some/file.txt
46414669
</b></details>
46424670

4671+
#### Kubernetes Storage
4672+
4673+
<details>
4674+
<summary>Explain "Persistent Volumes". Why do we need it?</summary><br><b>
4675+
</b></details>
4676+
4677+
<details>
4678+
<summary>What types of persistent volumes are there?</summary><br><b>
4679+
4680+
* NFS
4681+
* iSCSI
4682+
* CephFS
4683+
* ...
4684+
</b></details>
4685+
4686+
<details>
4687+
<summary>What is PersistentVolumeClaim?</summary><br><b>
4688+
</b></details>
4689+
4690+
<details>
4691+
<summary>Explain Storage Classes</summary><br><b>
4692+
</b></details>
4693+
4694+
<details>
4695+
<summary>Explain "Dynamic Provisioning" and "Static Provisioning"</summary><br><b>
4696+
</b></details>
4697+
4698+
<details>
4699+
<summary>Explain Access Modes</summary><br><b>
4700+
</b></details>
4701+
4702+
<details>
4703+
<summary>What is Reclaim Policy?</summary><br><b>
4704+
</b></details>
4705+
4706+
<details>
4707+
<summary>What reclaim policies are there?</summary><br><b>
4708+
4709+
* Retain
4710+
* Recycle
4711+
* Delete
4712+
</b></details>
4713+
46434714
#### Kubernetes Misc
46444715

46454716
<details>
46464717
<summary>Explain what is CronJob and what is it used for</summary><br><b>
46474718
</b></details>
46484719

4720+
<details>
4721+
<summary>What QoS classes are there?</summary><br><b>
4722+
4723+
* Guaranteed
4724+
* Burstable
4725+
* BestEffort
4726+
</b></details>
4727+
4728+
<details>
4729+
<summary>Are there any Kuberenets tools you are using?</summary><br><b>
4730+
4731+
Kubectx, Kubens, ...
4732+
</b></details>
4733+
4734+
<details>
4735+
<summary>Explain Labels. What are they and why would one use them?</summary><br><b>
4736+
</b></details>
4737+
4738+
<details>
4739+
<summary>Explain Selectors</summary><br><b>
4740+
</b></details>
4741+
4742+
<details>
4743+
<summary>What is Kubeconfig?</summary><br><b>
4744+
</b></details>
4745+
46494746
#### Submariner
46504747

46514748
<details>

0 commit comments

Comments
 (0)