Compare commits

...

2 Commits

Author SHA1 Message Date
Nico Schottelius 877860fc23 Add macvlantestpod 2023-02-06 21:30:19 +01:00
Nico Schottelius 8134159824 add sysctl example 2023-02-06 21:30:04 +01:00
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,11 @@
apiVersion: v1
kind: Pod
metadata:
name: macvlantest
annotations:
k8s.v1.cni.cncf.io/networks: eth0mv
spec:
containers:
- name: samplepod
command: ["/bin/ash", "-c", "trap : TERM INT; sleep infinity & wait"]
image: alpine

16
generic/sysctl.yaml Normal file
View File

@ -0,0 +1,16 @@
containers:
- name: bird
image: "ungleich/bird:{{ .Chart.AppVersion }}"
command:
- /usr/sbin/bird
- -f
# - /bin/sh
# - -c
# - "sleep 100000"
securityContext:
sysctls:
- name: "net.ipv4.conf.all.rp_filter"
value: "0"
- name: "net.ipv4.conf.default.rp_filter"
value: "0"
# - name: "net.ipv4.conf.default.rp_filter"