I have difficulties in composing an image using kubectl

9/10/2020

Please find the following image. I have typed kubectl apply -k directory but there is error regarding root path.

I hope someone can help. Is it only able to be deployed in Azure environment?

enter image description here

If I typed kubectl -f xxx.yaml file. The yaml is found but still error. Sorry I unable to reproduce the problem exists in kubelet once i started the minikube.

-- riani witania satiajaya
kubectl
kubernetes

1 Answer

9/10/2020

Use -f to specify A yaml file.

-- Chayne P. S.
Source: StackOverflow