Top "Kubectl" questions

The Kubernetes command-line tool, kubectl, allows you to run commands against Kubernetes clusters.

kubectl get nodes shows NotReady

I have installed two nodes kubernetes 1.12.1 in cloud VMs, both behind internet proxy. Each VMs have floating IPs associated to …

kubernetes kubectl kubeadm
how to check whether RBAC is enabled, using kubectl

I'm trying to install a helm package on a kubernetes cluster which allegedly has RBAC disabled. I'm getting a permission …

kubernetes kubectl rbac
How do I access this Kubernetes service via kubectl proxy?

I want to access my Grafana Kubernetes service via the kubectl proxy server, but for some reason it won't work …

proxy kubernetes kubectl
Kubernetes : dial tcp 127.0.0.1:8080: connect: connection refused

I've launched kubernetes cluster using kops. It was working find and I started facing the following problem: kubectl get pods …

kubernetes devops kubectl kops
How to pass image pull secret while using 'kubectl run' command?

I am trying to use kubectl run command to pull an image from private registry and run a command from …

kubernetes kubectl
Kubectl : No resource found

I’ve installed ICP4Data successfully. I am pretty green in respect to ICP4Data and Kubernetes. I’m trying …

kubectl ibm-cloud-private cloud-pak-for-data
Kubectl rollout restart for statefulset

As per the kubectl docs, kubectl rollout restart is applicable for deployments, daemonsets and statefulsets. It works as expected for …

kubernetes kubectl kubernetes-statefulset
how to pass environment variable in kubectl deployment?

I am setting up the kubernetes setup for django webapp. I am passing environment variable while creating deployment as below …

kubernetes kubectl
Kubectl error: the object has been modified; please apply your changes to the latest version and try again

I am getting below error while trying to apply patch : core@dgoutam22-1-coreos-5760 ~ $ kubectl apply -f ads-central-configuration.yaml Warning: …

kubernetes kubectl
Kubernetes / kubectl - "A container name must be specified" but seems like it is?

I'm debugging log output from kubectl that states: Error from server (BadRequest): a container name must be specified for pod …

json kubernetes kubectl