Top "Kubectl" questions

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

How to tail all logs in a kubernetes cluster

I tried this command: kubectl logs --tail I got this error/help output: Error: flag needs an argument: --tail Aliases: …

kubernetes kubectl amazon-eks
Openshift Configmap : create and update command

I am writing sample program to deploy into Openshift with configmap. I have the following configmap yaml in the source …

openshift kubectl openshift-client-tools openshift-online
Kubernetes assign pods to pool

is there a way to tell kubectl that my pods should only deployed on a certain instance pool? For example: …

kubernetes gcloud kubectl
Unable to connect to the server: dial tcp: lookup <Server Location>: no such host

I'm beginning to build out a kubernetes cluster for our applications. We are using Azure for cloud services, so my …

azure powershell kubernetes kubectl azure-aks
kubernetes configmap set from-file in yaml configuration

how can I describe this command in yaml format? kubectl create configmap somename --from-file=./conf/nginx.conf I'd expect to …

kubernetes google-cloud-platform kubectl google-kubernetes-engine
How do I use kubectl via an ssh tunnel to access my internal ELB over my kubernetes API?

I want to create a kubernetes cluster using KOPS that uses a private topology completely (all master/worker nodes are …

kubernetes kubectl ssh-tunnel kops
How can I find the list of field selectors supported by kubectl for a given resource type?

I've recently learned about kubectl --field-selector flag, but ran into errors when trying to use it with various objects. For …

kubernetes kubectl
Connecting to existing EKS cluster using kubectl or eksctl

I have created one kubernetes cluster on EKS. I used eksctl create cluster to create the cluster. I am able …

kubectl amazon-eks eksctl
which token to use for kubernetes-dashboard login with Google cloud platform

I'm using Google cloud platform and Kubernetes. I'm trying to find out which token should I use in order to …

kubernetes gcp kubectl kubernetes-dashboard
Kubernetes calico node CrashLoopBackOff

While there are some questions just like mine out there, the fixes do not work for me. I'm using the …

kubernetes kubectl kubeadm calico