set 3 Flashcards
1
Q
probes can have
A
livenessProbe:
exec:
command:
or
livenessProbe:
httpGet:
path and port
or
livenessProbe:
tcpSocket:
port
initialDelaySeconds: 5 periodSeconds: 5
2
Q
mount configmap to env
A
env -> valuefrom -> configMapKeyRef {key,name}
3
Q
mount configmaps to env
A
envFrom -> configMapRef {name}
4
Q
networkpolicy, allow all egrees but only ingress from nginx deployment
A
policyTypes:
- Ingress
- Egress
egress: {}
ingress:
matchLabels:
app:nginx