parent
afbf097927
commit
27ee317c97
40
README.md
40
README.md
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
:information_source: This repo contains questions and exercises on various technical topics, sometimes related to DevOps and SRE :)
|
: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
|
: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
|
#### Kubernetes Storage
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>True or False? Kubernetes provides data persistence out of the box, so when you restart a pod, data is saved</summary><br><b>
|
||||||
|
|
||||||
|
False
|
||||||
|
</b></details>
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>Explain "Persistent Volumes". Why do we need it?</summary><br><b>
|
<summary>Explain "Persistent Volumes". Why do we need it?</summary><br><b>
|
||||||
|
|
||||||
|
Persistent Volumes allow us to save data so basically they provide storage that doesn't depend on the pod lifecycle.
|
||||||
|
</b></details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>True or False? Persistent Volume must be available to all nodes because the pod can restart on any of them</summary><br><b>
|
||||||
|
|
||||||
|
True
|
||||||
</b></details>
|
</b></details>
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
@ -5857,6 +5871,20 @@ someChart/ -> the name of the chart
|
|||||||
`helm search hub [some_keyword]`
|
`helm search hub [some_keyword]`
|
||||||
</b></details>
|
</b></details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>Is it possible to override values in values.yaml file when installing a chart?</summary><br><b>
|
||||||
|
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`
|
||||||
|
</b></details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>How Helm supports release management?</summary><br><b>
|
||||||
|
|
||||||
|
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.
|
||||||
|
</b></details>
|
||||||
|
|
||||||
#### Submariner
|
#### Submariner
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
@ -7634,7 +7662,7 @@ Logging<br>
|
|||||||
* Push Gateway
|
* Push Gateway
|
||||||
* Alert Manager</summary><br><b>
|
* Alert Manager</summary><br><b>
|
||||||
|
|
||||||
Prometheus server responsible for scraping the storing the data<br>
|
Prometheus server is responsible for scraping and storing the data<br>
|
||||||
Push gateway is used for short-lived jobs<br>
|
Push gateway is used for short-lived jobs<br>
|
||||||
Alert manager is responsible for alerts ;)
|
Alert manager is responsible for alerts ;)
|
||||||
</b></details>
|
</b></details>
|
||||||
@ -7678,9 +7706,9 @@ Alert manager is responsible for alerts ;)
|
|||||||
## Git
|
## Git
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>How do you know if directory you are in is a git repository?</summary><br><b>
|
<summary>How do you know if a certain directory is a git repository?</summary><br><b>
|
||||||
|
|
||||||
You can check if there is a ".git" directory.
|
You can check if there is a ".git" directory inside it.
|
||||||
</b></details>
|
</b></details>
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
@ -7738,7 +7766,7 @@ is currently pointing at.
|
|||||||
<details>
|
<details>
|
||||||
<summary>You would like to move forth commit to the top. How would you achieve that?</summary><br><b>
|
<summary>You would like to move forth commit to the top. How would you achieve that?</summary><br><b>
|
||||||
|
|
||||||
Using <code>git rebase></code> command
|
Using the `git rebase` command
|
||||||
</b></details>
|
</b></details>
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
@ -7761,7 +7789,7 @@ This page explains it the best: https://git-scm.com/docs/merge-strategies
|
|||||||
<details>
|
<details>
|
||||||
<summary>How can you see which changes have done before committing them?</summary><br><b>
|
<summary>How can you see which changes have done before committing them?</summary><br><b>
|
||||||
|
|
||||||
<code>git diff</code>
|
`git diff```
|
||||||
</b></details>
|
</b></details>
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
|
@ -9,7 +9,7 @@ Puppet logo created by <a href="https://puppet.com">Puppet®</a><br>
|
|||||||
Bash logo created by Prospect One<br>
|
Bash logo created by Prospect One<br>
|
||||||
OpenStack logo created by and a trademark of The <a href="https://www.openstack.org">OpenStack Foundation®</a><br>
|
OpenStack logo created by and a trademark of The <a href="https://www.openstack.org">OpenStack Foundation®</a><br>
|
||||||
Linux, Kubernetes and Prometheus logos are trademarks of The Linux Foundation®<br>
|
Linux, Kubernetes and Prometheus logos are trademarks of The Linux Foundation®<br>
|
||||||
Mongo logo is a trademark of <a href="www.mongodb.com">Mongo®</a><br>
|
Mongo logo is a trademark of <a href="http://www.mongodb.com">Mongo®</a><br>
|
||||||
Distributed logo by <a href="https://www.iconfinder.com/Flatart">Flatart</a><br>
|
Distributed logo by <a href="https://www.iconfinder.com/Flatart">Flatart</a><br>
|
||||||
Challenge icon by Elizabeth Arostegui in Technology Mix
|
Challenge icon by Elizabeth Arostegui in Technology Mix
|
||||||
"Question you ask" (man raising hand) and "Database" icons by [Webalys](https://www.iconfinder.com/webalys)
|
"Question you ask" (man raising hand) and "Database" icons by [Webalys](https://www.iconfinder.com/webalys)
|
||||||
|
Loading…
Reference in New Issue
Block a user