Olaf Bohlen
2023-02-27 586b0804a6b881fed73ee1d7be571728cfef5de0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#+begin_src ditaa :file ocp-workshop1.png :cmdline -E -s 0.8
 
+---------------------------+       +-----------------------+         +-------------------------+
|{s} cRED                   |       | Kube API Server       |         | Kube Controller Manager |
| etcd                      |       |                       |         |                         |
| key=val                   | <===> |etcd connector         |  <====> | watches API for updates |
| kind=Pod                  |       |                       |         | if update: run code     |
| metatdata.name=hi-1-lhdhf |       |       REST Connector  |         |                         |
+---------------------------+       +-----------------------+         +-------------------------+
                                               ^
                                               | HTTP(S)/REST
                                               |  (JSON)
                                               v
                                    +-----------------------+
                                    |       REST Client     |
                                    |                       |
                                    | oc/kubectl            |
                                    |  (converts JSON to    |
                                    |   output format)      |
                                    |                       |
                                    +-----------------------+
#+end_src
 
#+results:
[[file:ocp-workshop1.png]]