Most viewed questions in Kubernetes

0 votes
1 answer

Unable to log into a kubernetes pod

Hey @Ali, Try using Windows Powershell or ...READ MORE

Dec 21, 2018 in Kubernetes by Eric
5,396 views
+2 votes
1 answer

Error in log when trying to create a kubernetes cluster saying 1 node(s) had taints that the pod didn't tolerate.

You get this error when your pod ...READ MORE

Jan 11, 2019 in Kubernetes by Yesha

edited Jun 28, 2019 5,319 views
+1 vote
1 answer

Nginx: 502 Bad Gateway error after deploying redmine in kubernetes cluster.

I have fixed the problem! the issue ...READ MORE

Jul 12, 2019 in Kubernetes by Mehrez Kanzari
5,251 views
0 votes
2 answers

DNS does not resolve with NGINX in Kubernetes

adding to @kalgi's answer Using just the hostname ...READ MORE

Aug 30, 2018 in Kubernetes by Nilesh
• 7,050 points
5,216 views
0 votes
1 answer

"No such host" error when executing kops validate cluster command

You get this error when the cluster ...READ MORE

Oct 17, 2018 in Kubernetes by Kalgi
• 52,360 points
5,208 views
0 votes
1 answer

error: failed to run Kubelet: Running with swap on is not supported, please disable swap! or set --fail-swap-on flag to

Hi@akhtar, To configure Kubernetes Cluster you need to ...READ MORE

Sep 16, 2020 in Kubernetes by MD
• 95,440 points
5,161 views
+4 votes
2 answers
0 votes
1 answer

Does the container restart whenever a secret object is updated (kubectl apply -f mysecret.yml)?

If you are mounting the secret as ...READ MORE

Jul 18, 2019 in Kubernetes by Sirajul
• 59,230 points
5,003 views
+1 vote
1 answer

--image-pull-policy not working in kubernetes

Kubernetes does not automatically update the pods ...READ MORE

Dec 6, 2018 in Kubernetes by DareDev
• 6,890 points
4,995 views
0 votes
3 answers

Kubernetes: How to resize a Persistent Volume?

That issue happened to me when I ...READ MORE

Oct 2, 2019 in Kubernetes by Gon
• 180 points
4,935 views
0 votes
1 answer

Error saying "Failed to request cluster info, will try again" when trying to join the kubernetes cluster

I had faced the same error. Make sure ...READ MORE

Oct 5, 2018 in Kubernetes by Kalgi
• 52,360 points
4,757 views
0 votes
1 answer

error: the server doesn't have a resource type "svc"

Hi@akhtar, You need to update your cluster details ...READ MORE

Jul 9, 2020 in Kubernetes by MD
• 95,440 points
4,739 views
0 votes
1 answer

Unable to get cgroup stats for docker and kubelet services

Try and start kubelet with the following ...READ MORE

Sep 3, 2018 in Kubernetes by DareDev
• 6,890 points
4,714 views
0 votes
1 answer

Error: unknown flag: --bash See 'kubectl exec --help' for usage.

Hi@akhtar, You got this error because you missed ...READ MORE

May 18, 2020 in Kubernetes by MD
• 95,440 points
4,669 views
0 votes
1 answer

Kubernetes:Unable to mount volumes with cloud-provider

Kuberenetes 1.5.0 and 1.5.3 does support cinder. ...READ MORE

Nov 30, 2018 in Kubernetes by DareDev
• 6,890 points
4,564 views
0 votes
1 answer

Error "server misbehaving"

There's no dns setup on kubernetes, try ...READ MORE

Aug 28, 2018 in Kubernetes by Kalgi
• 52,360 points
4,539 views
0 votes
1 answer

Connect to existing pod, execute script, disconnect - Kubernetes cron job

As far as i know there's no ...READ MORE

Sep 17, 2018 in Kubernetes by Kalgi
• 52,360 points
4,515 views
0 votes
2 answers

Difference between a Deployment and a DaemonSet in Kubernetes

Adding to @Rohit's answer, I'll explain about ...READ MORE

Jan 6, 2019 in Kubernetes by Ramya
4,467 views
0 votes
1 answer

How to copy file inside a Pod in Kubernetes?

Hi@akhtar, You need to use the kubectl cp command ...READ MORE

Jul 5, 2020 in Kubernetes by MD
• 95,440 points
4,453 views
0 votes
1 answer

Forcing specific deployments/pods to deploy on master

Tolerations do not guarantee that a pod ...READ MORE

Oct 13, 2018 in Kubernetes by ajs3033
• 7,300 points
4,418 views
0 votes
2 answers

How do I force a pod to run on a specific node?

By default, anti-affinity is not attempted by Kubernetes as ...READ MORE

Aug 6, 2019 in Kubernetes by Sirajul
• 59,230 points
4,397 views
0 votes
1 answer

Kuberentes: How to use ssh secret key file?

Check the official docs here for a ...READ MORE

Jan 24, 2019 in Kubernetes by ajs3033
• 7,300 points
4,345 views
0 votes
1 answer

Delete a cluster created using kops

Deleteing a cluster using kops is very simple. ...READ MORE

Jan 8, 2019 in Kubernetes by Jim
4,324 views
0 votes
1 answer

ssh into the VM for Minikube?

Minikube uses boot2docker as its base image, ...READ MORE

Aug 29, 2018 in Kubernetes by Kalgi
• 52,360 points
4,281 views
0 votes
1 answer

Pods with vloumes using kubectl run

The JSON format you're using to override ...READ MORE

Oct 16, 2018 in Kubernetes by ajs3033
• 7,300 points
4,266 views
0 votes
3 answers

Nginx reverse proxy URL getting rewritten

Hey @Gopi, try your ingress probably like ...READ MORE

Feb 12, 2019 in Kubernetes by Kalgi
• 52,360 points
4,254 views
0 votes
1 answer

What's the difference betweena a deployment and a stateful set?

Both the deployments and replication controllers are ...READ MORE

Oct 3, 2018 in Kubernetes by ajs3033
• 7,300 points
4,221 views
0 votes
1 answer

Rancher vs OpenShift

They both excel in different fields, Rancher ...READ MORE

Mar 28, 2019 in Kubernetes by Ram
4,140 views
0 votes
1 answer

Kubernetes- Jenkins slave node shows offline

TCP port for JNLP slave agent should ...READ MORE

Sep 5, 2018 in Kubernetes by Kalgi
• 52,360 points
4,127 views
0 votes
1 answer

Kubernetes - update ConfigMap programmatically

If you know Python, you can do ...READ MORE

Sep 3, 2018 in Kubernetes by Kalgi
• 52,360 points
4,105 views
0 votes
2 answers

Error saying “Error from server (NotFound): the server could not find the requested resource”

official Documentation says: A client should be skewed ...READ MORE

Sep 19, 2018 in Kubernetes by Nilesh
• 7,050 points
4,095 views
0 votes
1 answer

How can I stop a replicaset from restarting after deleting?

You need to delete the corresponding deployment. ...READ MORE

Dec 31, 2018 in Kubernetes by ajs3033
• 7,300 points
4,068 views
0 votes
1 answer

Forcing ssl for Kubernetes Ingress on GKE

https://github.com/kubernetes/ingress-gce#frontend-https If you want to block http, you ...READ MORE

Sep 6, 2018 in Kubernetes by ajs3033
• 7,300 points
3,981 views
0 votes
1 answer

Pod Status containerCreating

I’m not very sure of this error. ...READ MORE

Sep 25, 2018 in Kubernetes by Kalgi
• 52,360 points
3,921 views
0 votes
1 answer

What happens when a master or worker node fails?

Whenever master node under kubernetes fails, the ...READ MORE

Jul 15, 2019 in Kubernetes by Sirajul
• 59,230 points
3,913 views
0 votes
1 answer

Permission Error while GKE clusterrolebinding for cluster-admin

If your kubeconfig was created automatically by gcloud then ...READ MORE

Sep 3, 2018 in Kubernetes by ajs3033
• 7,300 points
3,909 views
0 votes
1 answer

The connection to the server 192.168.99.101:8443 was refused - did you specify the right host or port?

Hi@akhtar, This error may occur because of network ...READ MORE

May 21, 2020 in Kubernetes by MD
• 95,440 points
3,908 views
0 votes
1 answer

Traefik: Forward Authentication not working

Look at the 7th line of your ...READ MORE

Aug 27, 2018 in Kubernetes by Kalgi
• 52,360 points
3,879 views
0 votes
1 answer

how to test a manifest without actually executing it in kubernetes?

You can use --dry-run flag to test the manifest.  This ...READ MORE

Jul 18, 2019 in Kubernetes by Sirajul
• 59,230 points
3,843 views
0 votes
1 answer

Error saying "The specified bucket does not exist" in kubernetes

Bucket is created in another region. Looks like ...READ MORE

Aug 31, 2018 in Kubernetes by Kalgi
• 52,360 points
3,830 views
0 votes
1 answer

Error during Kubernetes cluster validation - Error listing nodes

Hey @Ali, I had the same error. ...READ MORE

Jan 4, 2019 in Kubernetes by Barbara
3,780 views
0 votes
1 answer

No pods created after launching a DaemonSet

Kubelet service restart won't help you with ...READ MORE

Dec 28, 2018 in Kubernetes by ajs3033
• 7,300 points
3,759 views
0 votes
1 answer

How to create token for worker node in Kubernetes Cluster?

Hi@akhtar, You will get your token when you ...READ MORE

Sep 16, 2020 in Kubernetes by MD
• 95,440 points

edited Oct 6, 2021 by Sarfaraz 3,757 views
0 votes
1 answer

Do not wantthe cron job to restart with failure

you have to set a backoffLimit: 0 in combination ...READ MORE

Sep 18, 2018 in Kubernetes by Kalgi
• 52,360 points
3,713 views
+1 vote
1 answer

Error saying "no matching hosted zone found" when trying to create the cluster

Hey @Hannah, change the create cluster command ...READ MORE

Oct 24, 2018 in Kubernetes by Kalgi
• 52,360 points
3,693 views
0 votes
1 answer

Deserialize Kubernetes YAML file

You need to import _ "k8s.io/client-go/pkg/apis/extensions/install" otherwise the schema ...READ MORE

Sep 4, 2018 in Kubernetes by Kalgi
• 52,360 points
3,642 views
0 votes
1 answer

Environment Variables inside a Cronjob in Kubernetes

Ofcourse you can. Cron job specification is ...READ MORE

Sep 18, 2018 in Kubernetes by Kalgi
• 52,360 points
3,628 views
0 votes
1 answer

Error from server (NotFound): the server could not find the requested resource

Hi@akhatr, The following error might indicate that something ...READ MORE

Jul 16, 2020 in Kubernetes by MD
• 95,440 points
3,618 views
0 votes
1 answer

how to debug a pending pod?

Pending pod cannot be scheduled onto a ...READ MORE

Jul 15, 2019 in Kubernetes by Sirajul
• 59,230 points
3,552 views
0 votes
1 answer

Is it possible for containers within a pod to communicate with each other?

Yes, it is possible for containers to ...READ MORE

Jul 12, 2019 in Kubernetes by Sirajul
• 59,230 points
3,552 views