69564/error-unknown-flag-bash-see-kubectl-exec-help-for-usage
Hi Guys,
I am trying to go inside my pod using exec command, but it shows me the below error.
$ kubectl exec -it jenkins-79d5f557df-k92zd --bash Error: unknown flag: --bash See 'kubectl exec --help' for usage.
How can I solve this error?
Hi@akhtar,
You got this error because you missed one space before bash in your command. Use this below given command.
$ kubectl exec -it jenkins-79d5f557df-k92zd -- bash
Hope this will help.
Update the cluster.yaml, changing the line kubernetesVersion: v1.6.6_coreos.1 to kubernetesVersion: v1.7.10_coreos.0 Should ...READ MORE
You are missing a CPU request on ...READ MORE
If your kubeconfig was created automatically by gcloud then ...READ MORE
In the Dockerfile, you need to export ...READ MORE
Hey @nmentityvibes, you seem to be using ...READ MORE
When you use docker-compose down, all the ...READ MORE
Try using ingress itself in this manner except ...READ MORE
Hi Kalgi after following above steps it ...READ MORE
Hi@akhtar, The most common reason for this error ...READ MORE
Hi@akhtar, It seems that in your pod bash ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.