Most viewed questions in Kubernetes

+2 votes
1 answer

Error saying "Error: error parsing app-deployment.yaml: error converting YAML to JSON"

This error usually occurs when there's a ...READ MORE

Sep 20, 2018 in Kubernetes by Kalgi
• 52,360 points
9,761 views
0 votes
1 answer

Error saying "No apt package "kubeadm", but there is a snap with that name. Try "snap install kubeadm""

You're getting this error because you do ...READ MORE

Aug 6, 2019 in Kubernetes by Jarvis
9,612 views
+4 votes
3 answers

Kubernetes Dashboard - Token login issue

This might help, it helped me. https://www.edureka.co/community/31282 ...READ MORE

Nov 23, 2018 in Kubernetes by Ali
• 11,360 points
9,552 views
0 votes
1 answer

Error from server (BadRequest): error when creating "secret.yml": Secret in version "v1" cannot be handled as a Secret:

Hi@akhtar, In your secret you can't give data ...READ MORE

May 22, 2020 in Kubernetes by MD
• 95,440 points
9,346 views
0 votes
2 answers

How to rename deployments in Kubernetes

Hey, You can edit or recreate it ...READ MORE

Dec 6, 2018 in Kubernetes by Maverick
• 10,840 points
9,279 views
0 votes
1 answer

How to change default Namespace in Kubernetes?

Hi@akhtar, Kubernetes will automatically create one namespace named ...READ MORE

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

set the timezone in Kubernetes cluster

You can set the timezone of the ...READ MORE

Jul 4, 2019 in Kubernetes by Fawaad
8,922 views
0 votes
1 answer

How to start and stop a cluster on AWS using kops without stopping the instance

Export your KOPS_STAT_STORE variable export KOPS_STATE_STORE=s3://your-bucket-name Get your instances ...READ MORE

Jan 8, 2019 in Kubernetes by Kashish
8,847 views
0 votes
1 answer

error: error parsing pod_pvc.yml: error converting YAML to JSON: yaml: line 11: could not find expected ':'

Hi@akhtar, In yml code, you can't use equals ...READ MORE

May 22, 2020 in Kubernetes by MD
• 95,440 points
8,810 views
0 votes
3 answers

Kubernetes dashboard status-CrashLoopBackOff

I had the same issue, struggled for days. ...READ MORE

Apr 24, 2019 in Kubernetes by Bebo
8,708 views
0 votes
1 answer

Kubernetes cron job call curl in loop

It's a small silly mistake: dollar sign $ should be ...READ MORE

Sep 17, 2018 in Kubernetes by Kalgi
• 52,360 points
8,546 views
0 votes
1 answer

How to edit ConfigMap to add new data?

Hi@MD, You can edit your ConfigMap. Kubectl has ...READ MORE

Aug 31, 2020 in Kubernetes by akhtar
• 38,230 points
8,453 views
0 votes
2 answers

Kubernetes Ingress running behind nginx reverse proxy

You need an ingress as mentioned by ...READ MORE

Sep 10, 2018 in Kubernetes by Hannah
• 18,570 points
8,116 views
+2 votes
5 answers

Change parameter values while implementing helm chart

You can use helm upgrade --reuse-values --set ingress.enabled=false or ...READ MORE

Jul 25, 2018 in Kubernetes by Kalgi
• 52,360 points
8,030 views
0 votes
1 answer
0 votes
1 answer

having a pod with two containers, can i ping each other using the container name?

Containers on same pod act as if ...READ MORE

Jul 19, 2019 in Kubernetes by Sirajul
• 59,230 points
7,877 views
0 votes
1 answer

kubectl info: exec: fork/exec /usr/local/bin/kubectl: exec format error

Hi@akhtar, The most common reason for this error ...READ MORE

May 19, 2020 in Kubernetes by MD
• 95,440 points
7,822 views
+1 vote
1 answer

Is there any other way to update the config map for deployment without having to restart the pod?

Well, you need to have some way ...READ MORE

Jul 19, 2019 in Kubernetes by Sirajul
• 59,230 points
7,778 views
0 votes
1 answer

Ingress nginx loading resource 404 in kubernetes

This is not a routing problem on ...READ MORE

Sep 10, 2018 in Kubernetes by Kalgi
• 52,360 points
7,677 views
0 votes
1 answer

How to share secret across namespaces in Kubernetes?

Hi@akhtar, You will have to create the secret ...READ MORE

Oct 21, 2020 in Kubernetes by MD
• 95,440 points
7,577 views
0 votes
1 answer

Increasing the shm size of a kubernetes container

You cannot achieve this in kubernetes pod. READ MORE

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

What happens when a pod exceeds its memory limit?

Whenever a pod exceeds its memory limit ...READ MORE

Jul 19, 2019 in Kubernetes by Sirajul
• 59,230 points
7,392 views
0 votes
2 answers

Restart pods when configmap updates in Kubernetes?

Use Deployments, and consider your ConfigMaps to ...READ MORE

Aug 31, 2018 in Kubernetes by Nilesh
• 7,050 points
7,351 views
0 votes
1 answer

Minikube:Exposing mysql as a service on localhost

You can create services without selector in ...READ MORE

Oct 13, 2018 in Kubernetes by DareDev
• 6,890 points
7,260 views
0 votes
1 answer

Error from server (BadRequest): container "mysql-con" in pod "mysql" is waiting to start: CreateContainerConfigError

Hi@akhtar, In above code, you have used secret ...READ MORE

May 22, 2020 in Kubernetes by MD
• 95,440 points
7,206 views
0 votes
1 answer
0 votes
1 answer

Kubernetes: Unable to get services in namespace: logs"system:serviceaccount:default:default"

Your approach is wrong here. Namespace is ...READ MORE

Oct 27, 2018 in Kubernetes by ajs3033
• 7,300 points
7,147 views
+6 votes
1 answer

Web UI (Dashboard): https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/

Hey @nmentityvibes, you seem to be using ...READ MORE

Dec 13, 2018 in Kubernetes by Kalgi
• 52,360 points
7,115 views
0 votes
1 answer

Can i configure my kubernetes pod to use multiple service accounts ?

A service account provides an identity for ...READ MORE

Jul 17, 2019 in Kubernetes by Sirajul
• 59,230 points
7,081 views
0 votes
1 answer

Error "the number of available CPUs 1 is less than the required 2" when creating kubernetes cluster on ec2

The new version of Kubernetes requires you ...READ MORE

Aug 6, 2019 in Kubernetes by Macy
7,009 views
0 votes
1 answer

Disable SSL redirect for Kubernetes NGINX ingress

Adding ingress.kubernetes.io/ssl-redirect: "false" to annotations will disable the SSL redirect: apiVersion: extensions/v1beta1 kind: ...READ MORE

Sep 12, 2018 in Kubernetes by Kalgi
• 52,360 points
6,968 views
0 votes
1 answer

Kubernetes ingress unhealthy backend

Add a readinessProbe(copy your livenessProbe). It's explained ...READ MORE

Jan 16, 2019 in Kubernetes by DareDev
• 6,890 points
6,926 views
0 votes
1 answer

No Declared merge key error when trying to modify a deployment in Kubernetes

I see you have a section in ...READ MORE

Jan 4, 2019 in Kubernetes by Kim
6,892 views
0 votes
2 answers

How do I update all my pods if the image is changed but the tag is the same?

since K8s 1.15 kubectl rollout restart do the ...READ MORE

Jul 24, 2020 in Kubernetes by Mathieu V
6,812 views
0 votes
3 answers

Change the schedule of Kubernetes cron job

kubectl patch <backup-cronjob> -p '{"spec":{"schedule": "0 0 ...READ MORE

Jun 21, 2019 in Kubernetes by sudhams reddy duba
6,691 views
0 votes
1 answer

Dashboard Pod status pending

It’s not able to schedule anything because ...READ MORE

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

how to scale a statefulset in kubernetes?

Scaling StatefulSets : Use kubectl to scale StatefulSets First, ...READ MORE

Jul 23, 2019 in Kubernetes by Sirajul
• 59,230 points
6,675 views
0 votes
1 answer

How to run Kubectl exec command to login inside a Pod?

Hi Guys, You can use the below-given command ...READ MORE

Jun 8, 2020 in Kubernetes by MD
• 95,440 points
6,444 views
0 votes
1 answer

Error saying "Error during WebSocket handshake: Unexpected response code: 400"

 you should use annotation with the name ...READ MORE

Oct 1, 2018 in Kubernetes by Kalgi
• 52,360 points
6,417 views
0 votes
3 answers

Retry pull image in a kubernetes pod

If the Pod is part of a ...READ MORE

Aug 29, 2018 in Kubernetes by Hannah
• 18,570 points
6,262 views
0 votes
1 answer

Kubernetes nodes crashing due to DiskPressure

From the ll find that DiskPressure raises when: According to ...READ MORE

Oct 27, 2018 in Kubernetes by DareDev
• 6,890 points
6,254 views
+2 votes
2 answers

Kubernetes Pods in Pending State

Hey @Shyam, you get this error because ...READ MORE

Oct 31, 2018 in Kubernetes by Kalgi
• 52,360 points
6,240 views
+4 votes
1 answer

Installing Web UI (Dashboard):kubernetes-dashboard on main Ubuntu 16.04.6 LTS (Xenial Xerus) server

Follow these steps: $ kubeadm reset $ kubeadm init ...READ MORE

Apr 12, 2019 in Kubernetes by Kalgi
• 52,360 points

reshown Apr 12, 2019 by Kalgi 6,153 views
0 votes
1 answer
0 votes
4 answers

Kubernetes dashboard not showing up outside

In dashboard yaml, change cluster ip to ...READ MORE

Mar 20, 2019 in Kubernetes by anonymous
6,055 views
0 votes
1 answer

image can't be pulled error when I try to pull a docker image - kubernetes

I think the image is being pulled ...READ MORE

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

Kubernetes: Can we use multiple claims out of a persistent volume?

The mapping between persistentVolume and persistentVolumeClaim is ...READ MORE

Jul 16, 2019 in Kubernetes by Sirajul
• 59,230 points
5,631 views
0 votes
1 answer

Re-pulling image in kubernetes

There are only two scenarios when kubernetes ...READ MORE

Jan 9, 2019 in Kubernetes by ajs3033
• 7,300 points
5,625 views
0 votes
1 answer

Error in syncing pod - Kubernetes

You are getting this error because all you're ...READ MORE

Jan 4, 2019 in Kubernetes by Layla
5,577 views