Skip to content

Commit 0f4c627

Browse files
author
abregman
committed
Add a couple of questions on Linux and k8s operators
1 parent 60243ff commit 0f4c627

File tree

1 file changed

+103
-5
lines changed

1 file changed

+103
-5
lines changed

README.md

Lines changed: 103 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
:information_source:  This repo contains questions and exercises on various technical topics, sometimes related to DevOps and SRE :)
44

5-
:bar_chart:  There are currently **999** questions
5+
:bar_chart:  There are currently **1013** questions
66

77
:warning:  You can use these for preparing for an interview but most of the questions and exercises don't represent an actual interview. Please read [Q&A](common-qa.md) for more details
88

@@ -1375,6 +1375,16 @@ Hardware -> Kernel -> <u>Daemons</u>, System Libraries, Server Display.
13751375

13761376
##### Debugging (Beginner)
13771377

1378+
<details>
1379+
<summary>Where system logs are located?</summary><br><b>
1380+
</b></details>
1381+
1382+
<details>
1383+
<summary>How to follow file's content as it being appended without opening the file every time?</summary><br><b>
1384+
1385+
tail -f <file_name>
1386+
</b></details>
1387+
13781388
<details>
13791389
<summary>What are you using for troubleshooting and debugging <b>network</b> issues?</summary><br><b>
13801390

@@ -1515,6 +1525,17 @@ Hardware -> Kernel -> <u>Daemons</u>, System Libraries, Server Display.
15151525
3. Lines which end with a number
15161526
</b></details>
15171527

1528+
<details>
1529+
<summary>Which line numbers will be printed when running `grep '\baaa\b'` on the following content:
1530+
1531+
aaa
1532+
bbb
1533+
ccc.aaa
1534+
aaaaaa</summary><br><b>
1535+
1536+
lines 1 and 3.
1537+
</b></details>
1538+
15181539
<details>
15191540
<summary>What is the difference single and double quotes?</summary><br><b>
15201541
</b></details>
@@ -1541,7 +1562,7 @@ Each number has different meaning, based on how the application was developed.
15411562
I consider this as a good blog post to read more about it: https://shapeshed.com/unix-exit-codes
15421563
</b></details>
15431564

1544-
##### Storage & Filesystem (Beginner)
1565+
##### Linux - Storage & Filesystem
15451566

15461567
<details>
15471568
<summary>What's an inode?</summary><br><b>
@@ -2017,6 +2038,10 @@ Upstart: add Upstart init script at /etc/init/service.conf
20172038
<summary>How do you create users? Where user information is stored?</summary><br><b>
20182039
</b></details>
20192040

2041+
<details>
2042+
<summary>Which file stores information about groups?</summary><br><b>
2043+
</b></details>
2044+
20202045
<details>
20212046
<summary>How do you change/set the password of a user?</summary><br><b>
20222047
</b></details>
@@ -2059,6 +2084,26 @@ Re-install the OS IS NOT the right answer :)
20592084
Using the last command.
20602085
</b></details>
20612086

2087+
#### Linux - Hardware
2088+
2089+
<details>
2090+
<summary>Where can you find information on the processor?</summary><br><b>
2091+
2092+
/proc/cpuinfo
2093+
</b></details>
2094+
2095+
<details>
2096+
<summary>How can you print information on the BIOS, motherboard, processor and RAM?</summary><br><b>
2097+
2098+
dmidecoode
2099+
</b></details>
2100+
2101+
<details>
2102+
<summary>How can you print all the information on connected block devices in your system?</summary><br><b>
2103+
2104+
lsblk
2105+
</b></details>
2106+
20622107
#### Linux - Random
20632108

20642109
<details>
@@ -3240,6 +3285,59 @@ Setting the replicas to 0 will shut down the process. Now start it with `kubectl
32403285
<summary>Describe how roll-back works</summary><br><b>
32413286
</b></details>
32423287

3288+
<details>
3289+
<summary>What is the control loop? How it works?</summary><br><b>
3290+
3291+
Explained [here](https://www.youtube.com/watch?v=i9V4oCa5f9I)
3292+
</b></details>
3293+
3294+
#### Kubernetes Operators
3295+
3296+
<details>
3297+
<summary>What is an Operator?</summary><br><b>
3298+
3299+
Explained [here](https://coreos.com/operators)
3300+
3301+
"An Operator is a method of packaging, deploying and managing a Kubernetes application"
3302+
</b></details>
3303+
3304+
<details>
3305+
<summary>What components the Operator consists of?</summary><br><b>
3306+
3307+
1. CRD (custom resource definition)
3308+
2. Controller - Custom control loop which runs against the CRD
3309+
</b></details>
3310+
3311+
<details>
3312+
<summary>What is the Operator Framework?</summary><br><b>
3313+
3314+
open source toolkit used to manage k8s native applications, called operators, in an automated and efficient way.
3315+
</b></details>
3316+
3317+
<details>
3318+
<summary>What components the Operator Framework consists of??</summary><br><b>
3319+
3320+
1. Operator SDK - allows developers to build operators
3321+
2. Operator Lifecycle Manager - helps to install, update and generally manage the lifecycle of all operators
3322+
3. Operator Metering - Enables usage reporting for operators that provide specialized services
3323+
</b></details>
3324+
3325+
3326+
<details>
3327+
<summary>Describe in detail what is the Operator Lifecycle Manager</summary><br><b>
3328+
3329+
It's part of the Operator Framework, used for managing the lifecycle of operators. It basically extends Kubernetes so a user can use a declarative way to manage operators (installation, upgrade, ...).
3330+
</b></details>
3331+
3332+
<details>
3333+
<summary>What openshift-operator-lifecycle-manager namespace includes?</summary><br><b>
3334+
3335+
It includes:
3336+
3337+
* catalog-operator - Resolving and installing ClusterServiceVersions the resource they specify.
3338+
* olm-operator - Deploys applications defined by ClusterServiceVersion resource
3339+
</b></details>
3340+
32433341
#### Kubernetes Commands
32443342

32453343
<details>
@@ -5369,7 +5467,7 @@ as key-value pair, document-oriented, etc.
53695467
#### :baby: Beginner
53705468

53715469
<details>
5372-
<summary>What is OpenShift? Did you use it? If yes, how?</summary><br><b>
5470+
<summary>What is OpenShift? What experience do you have with OpenShift?</summary><br><b>
53735471
</b></details>
53745472

53755473
<details>
@@ -6021,7 +6119,7 @@ startap-script
60216119
* neutron-dhcp-agent - DHCP services
60226120
* neutron-metering-agent - L3 traffic metering
60236121
* neutron-*-agtent - manages local vSwitch configuration on each compute (based on chosen plugin)
6024-
* neutron-server - exposes networking API and passes requests to other plugins if required</summary><br><b>
6122+
* neutron-server - exposes networking API and passes requests to other plugins if required
60256123
</b></details>
60266124

60276125
<details>
@@ -6096,7 +6194,7 @@ Using:
60966194
</b></details>
60976195

60986196
<details>
6099-
<summary>What is a service catalog?
6197+
<summary>What is a service catalog?</summary><br><b>
61006198

61016199
A list of services and their endpoints
61026200
</b></details>

0 commit comments

Comments
 (0)