Top "Kubectl" questions

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

Kubernetes: understanding memory usage for "kubectl top node"

How do I interpret the memory usage returned by "kubectl top node". E.g. if it returns: NAME CPU(cores) …

kubernetes kubectl
How to view logs of failed jobs with kubectl?

I've created a Kubernetes job that has now failed. Where can I find the logs to this job? I'm not …

kubernetes kubectl
Downgrade kubectl version to match minikube k8s version

I started minikube with k8s version 1.5.2 and I would like to downgrade my kubectl so that it is also 1.5.2. …

kubernetes kubectl minikube
The connection to the server localhost:8080 was refused - did you specify the right host or port?

when i am trying to test the configuration of kubectl kubectl get svc i am getting this error: the server …

kubernetes kubectl amazon-eks
Kubernetes - delete all jobs in bulk

I can delete all jobs inside a custer running kubectl delete jobs --all However, jobs are deleted one after another …

kubernetes kubectl
kubectl port forwarding timeout issue

While using kubectl port-forward function I was able to succeed in port forwarding a local port to a remote port. …

kubernetes kubectl
Determine what resource was not found from "Error from server (NotFound): the server could not find the requested resource"

I'm running kubectl create -f notRelevantToThisQuestion.yml The response I get is: Error from server (NotFound): the server could not …

kubernetes kubectl minikube
kubectl run is deprecated - looking for alternative

I'm using kubectl run with environment parameters to create temporary docker containers for me (e.g. some forwarding for debugging …

kubernetes kubectl
How can I determine the current ephemeral-storage usage of a running Kubernetes pod?

How can I tell with kubectl how much ephemeral storage a pod is currently using? In a Kubernetes pod spec, …

kubernetes kubectl disk-access
kubectl apply command does not work, gives connection refused error

when I am trying to setup pod network using the following sudo kubectl apply -f https://docs.projectcalico.org/v3.1/…

kubernetes kubectl