Top "Kubectl" questions

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

How do you get kubectl to log in to an AWS EKS cluster?

Starting from a ~empty AWS account, I am trying to follow https://docs.aws.amazon.com/eks/latest/userguide/getting-started.…

amazon-web-services kubernetes kubectl amazon-eks
Error while executing and initializing kubeadm

While initializing kubeadm I am getting following errors. I have also tried command kubeadm reset before doing kubadm init. Kubelet …

kubernetes kubectl minikube kubernetes-health-check
Kubernetes version installed by minikube

How to know the kubernetes version that is installed by minikube? I am aware of the kubectl version and the …

kubernetes kubectl minikube
What's the meaning of "READY=2/2" output by command "kubectl get pod $yourpod"

kubectl get pod run-sh-1816639685-xejyk NAME READY STATUS RESTARTS AGE run-sh-1816639685-xejyk 2/2 Running 0 26m What's the meaning of "READY=2/2"? The …

kubernetes kubectl kubelet
User "system:anonymous" cannot get path "/"

I just setup a kubenetes cluster base on this link https://kubernetes.io/docs/setup/independent/create-cluster-kubeadm/#multi-platform I check …

kubernetes kubectl kubeadm
Can I connect one service account to multiple namespaces in Kubernetes?

I have couple of namespaces - assume NS1 and NS2. I have serviceaccounts created in those - sa1 in NS1 …

kubernetes openshift kubectl rbac kubernetes-namespace
Kubectl command to list pods of a deployment in Kubernetes

Is there a way to use kubectl to list only the pods belonging to a deployment? Currently, I do this …

kubernetes kubectl
How to change the schedule of a Kubernetes cronjob or how to start it manually?

Is there a simple way to change the schedule of a kubernetes cronjob like kubectl change cronjob my-cronjob "10 10 * * *"? Or any …

cron kubectl kubernetes
Create user group using RBAC API?

I can't find documentation on how to create user group on Kubernetes with yaml file. I'd like gather some authenticated …

kubernetes rbac kubectl
how to debug evicted pod on k8s

Team, I searched some but could not get much as am new to k8s. my pods are evicted and …

kubernetes kubectl kubelet