Most voted questions in Kubernetes

0 votes
1 answer
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,396 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,230 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,174 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,845 views
0 votes
1 answer
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,044 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,922 views
0 votes
1 answer
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,854 views
0 votes
1 answer

Error getting primary cp: could not find master node, minikube is exiting due to an error

Hi@akhtar, You may receive this error when you ...READ MORE

May 19, 2020 in Kubernetes by MD
• 95,440 points
734 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,346 views
0 votes
1 answer

How to deploy Jenkins pod in minikube?

Hi@akhtar, In minikube you don't have to download ...READ MORE

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

How to create deployment build in kubernetes?

Hi@akhtar, To create any resources in kubernetes you ...READ MORE

May 18, 2020 in Kubernetes by MD
• 95,440 points
748 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,692 views
0 votes
1 answer

How to install minikube in windows?

Hi@akhtar, To install Minikube manually on Windows using Windows ...READ MORE

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

How to share the files among kubernetes pods without explicti mentioning yaml files?

You can create a shared volume and ...READ MORE

Apr 8, 2020 in Kubernetes by Liana
524 views
0 votes
1 answer

If we dont have metrics server installed? is there any way we can find out which pod in which namespace is consuming more memory?

Hi@jayabmaguluri, I don't know we can do it ...READ MORE

Apr 30, 2020 in Kubernetes by MD
• 95,440 points
528 views
0 votes
0 answers

How to access the configmap created on a worker node, in the pod.yaml in Master?

1. Configmap is created on the node1. ...READ MORE

Apr 5, 2020 in Kubernetes by jayabmaguluri
• 140 points
792 views
0 votes
1 answer

What is Scaling in Kubernetes and how would you enable it?

On Google Compute Engine (GCE) and Google Container Engine (GKE) (and ...READ MORE

Feb 11, 2020 in Kubernetes by anonymous
• 59,230 points
835 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,445 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,580 views
0 votes
1 answer

Can somebody define Persistent Volume (PV) and Persistent Volume Claim (PVC) of kubernetes in simple terms?

PVs are resources in the cluster. PVCs ...READ MORE

Feb 4, 2020 in Kubernetes by Sirajul
• 59,230 points
939 views
0 votes
1 answer

Anyone know how to recover the kubernetes token?

You can recover it using : Kubeadm token ...READ MORE

Feb 3, 2020 in Kubernetes by Sirajul
• 59,230 points
1,527 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,126 views
0 votes
1 answer

Kubernetes cluster monitoring with Prometheus with a grafana dashboard.

Hey, You can actually just google Grafana ...READ MORE

Oct 23, 2019 in Kubernetes by Eric
1,150 views
0 votes
1 answer

How to deploy a WordPress site and a MySQL database using Minikube

Create a deployment of the mysql. Use ...READ MORE

Oct 23, 2019 in Kubernetes by Eric
1,466 views
0 votes
1 answer

Make Redis slaves dicoverable - Kubernetes

Use something like this: application/appl/redis-slave-service.yaml apiVersion: v1 kind: Service metadata: ...READ MORE

Oct 23, 2019 in Kubernetes by Eric
494 views
0 votes
1 answer

Redis slave deployment - Kubernetes

You can something like this, Make the ...READ MORE

Oct 23, 2019 in Kubernetes by Eric
883 views
0 votes
1 answer

Application communication with the Redis master

Have a look at this deployment: https://www.edureka.co/community/58783/deployment-controller-single-replica-redis-master-kubernetes You can ...READ MORE

Oct 23, 2019 in Kubernetes by Eric
584 views
0 votes
1 answer

Deployment controller that runs a single replica Redis master Pod - kubernetes

Hi @Hannah, you can use something like ...READ MORE

Oct 23, 2019 in Kubernetes by Eric
807 views
0 votes
1 answer

Deploy PHP application with Redis - Kubernetes

Hi, @Hannah, Follow these steps: 1. Create a ...READ MORE

Oct 23, 2019 in Kubernetes by Eric
1,389 views
0 votes
1 answer

I have created 5 helm charts. Want to create another helm of those 5 charts. Like meta helm. Is this possible?

Yes, this is possible. In Helm, one ...READ MORE

Oct 22, 2019 in Kubernetes by Sirajul
• 59,230 points
580 views
0 votes
0 answers

how much time to take dashboard to run ?

kube-system   calico-kube-controllers-56ccd8fbd4-zq7x5   0/1     Pending   0          40m   <none> ...READ MORE

Sep 11, 2019 in Kubernetes by amit
439 views
0 votes
0 answers

While adding slave to master node then im getting an error as mentioned below

error execution phase preflight: couldn't validate the ...READ MORE

Aug 30, 2019 in Kubernetes by Sai kumar G
1,104 views
0 votes
1 answer

is there any way we can run kubectl command without sudo acess in KOPS kubernetes?

Yes, you can use kubectl on kops ...READ MORE

Aug 28, 2019 in Kubernetes by Adarsh
2,193 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,033 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,883 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,648 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,649 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,581 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,418 views
0 votes
1 answer

Prevent pod from shutting down immediately - Kubernetes

The easiest way out is to prevent ...READ MORE

Jul 25, 2019 in Kubernetes by Mercilia
1,607 views
0 votes
1 answer

Why do I see 504 errors from my Ingress during deploys?

This error occurs because of a race ...READ MORE

Jul 25, 2019 in Kubernetes by Vismaya
1,508 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,142 views
0 votes
1 answer

How do I determine the status of a Deployment? - Kubernetes

Use kubectl get deployment <deployment>. If the ...READ MORE

Jul 25, 2019 in Kubernetes by Harsha
511 views
0 votes
1 answer

What all components run inside a worker node to provide a kubernetes runtime environment?

Node components run on every node, maintaining ...READ MORE

Jul 24, 2019 in Kubernetes by Sirajul
• 59,230 points
775 views
0 votes
1 answer

How do I list containers filtering by pod namespace?

To target only pods in a specific ...READ MORE

Jul 23, 2019 in Kubernetes by Sirajul
• 59,230 points
1,479 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,710 views