Created
March 24, 2020 12:51
-
-
Save strigazi/5e75559e2221d4b9e3f63f7b33c82c9b to your computer and use it in GitHub Desktop.
This file contains hidden or 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: apps/v1 | |
kind: DaemonSet | |
metadata: | |
name: debug-app | |
namespace: kube-system | |
labels: | |
k8s-app: debug-app | |
spec: | |
selector: | |
matchLabels: | |
name: debug-app | |
template: | |
metadata: | |
labels: | |
name: debug-app | |
spec: | |
tolerations: | |
- key: node.kubernetes.io/unschedulable | |
effect: NoSchedule | |
- effect: NoSchedule | |
key: dedicated | |
value: master | |
- effect: NoSchedule | |
key: CriticalAddonsOnly | |
value: "True" | |
#nodeSelector: | |
# debug: "true" | |
#securityContext: | |
# runAsUser: 0 | |
# fsGroup: 0 | |
containers: | |
- name: httpd | |
image: httpd | |
ports: | |
- containerPort: 80 | |
- name: centos | |
image: centos:8 | |
command: | |
- /bin/sh | |
args: | |
- -c | |
- "sleep 100d" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment