Most viewed questions in Kubernetes

0 votes
1 answer

How do i change the default StorageClass ?

Simply deleting the default StorageClass may not ...READ MORE

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

Kubernetes error syncing pod

The issue caused by the docker container ...READ MORE

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

What is the difference between config map and secret in kubernetes?

Config maps ideally stores application configuration in ...READ MORE

Jul 17, 2019 in Kubernetes by Sirajul
• 59,230 points
3,468 views
0 votes
2 answers

Error saying "SSH public key must be specified when running with aws" when trying to create the cluster

You need to create the public key ...READ MORE

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

How to rewrite all non-www traffic to www subdomain?-kubernetes ingress

The ingress.kubernetes.io/rewrite-target is used for rewriting the request URI, ...READ MORE

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

Pod status not ready always - kubernetes

I was having the same issue. In the ...READ MORE

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

Kubernetes: How do i initiate rollback for an application ?

Rollback and rolling updates are a feature ...READ MORE

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

How to install kubectl in Linux system?

Hi@akhtar, Kubectl is a program that connects your ...READ MORE

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

what is the impact of uprading kubelet if we leave the pods on the worker nodes?

Restarting kubelet, which has to happen for ...READ MORE

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

Cannot connect unix:///var/run/docker.sock in kubernetes using GitLab CI runner

Do not use this: DOCKER_DRIVER: overlay because OVERLAY is ...READ MORE

Oct 16, 2018 in Kubernetes by DareDev
• 6,890 points
3,265 views
+5 votes
2 answers

Redirecting host to service path in kubernetes

What you are trying to do is ...READ MORE

Mar 27, 2018 in Kubernetes by DragonLord999
• 8,450 points
3,185 views
0 votes
1 answer

kubelet, minikube Back-off restarting failed container

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

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

[preflight] WARNING: ebtables not found in system path

Hi@akhtar, you may be missing ebtables, ethtool, or a similar ...READ MORE

Jul 16, 2020 in Kubernetes by MD
• 95,440 points
3,139 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,128 views
+1 vote
1 answer

Can pods mount NFS volume?

Yes, there's an example here of both ...READ MORE

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

How to forward port '8080 (container)->8080 (service)-> 8080 (ingress)->80 (browser)'?

The ingress is exposing port 80 externally ...READ MORE

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

Could not find default credentials

Use gcloud auth application-default login to login for application ...READ MORE

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

* spec.accessModes: Required value: at least 1 access mode is required

Hi@akhtar, To create persistent volume, you have to ...READ MORE

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

How to deploy an Elasticsearch Cluster with Helm?

Hi@akhtar, You need to download the helm repo ...READ MORE

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

Error: UPGRADE FAILED: failed to create resource: namespaces "pr-1627-app " not found

Hi@akhtar, This usually happens when the state of ...READ MORE

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

"no such file or directory" error while executing yaml file as a cron job

When you get errors like these, you ...READ MORE

Sep 18, 2018 in Kubernetes by Kalgi
• 52,360 points
2,954 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,912 views
0 votes
1 answer

Difference between deploying apps on hosts and container

The left side architecture represents deploying applications ...READ MORE

Apr 17, 2019 in Kubernetes by Sahit
2,882 views
0 votes
1 answer

Error "Target packages is configures multiple times in /etc/apt/sources.list:60 "

Check your /etc/spt/sources.list and /etc/apt/sources.d/kubernetes.list. You might have ...READ MORE

Aug 6, 2019 in Kubernetes by Janice
2,868 views
0 votes
1 answer

Is possible to have same k8s service for multiple pods?

Reserve a static IP and then assign ...READ MORE

Jul 20, 2018 in Kubernetes by Kalgi
• 52,360 points
2,840 views
+1 vote
1 answer

set up kubernetes NGINX ingress in AWS with SSL termination

Try using ingress itself in this manner except ...READ MORE

Oct 10, 2018 in Kubernetes by Kalgi
• 52,360 points
2,838 views
0 votes
1 answer

How to fail a (cron) job after a certain number of retries?

You're trying to set 3 asbackoffLimit of your Job. ...READ MORE

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

Kubernetes Ingress controllers for wildcard url mapping

If you use the stock controllers you ...READ MORE

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

When I try to connect to the WebSocket through the gateway I get a 403 error

Try upgrading Contour to v0.6.0-beta.3 with IngressRoute You can ...READ MORE

Oct 1, 2018 in Kubernetes by Kalgi
• 52,360 points
2,784 views
0 votes
1 answer

kubectl giving error saying path nor exist or TLS handshake timeout error

As I can see from the console ...READ MORE

Dec 20, 2018 in Kubernetes by Eric
2,713 views
0 votes
1 answer

Error while installing minikube on Ubuntu

Hey @Layla, Try running minikube without the ...READ MORE

Feb 22, 2019 in Kubernetes by Kyraa
2,712 views
0 votes
1 answer

What is the difference between running Kubernetes on Minikube and running it locally?

There is no difference between running a ...READ MORE

Feb 23, 2019 in Kubernetes by Yamini
2,668 views
0 votes
1 answer

Kubernetes endpoints showing "ServiceUnavailable"

Those URLs are incomplete. Influx's ports are ...READ MORE

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

Using local docker images with Minikube

You can reuse the Docker daemon from ...READ MORE

Jan 3, 2019 in Kubernetes by ajs3033
• 7,300 points
2,630 views
0 votes
1 answer

Error while installing Kubernetes using snap

Don't install using snap. It throws a ...READ MORE

Aug 6, 2019 in Kubernetes by Harshit
2,622 views
+1 vote
1 answer

Unable to access kubernetes dashboard

You’re trying to access a private IP. ...READ MORE

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

DeamonSet pod not scheduling on Master Node

Ever since kubernetes 1.6, DaemonSets are not ...READ MORE

Sep 14, 2018 in Kubernetes by DareDev
• 6,890 points
2,608 views
0 votes
2 answers

Recover kops Kubernetes cluster

Adding to @hannah's answer, you need to do one ...READ MORE

Oct 23, 2018 in Kubernetes by Kalgi
• 52,360 points
2,589 views
0 votes
1 answer

How do I get client IP addressed from HTTP requests in kubernetes services?

Kube-proxy can get out of the loop ...READ MORE

Sep 11, 2018 in Kubernetes by DareDev
• 6,890 points
2,571 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,554 views
0 votes
1 answer

Configure a Kubernetes-pod to use persistent volume for storage.

The output shows that the PersistentVolume has ...READ MORE

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

Pods stuck in terminating state after deleting ReplicationController

Delete the pods by FORCE, You should.<(-.-)> kubectl ...READ MORE

Jan 4, 2019 in Kubernetes by ajs3033
• 7,300 points
2,498 views
+1 vote
1 answer

Getting kubernetes ingress endpoint

Whatever you've done so far is correct ...READ MORE

Sep 21, 2018 in Kubernetes by Kalgi
• 52,360 points
2,498 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,486 views
0 votes
1 answer

How to connect local kubernetes minikube cluster to jenkins pipeline...?

Hi@Moonty, To connect your Minikube, you have to ...READ MORE

Aug 26, 2020 in Kubernetes by MD
• 95,440 points
2,485 views
0 votes
1 answer

Exposing kubernetes app using AWS Elastic LoadBalancer

Hey @Gopi,  Try creating a LoadBalancer pod maybe ...READ MORE

Jan 31, 2019 in Kubernetes by Kalgi
• 52,360 points
2,480 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,470 views
0 votes
1 answer

Running a heterogeneous kubernetes cluster with nodes running in different network using VPN

There is an issue with networking between ...READ MORE

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

Kubernetes: Insufficient CPU's and MatchNodeSelector in Openshift.

That error message does not mean that ...READ MORE

Sep 7, 2018 in Kubernetes by ajs3033
• 7,300 points
2,448 views