Most viewed questions in Kubernetes

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,336 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,936 views
+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,168 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,176 views
0 votes
1 answer

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

Hi@akhtar, You may get this error if Kubectl ...READ MORE

Jun 6, 2020 in Kubernetes by MD
• 95,440 points
40,497 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,057 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,154 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,387 views
0 votes
1 answer

Set volume mount user group and file permissions in kubernetes

There's a setting in Pod Security Context ...READ MORE

Jan 16, 2019 in Kubernetes by ajs3033
• 7,300 points
27,308 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,109 views
+3 votes
4 answers
+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,200 views
+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,436 views
0 votes
2 answers

Error saying "no endpoints available for service \"kubernetes-dashboard\" while getting the dashboard up

Not able to access dashboard it says:  { ...READ MORE

Jan 10, 2019 in Kubernetes by vishal
24,190 views
0 votes
1 answer

Code error 403 when trying to access Kubernetes cluster

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

Jan 4, 2019 in Kubernetes by Kabeer
23,891 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,611 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,946 views
0 votes
1 answer

How to uninstall Kubernetes completely?

Hi Akhtar, You can follow the below steps ...READ MORE

Oct 6, 2020 in Kubernetes by MD
• 95,440 points
21,369 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,528 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,515 views
0 votes
1 answer

Error: config Map volume mount read-only file system error

ConfigMaps are always mounted read-only. If you need ...READ MORE

Jul 18, 2019 in Kubernetes by Sirajul
• 59,230 points
19,999 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,807 views
0 votes
2 answers

Using a local image to create a pod in K8s

I'm not sure but you can try ...READ MORE

Apr 29, 2019 in Kubernetes by Vishaka
19,297 views
0 votes
1 answer
0 votes
1 answer

What is pod affinity and node affinity?

Node Affinity ensures that pods are hosted ...READ MORE

Jul 17, 2019 in Kubernetes by Sirajul
• 59,230 points
18,598 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,679 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,046 views
+2 votes
0 answers

The connection to the server localhost:8080 was refused

$ kubectl get svc The connection to the ...READ MORE

Aug 8, 2019 in Kubernetes by Lakshminarayanan
16,944 views
0 votes
1 answer

How to install HELM in Windows?

Hi@akhtar, You can follow the below-given steps to ...READ MORE

Jul 6, 2020 in Kubernetes by MD
• 95,440 points
16,594 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,328 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,276 views
+2 votes
1 answer

error: no configuration has been provided, try setting KUBERNETES_MASTER environment variable

Hi@akhtar, When you try to connect your kubernetes ...READ MORE

May 19, 2020 in Kubernetes by MD
• 95,440 points
16,189 views
0 votes
1 answer

Error: there is no need to specify a resource type as a separate argument when passing arguments in resource/name form

Hi, You don't need to pass any argument ...READ MORE

Oct 6, 2020 in Kubernetes by MD
• 95,440 points
14,298 views
0 votes
1 answer

Difference between kubectl apply and kubectl create?

These are two very different approaches. kubectl ...READ MORE

Sep 11, 2018 in Kubernetes by ajs3033
• 7,300 points
14,176 views
0 votes
1 answer

What's the difference between kubernetes load balancer and ingress controller?

Load Balancer: So Kubernetes LoadBalancer just points ...READ MORE

Jan 4, 2019 in Kubernetes by DareDev
• 6,890 points
13,508 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,288 views
0 votes
2 answers

keep container running on Kubernetes

Try using this CMD in your Dockerfile: CMD exec /bin/bash ...READ MORE

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

Kubernetes Error "1 node(s) had taints that the pod didn't tolerate." [closed]

Hey @Sitara, check if all your pods ...READ MORE

Jun 27, 2019 in Kubernetes by Jazz
12,963 views
0 votes
2 answers

kubernetes service external ip pending

If you are not using GCE or ...READ MORE

Aug 31, 2018 in Kubernetes by Nilesh
• 7,050 points
12,323 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,260 views
0 votes
1 answer

Error saying: no service with name kube-system/default-http-backend found

I’ve got an example that worked fine ...READ MORE

Sep 12, 2018 in Kubernetes by Kalgi
• 52,360 points
11,755 views
0 votes
2 answers

Deny access to some specific paths while using kubernetes ingress

Try to create two Ingresses first by default ...READ MORE

Sep 21, 2018 in Kubernetes by Nilesh
• 7,050 points
11,530 views
0 votes
2 answers

"aws: error: argument --region: expected one argument" when running Kubernetes on AWS

You seem pretty confused with AZ and ...READ MORE

Oct 4, 2018 in Kubernetes by Priyaj
• 58,090 points
11,121 views
0 votes
0 answers

[kubelet-check] Initial timeout of 40s passed.

Hello,           I'm getting and error message while ...READ MORE

Aug 6, 2019 in Kubernetes by nmentityvibes
• 420 points

edited Aug 6, 2019 by Kalgi 10,534 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,290 views
0 votes
2 answers

Is there a way to start a cron job manually

You can create a simple job based ...READ MORE

Sep 18, 2018 in Kubernetes by Nilesh
• 7,050 points
10,215 views
0 votes
1 answer

Do Cert-Manager in Kubernetes automatically renew the certificate after expiration? Pls tell me.

Yes, It will renew them automatically. cert-manager is ...READ MORE

Feb 3, 2020 in Kubernetes by Sirajul
• 59,230 points
10,092 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,922 views
+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,737 views
0 votes
1 answer

How to uninstall minikube in windows?

Hi@akhtar, You can use the below-given commands to ...READ MORE

Jul 27, 2020 in Kubernetes by MD
• 95,440 points
9,726 views