I wanted to use imperative commands to generate a definition templates. I got permission denied message
Example:
kubectl create deployment redis --image=redis --dry-run=client -o yaml > redis-deployment.yaml
Pls any suggestion.
I wanted to use imperative commands to generate a definition templates. I got permission denied message
Example:
kubectl create deployment redis --image=redis --dry-run=client -o yaml > redis-deployment.yaml
Pls any suggestion.
@Effiok Change directory to your home folder and run the command or use absolute path for the yaml file directing it inside the home folder.
The permission issue you are getting may be for the file copy not for the kubectl command.