You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i got error when i try this
3) user@host:~/kubernetes$ kubectl create -f ./skydns.yaml
error validating "./skydns.yaml": error validating data: [unexpected type: object, unexpected type: object, unexpected type: object, unexpected type: object, unexpected type: object, unexpected type: object, unexpected type: object, unexpected type: object, unexpected type: object, unexpected type: object, unexpected type: object]; if you choose to ignore these errors, turn validation off with --validate=false
then i did
4) user@host:~/kubernetes$ kubectl create -f ./skydns.yaml --validate=false
replicationcontroller "kube-dns-v10" created
service "kube-dns" created
Am i going in correct way ?
if not then how to fix this issue (without using --validate=false flag)?
The text was updated successfully, but these errors were encountered:
my host OS ubuntu 16.04, i followed docs
1)http://kubernetes.io/docs/getting-started-guides/docker/
then
2) http://kubernetes.io/docs/getting-started-guides/docker-multinode/deployDNS/
i got error when i try this
3) user@host:~/kubernetes$ kubectl create -f ./skydns.yaml
error validating "./skydns.yaml": error validating data: [unexpected type: object, unexpected type: object, unexpected type: object, unexpected type: object, unexpected type: object, unexpected type: object, unexpected type: object, unexpected type: object, unexpected type: object, unexpected type: object, unexpected type: object]; if you choose to ignore these errors, turn validation off with --validate=false
then i did
4) user@host:~/kubernetes$ kubectl create -f ./skydns.yaml --validate=false
replicationcontroller "kube-dns-v10" created
service "kube-dns" created
Am i going in correct way ?
if not then how to fix this issue (without using --validate=false flag)?
The text was updated successfully, but these errors were encountered: