# Pod template
apiVersion: V1
kind: Pod
metadata:
annotations: {}
labels: {}
name: xxx
namespace: xxx
spec:
affnity:
nodeAntiAffinity: {}
podAntiAffinity: {}
# Containers
containers:
# Args and Command
- args: []
command: []
# Environment variables
env: []
envFrom: []
# Image
image: xxx:tag
imagePullPolicy: IfNotPresent
# Lifecycle
lifecycle:
postStart: {}
preStop: {}
# Name and Ports
name: xxx
ports: []
# Health probes
livenessProbe: {}
readinessProbe: {}
# Resources
resources:
limits: {}
requests: {}
# Volume mounts
volumeMounts: []
# imagePullSecrets
imagePullSecrets: []
# initContainers
initContainers: []
# others
dnsPolicy: ClusterFirst
restartPolicy: Always
serviceAccount: xxx
serviceAccountName: xxx
tolerations: {}
# Volume
volumes: {}