diff --git a/README.md b/README.md index 8d26d33..238fbd9 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ :information_source:  This repo contains questions and exercises on various technical topics, sometimes related to DevOps and SRE :) -:bar_chart:  There are currently **1500** questions +:bar_chart:  There are currently **1504** questions :books:  To learn more about DevOps and SRE, check the resources in [devops-resources](https://github.com/bregman-arie/devops-resources) repository @@ -5611,8 +5611,22 @@ In other words, you reference a value from a Kubernetes Secret. #### Kubernetes Storage +
+True or False? Kubernetes provides data persistence out of the box, so when you restart a pod, data is saved
+ +False +
+
Explain "Persistent Volumes". Why do we need it?
+ +Persistent Volumes allow us to save data so basically they provide storage that doesn't depend on the pod lifecycle. +
+ +
+True or False? Persistent Volume must be available to all nodes because the pod can restart on any of them
+ +True
@@ -5857,6 +5871,20 @@ someChart/ -> the name of the chart `helm search hub [some_keyword]`
+
+Is it possible to override values in values.yaml file when installing a chart?
+Yes. You can pass another values file: +`helm install --values=override-values.yaml [CHART_NAME]` + +Or directly on the command line: `helm install --set some_key=some_value` +
+ +
+How Helm supports release management?
+ +Helm allows you to upgrade, remove and rollback to previous versions of charts. In version 2 of Helm it was with what is known as "Tiller". In version 3, it was removed due to security concerns. +
+ #### Submariner
@@ -7634,7 +7662,7 @@ Logging
* Push Gateway * Alert Manager
-Prometheus server responsible for scraping the storing the data
+Prometheus server is responsible for scraping and storing the data
Push gateway is used for short-lived jobs
Alert manager is responsible for alerts ;)
@@ -7678,9 +7706,9 @@ Alert manager is responsible for alerts ;) ## Git
-How do you know if directory you are in is a git repository?
+How do you know if a certain directory is a git repository?
-You can check if there is a ".git" directory. +You can check if there is a ".git" directory inside it.
@@ -7738,7 +7766,7 @@ is currently pointing at.
You would like to move forth commit to the top. How would you achieve that?
-Using git rebase> command +Using the `git rebase` command
@@ -7761,7 +7789,7 @@ This page explains it the best: https://git-scm.com/docs/merge-strategies
How can you see which changes have done before committing them?
-git diff +`git diff```
diff --git a/credits.md b/credits.md index fe50a69..d0c7769 100644 --- a/credits.md +++ b/credits.md @@ -9,7 +9,7 @@ Puppet logo created by Puppet®
Bash logo created by Prospect One
OpenStack logo created by and a trademark of The OpenStack Foundation®
Linux, Kubernetes and Prometheus logos are trademarks of The Linux Foundation®
-Mongo logo is a trademark of Mongo®
+Mongo logo is a trademark of Mongo®
Distributed logo by Flatart
Challenge icon by Elizabeth Arostegui in Technology Mix "Question you ask" (man raising hand) and "Database" icons by [Webalys](https://www.iconfinder.com/webalys)