Top "Kubectl" questions

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

How can I update a secret on Kubernetes when it is generated from a file?

I've created a secret using kubectl create secret generic production-tls \ --from-file=./tls.key \ --from-file=./tls.crt If I'd like to …

kubernetes kubectl kubernetes-secrets
How do I delete clusters and contexts from kubectl config?

kubectl config view shows contexts and clusters corresponding to clusters that I have deleted. How can I remove those entries? …

kubernetes google-kubernetes-engine kubectl
Kubernetes API - gets Pods on specific nodes

Looking at http://kubernetes.io/docs/user-guide/labels/#selecting-sets-of-nodes it looks to be possible to select a certain range of …

kubernetes kubectl
How to Add Users to Kubernetes (kubectl)?

I've created a Kubernetes cluster on AWS with kops and can successfully administer it via kubectl from my local machine. …

kubernetes kubectl kops
How kubectl port-forward works?

kubectl exposes commands that can be used to create a Service for an application and assigns an IP address to …

kubernetes portforwarding kubectl
kubectl unable to connect to server: x509: certificate signed by unknown authority

i'm getting an error when running kubectl one one machine (windows) the k8s cluster is running on CentOs 7 kubernetes …

ssl kubernetes kubectl
How to fix issue of 'Unable to connect to the server: EOF' Kubernetes - Kubectl

When I try any kubectl command, it always returns: Unable to connect to the server: EOF I followed these tutorials: …

kubernetes kubectl
kubectl get events only for a pod

When I run kubectl -n abc-namespace describe pod my-pod-zl6m6, I get a lot of information about the pod along …

kubernetes kubectl
Failed create pod sandbox: rpc error: code = Unknown desc = NetworkPlugin cni failed to set up pod network

Issue Redis POD creation on k8s(v1.10) cluster and POD creation stuck at "ContainerCreating" Type Reason Age From Message …

kubernetes kubectl kubeadm flannel
Install Google Cloud components error from gcloud command

I am trying to install several GCP components from the gcloud command-line tool and always get the same error: $ gcloud …

google-cloud-platform gcloud kubectl