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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

mount configmap to env

A

env -> valuefrom -> configMapKeyRef {key,name}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

mount configmaps to env

A

envFrom -> configMapRef {name}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

networkpolicy, allow all egrees but only ingress from nginx deployment

A

policyTypes:
- Ingress
- Egress
egress: {}
ingress:
matchLabels:
app:nginx

How well did you know this?
1
Not at all
2
3
4
5
Perfectly