Creating Pods
Pod manifest file (pod.yaml
):
apiVersion: v1
kind: Pod
metadata:
labels:
run: pod-label
name: pod-name
spec:
containers:
- image: pod-image
name: pod-main-container-name
Apply pod manifest:
$ kubectl apply -f pod.yaml
Task:
There’s a file /opt/practice/web-pod.yaml
. Investigate and deploy it.
Once it’s done, please answer the questions below
Немає коментарів:
Дописати коментар