Sei sulla pagina 1di 4

CONTAINERS SPEC

written aspartofPodspec
Essentials

Author GouravShah
name image School of Devops

must
whichvol
apiVersion: v1
kind: Pod
metadata:
to
where name: vote
Mount 1 spec:
containers:
- image: schoolofdevops/vote
volumeMounts name: vote
ports:
maps - containerPort: 80
hostPort: 80
Volumes
in Podspec

Containers

resources max fwm


limits:
cpu: “500m”
n
memory: “256Mi” w
i
remove
service IT
requests:
cpu: “200m”
memory: “64Mi”
min y
readinessProbe iftar.utner

livenessProbe
U

f score
no Ire

MiBIG B
imagePullPolicy

injections ports
awaiting

f
Never
MD env IfNotPresent
EnvFrom informational
args

command

C M 24POINT

µ
egg gosue
another
www.e.gg
POD SPEC µ
Essential
initContainers loaddata
tobeused
byappcontainers Author GouravShah
re school of Devops
containers
Containers
app nodeAffinity
volumes
namef podAffinity

type Ystad podAntiAffinity

Tatami affinity

serviceAccountName nodeName run on nodexx

nodeSelector
rBac

is
tolerations
FIT
c
Scheduling

T
Influencers
89
imagePullSecrets node

ffonot
launch
imageruns
root
f
as
sysctls
runAsNonRoot

securityContext

I
runAsGroup runAsUser

y
seLinuxOptions
hostAliases
POD SPEC
letcl hosts Extras
restartPolicy
Author GouravShah
School of Devops
always lonfailurelNever dnsConfig
default

schedulerName Configs
dnsPolicy
1 automountServiceAccountToken
ystom pod is marked
readyonlyafter
all gatespass
hostIPC

Yossi Eg readinessGates

hostPID
sina.re.sn
gPygd
priority

Namespaces
hostNetwork
nitec
DFJ priorityClassName

Svc cluster.io
hostname
hostname
shareProcessNamespace subdomains
shareprocessors
betweenallcontainers

a
subdomain
activeDeadlineSeconds

SIGTERM Sig157
de.IS 0
S
or
SIGKILL Sigg
xxseconq docket

terminationGracePeriodSeconds
pick rkt
Runtime
Drunc
use this to drain
t
f
runtimeClassName
connections
alpha

Potrebbero piacerti anche