Reputation: 1
Tried to install edgexfoundry installation on microk8s, using below command
microk8s.kubectl apply -f k8s-geneva-redis-no-secty.yml
Getting error: error parsing k8s-geneva-redis-no-secty.yml: error converting YAML to JSON: yaml: line 92: mapping values are not allowed in this context
But the same file used on kubernetis using below command kubectl apply -f k8s-geneva-redis-no-secty.yml, it worked and all the pods were running.
Ref URL:- https://github.com/edgexfoundry/edgex-examples/tree/master/deployment/kubernetes
Any help is highly appreciated.
Upvotes: 0
Views: 95
Reputation: 1
Its working after formatting the .yml file.
Error code:
Updated code:
Upvotes: -1