Skip to content

Commit 1cda075

Browse files
committed
add cilium docu
1 parent a277305 commit 1cda075

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ class { 'k8s':
4646
For more in-detail examples see the examples.
4747

4848
- [Simple bridged setup](examples/simple_setup/Readme.md)
49+
- [Cilium setup](examples/cilium/Readme.md)
4950

5051
## Reference
5152

examples/cilium/Readme.md

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Cilium Setup
2+
3+
It is exactly the same as in the [Simple Setup](../simple_setup/), but we set some different data.
4+
5+
Make sure if this is the default or you explicitly set this data.
6+
We don't want any other cni to be installed in the first place.
7+
8+
```yaml
9+
k8s::node::manage_simple_cni: false
10+
k8s::server::resources::manage_flannel: false
11+
```
12+
13+
The nodes will be in NotReady state at the beginning, because we have no network installed yet.
14+
After puppet has finished, cilium binary can be downloaded and executed.
15+
16+
see: https://docs.cilium.io/en/v1.13/gettingstarted/k8s-install-default/
17+
18+
Execute this on one of the control plane nodes:
19+
20+
```bash
21+
# all defaults
22+
cilium install
23+
24+
# custom setup
25+
cilium install --helm-values /path/to/helm-values.yaml
26+
```
27+
28+
Cilium will completly replace kube-proxy.
29+
It is not needed anymore after installing cilium and can be de-installed.

0 commit comments

Comments
 (0)