KUBERNETES Flashcards

(8 cards)

1
Q

¿Para qué sirve kubectl?

A

Para gestionar un clúster de Kubernetes.

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

¿Cómo aplicar un YAML en modo declarativo?

A

kubectl apply -f fichero.yaml

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

¿Cómo crear recursos en modo imperativo?

A

kubectl create -f fichero.yaml

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

¿Cómo crear un pod sin YAML?

A

kubectl run nombre –image=imagen –port=puerto

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

¿Cómo listar pods en ejecución?

A

kubectl get pods

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

¿Cómo ver detalles de un pod?

A

kubectl describe pod nombrePod

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

¿Cómo ver nodos del clúster?

A

kubectl get nodes

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

¿Cómo ver logs de un pod?

A

kubectl logs nombrePod

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