Closed jamesbuckett closed 7 years ago
Updated the manifest files as follows.
Incorrect indentation.
apiVersion: v1
kind: Pod
metadata:
name: kuard
spec:
containers:
- image: gcr.io/kuar-demo/kuard-amd64:1
name: kuard
ports:
- containerPort: 8080
name: http
protocol: TCP
Manifest now load correctly.
pod "kuard" created
kuard Pods
NAME READY STATUS RESTARTS AGE IP NODE
kuard 1/1 Running 0 4m 172.17.0.4 minikube
Trying to execute
kubectl create -f 5-1-kuard-pod.yaml
Error on minikube
Error on kubeadm
kubectl version