Skip to content

Instantly share code, notes, and snippets.

@trozet
Last active April 18, 2024 19:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trozet/37ab6251a73f844a5b1eea52713c9cdc to your computer and use it in GitHub Desktop.
Save trozet/37ab6251a73f844a5b1eea52713c9cdc to your computer and use it in GitHub Desktop.
---
apiVersion: v1
kind: Pod
metadata:
name: client
labels:
pod-name: client
role: webserver
#app: spk-coredns
spec:
#hostNetwork: true
containers:
- name: client
image: fedora
#command:
# - /sbin/init
command: [ "/bin/bash", "-c", "--" ]
args: [ "while true; do sleep 3000000; done;" ]
imagePullPolicy: IfNotPresent
ports:
- name: dns-tcp
containerPort: 53
protocol: TCP
- name: dns-udp
containerPort: 9999
protocol: UDP
# securityContext:
#sysctls:
#- name: net.ipv6.route.max_size
#value: 2048
# securityContext:
# sysctls:
# - name: net.ipv4.tcp_sack
# value: "0"
nodeSelector:
kubernetes.io/hostname: master-2.ostest.test.metalkube.org
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment