add more test images
This commit is contained in:
parent
60b7952549
commit
6cf1db1ef6
3 changed files with 47 additions and 2 deletions
|
@ -1,11 +1,11 @@
|
|||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: alpine-sleep
|
||||
name: alpine-sleep4
|
||||
spec:
|
||||
containers:
|
||||
- name: alpine
|
||||
image: alpine:3.15
|
||||
image: alpine:3.17
|
||||
args:
|
||||
- sleep
|
||||
- "1000000"
|
||||
|
|
29
generic/sysctl-priv.yaml
Normal file
29
generic/sysctl-priv.yaml
Normal file
|
@ -0,0 +1,29 @@
|
|||
# Fun fact of this pod:
|
||||
# Using below sysctl fails due to SysctlForbidden
|
||||
# However using privileged: true allows to set the forwarding
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: sysctl-priv
|
||||
spec:
|
||||
containers:
|
||||
- name: bird
|
||||
image: "ungleich/bird:3.17-2.0.10"
|
||||
securityContext:
|
||||
privileged: true
|
||||
command:
|
||||
- /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.ipv6.conf.all.forwarding"
|
||||
# value: "1"
|
||||
# - name: "net.ipv6.conf.default.forwarding"
|
||||
# value: "1"
|
||||
# - name: "net.ipv4.ip_forward"
|
||||
# value: "1"
|
16
generic/wireguard-pod.yaml
Normal file
16
generic/wireguard-pod.yaml
Normal file
|
@ -0,0 +1,16 @@
|
|||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: wireguard-test-pod
|
||||
spec:
|
||||
containers:
|
||||
- name: wireguard
|
||||
image: ungleich/ungleich-wireguard:0.0.7
|
||||
command:
|
||||
- sleep
|
||||
- "1000000"
|
||||
securityContext:
|
||||
capabilities:
|
||||
# NET_ADMIN for wg
|
||||
# NET_RAW for iptables
|
||||
add: ["NET_ADMIN", "NET_RAW" ]
|
Loading…
Reference in a new issue