ungleich-k8s/generic/alpine-sleep-hostnetwork-netperm.yaml

18 lines
332 B
YAML
Raw Normal View History

2023-02-11 19:16:17 +00:00
apiVersion: v1
kind: Pod
metadata:
name: alpine-sleep-hostnetwork-netperm
spec:
hostNetwork: true
containers:
- name: alpine
image: alpine:3.15
args:
- sleep
- "1000000"
securityContext:
capabilities:
# NET_ADMIN for wg
# NET_RAW for iptables
add: ["NET_ADMIN", "NET_RAW" ]