Add complete sysctl example
This commit is contained in:
parent
877860fc23
commit
644a356212
1 changed files with 24 additions and 16 deletions
|
@ -1,16 +1,24 @@
|
||||||
containers:
|
apiVersion: v1
|
||||||
- name: bird
|
kind: Pod
|
||||||
image: "ungleich/bird:{{ .Chart.AppVersion }}"
|
metadata:
|
||||||
command:
|
name: pod-sysctl-tests
|
||||||
- /usr/sbin/bird
|
spec:
|
||||||
- -f
|
containers:
|
||||||
# - /bin/sh
|
- name: bird
|
||||||
# - -c
|
image: "ungleich/bird:3.17-2.0.10"
|
||||||
# - "sleep 100000"
|
command:
|
||||||
securityContext:
|
- /bin/sh
|
||||||
sysctls:
|
- -c
|
||||||
- name: "net.ipv4.conf.all.rp_filter"
|
- "sleep 100000"
|
||||||
value: "0"
|
securityContext:
|
||||||
- name: "net.ipv4.conf.default.rp_filter"
|
sysctls:
|
||||||
value: "0"
|
# - name: "net.ipv4.conf.all.rp_filter"
|
||||||
# - name: "net.ipv4.conf.default.rp_filter"
|
# value: "0"
|
||||||
|
# - name: "net.ipv4.conf.default.rp_filter"
|
||||||
|
# value: "0"
|
||||||
|
- name: "net.ipv6.conf.all.forwarding"
|
||||||
|
value: "1"
|
||||||
|
- name: "net.ipv6.conf.default.forwarding"
|
||||||
|
value: "1"
|
||||||
|
- name: "net.ipv4.ip_forward"
|
||||||
|
value: "1"
|
||||||
|
|
Loading…
Reference in a new issue