Skip to content

Commit 74697b7

Browse files
authored
Fixed broken indentation in pod.yaml
Line 8 of the nginx pod.yaml wasn't indented properly, which caused the following error to occur: Admin:~/environment $ kubectl apply -f pod.yaml error: error converting YAML to JSON: yaml: line 8: did not find expected key Added 2 space indentation to line 8 to fix the yaml.
1 parent 04bea8f commit 74697b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

01-path-basics/103-kubernetes-concepts/readme.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ Each resource in Kubernetes can be defined using a configuration file. For examp
195195
name: nginx-pod
196196
spec:
197197
containers:
198-
- name: nginx
198+
- name: nginx
199199
image: nginx:latest
200200
ports:
201201
- containerPort: 80

0 commit comments

Comments
 (0)