coreos / container-linux-update-operator

A Kubernetes operator to manage updates of Container Linux by CoreOS
Apache License 2.0
209 stars 49 forks source link

I am getting error while using command (kubectl create -f rs.yaml) ReplicaSet #198

Open waeleethecoolboy111 opened 4 years ago

waeleethecoolboy111 commented 4 years ago

And this is my error:

waleed@waleed-Ubuntu:~/Desktop/Kubernetes$ kubectl create -f rs.yaml error: error parsing rs.yaml: error converting YAML to JSON: yaml: line 7: mapping values are not allowed in this context

and this is my coding in the file

kind: ReplicaSet apiVersion: apps/v1beta2 metadata: name: myrs spec: replicas:5 selector: matchlabels: app: rsexample template: metadata: labels app: spec: container:

lucab commented 4 years ago

This is a generic Kubernetes issue completely unrelated to this repository, possibly due to a malformed manifest. Closing this report and locking it to prevent attracting more unrelated followups.