28 lines
615 B
YAML
28 lines
615 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: "{{ .Release.Name }}-{{ .Release.Revision }}-test"
|
|
{{ include "vk.labels" . | indent 2 }}
|
|
component: test
|
|
annotations:
|
|
"helm.sh/hook": test-success
|
|
spec:
|
|
containers:
|
|
- image: hello-world:linux
|
|
imagePullPolicy: Always
|
|
name: helloworld
|
|
resources:
|
|
requests:
|
|
memory: "0.1G"
|
|
cpu: 10m
|
|
limits:
|
|
memory: "0.1G"
|
|
cpu: 10m
|
|
dnsPolicy: ClusterFirst
|
|
nodeSelector:
|
|
kubernetes.io/hostname: "{{ .Values.nodeName }}"
|
|
restartPolicy: Never
|
|
tolerations:
|
|
- key: "{{ .Values.nodeTaint }}"
|
|
effect: NoSchedule
|