Most answered questions in Kubernetes

+3 votes
5 answers

Is accessing kubernetes dashboard remotely possible?

Yes it is possible by using NodePort ...READ MORE

Mar 9, 2020 in Kubernetes by Ali
• 160 points
46,175 views
0 votes
5 answers

Kubernets cluster pod stays in pending state

I had the same issue. I spent ...READ MORE

May 3, 2019 in Kubernetes by Kashish
20,520 views
+2 votes
5 answers

Restarting nodes on kubernetes as the node status shows unknown

I had a similar issue, but mine ...READ MORE

Oct 23, 2018 in Kubernetes by Zans
19,814 views
0 votes
5 answers

Error saying "Unable to connect to the server: x509: certificate signed by unknown authority"

export KUBECONFIG=/etc/kubernetes/admin.conf READ MORE

Jul 27, 2019 in Kubernetes by aneesh ansari
35,068 views
+1 vote
5 answers

"Unable to locate package" error while installing kubelet, kubeadm, kubectl

Work around 1 :  log in as ...READ MORE

Oct 25, 2018 in Kubernetes by Lakshmi Narayana ( L N )
20,546 views
0 votes
5 answers

Kubernetes ingress kepps returning 502 server error

I have added "/" endpoints in each ...READ MORE

May 6, 2019 in Kubernetes by Oishi
12,266 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,020 views
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,033 views
+2 votes
4 answers

Kubernetes cluster pod status EVICTED

I learned this the hard way, but ...READ MORE

Jan 22, 2019 in Kubernetes by Lyndon
27,394 views
+1 vote
4 answers

Execute shell script file using kubernetes as a cron job

use /bin/sh instead of /bin/bash This solved it ...READ MORE

May 7, 2019 in Kubernetes by Sid
17,053 views
0 votes
4 answers

"Layer already exists " when trying to push an image

I had a similar error. I hadn't ...READ MORE

Apr 23, 2019 in Kubernetes by Kalyan
49,366 views
+1 vote
4 answers

Can I set ulimit for containers in k8s?

You can either modify them via UserData ...READ MORE

May 7, 2019 in Kubernetes by Inayat
17,691 views
+7 votes
4 answers

How are ClusterIP, NodePort and LoadBalancer different from each other?

ClusterIP ClusterIP accesses the services through proxy. ClusterIP ...READ MORE

Sep 10, 2018 in Kubernetes by Nilesh
• 7,050 points
22,952 views
+1 vote
4 answers

Kubernetes- HTTPS API return `Unauthorized`

One way to do this is by ...READ MORE

Sep 5, 2018 in Kubernetes by u_told_me_to
2,416 views
+3 votes
4 answers
+5 votes
4 answers

local docker image on minikube

I know this is an old question ...READ MORE

Feb 1, 2020 in Kubernetes by anonymous
24,442 views
+1 vote
4 answers

Updating kubernetes configmap/secret without removing the existing one

You can use edit for small changes ...READ MORE

Apr 24, 2019 in Kubernetes by Vinayak
13,296 views
0 votes
4 answers

minikube start is giving OS Type not recognized

I had the same issue. i had ...READ MORE

Apr 30, 2019 in Kubernetes by Lisa
2,458 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,230 views
0 votes
3 answers

Can I internally route from AWS to GCP - Kubernetes

Hey @Kali, you can use Ingress for ...READ MORE

Feb 8, 2019 in Kubernetes by Kim
668 views
+2 votes
3 answers

Calico-kube-controllers and coredns are in Pending status and not coming to Running State

root@kmaster:/home/master# kubectl get pods -o wide --all-namespaces NAMESPACE  ...READ MORE

Apr 2, 2019 in Kubernetes by TechnologyExist
• 160 points
10,298 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,926 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,504 views
+1 vote
3 answers

"400 bad request-The plain http request was sent to https port" nginx

If you check your config file, it ...READ MORE

Apr 30, 2019 in Kubernetes by Vaidya
34,158 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,656 views
0 votes
3 answers

kubectl get ing gives no address in kubernetes ingress

 I had the same problem and I ...READ MORE

Apr 24, 2019 in Kubernetes by Chris
27,117 views
+2 votes
3 answers

Error while doing kubernetes-init command

The reason that it mentions the port ...READ MORE

Sep 6, 2018 in Kubernetes by Kalgi
• 52,360 points
23,624 views
0 votes
3 answers

Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) while setting up kubernetes

Execute these three commands: sudo rm /var/lib/apt/lists/lock sudo rm ...READ MORE

Nov 27, 2018 in Kubernetes by Maverick
• 10,840 points
1,454 views
0 votes
3 answers

Error while setting up kubernetes

echo "1" > /proc/sys/net/bridge/bridge-nf-call-iptables READ MORE

May 16, 2019 in Kubernetes by sivashankar
16,280 views
0 votes
3 answers

Request Kubernetes API server

Create a api wrapper. This way you ...READ MORE

Aug 31, 2018 in Kubernetes by Hannah
• 18,570 points
1,184 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,238 views
0 votes
3 answers

Using multiple commands in a kubernetes yaml file

Try something like this: containers: - name: ...READ MORE

Apr 23, 2019 in Kubernetes by lyza
48,939 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,694 views
0 votes
2 answers

Unable to connect to the server: x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error"

mkdir -p $HOME/.kube sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config sudo ...READ MORE

Sep 30, 2020 in Kubernetes by Muhammad Badi uz Zaman
43,205 views
0 votes
2 answers

Generally how many nodes will be running in a kubernetes cluster?

Kubernetes latest version 1.17 supports 5000 nodes ...READ MORE

Feb 19, 2020 in Kubernetes by Raj
1,415 views
0 votes
2 answers

How to recover pods data if you lose them?

POD does t maintain state and when ...READ MORE

Feb 15, 2020 in Kubernetes by RR
2,538 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,370 views
0 votes
2 answers

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

Make sure your imagePullPolicy is set to Always(this is the ...READ MORE

Aug 6, 2019 in Kubernetes by Sirajul
• 59,230 points
3,113 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,793 views
+2 votes
2 answers

Difference between a replica set and replication controller

Olaaa Jinu! Replica set and replication controller - ...READ MORE

Dec 19, 2019 in Kubernetes by Kalgi
• 52,360 points
25,205 views
0 votes
2 answers

Node unable to join cluster - saying token expired

@Eric's answer is on point. There's another ...READ MORE

Jan 16, 2019 in Kubernetes by Keshav
2,456 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,455 views
0 votes
2 answers

" apt-get install -y kubelet kubeadm kubectl" giving error

apt-get install -y kubelet kubeadm kubectl kubernetes-cni READ MORE

Sep 11, 2020 in Kubernetes by anonymous
9,932 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,259 views
0 votes
2 answers

Kubernetes error: You must be logged in to the server (the server has asked for the client to provide credentials

You probably missed the --client-ca-file flag in ...READ MORE

May 4, 2019 in Kubernetes by Aysha
16,336 views
+4 votes
2 answers
0 votes
2 answers

Error while installing curl on ubuntu

This might help https://www.edureka.co/community/18638/resource-tempo ...READ MORE

Nov 23, 2018 in Kubernetes by Harsha
1,208 views
0 votes
2 answers

Can a PVC be bound to a specific PV?

apiVersion: "v1" kind: "PersistentVolumeClaim" met ...READ MORE

Mar 3, 2020 in Kubernetes by anonymous
2,892 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,203 views
0 votes
2 answers

How to create ssh public key that is required to create kubernetes cluster in AWS

Duplicate of https://www.edureka.co/community/26673/error-saying-publi ...READ MORE

Oct 24, 2018 in Kubernetes by krishti
2,096 views