Last active
April 18, 2024 19:26
-
-
Save trozet/37ab6251a73f844a5b1eea52713c9cdc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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