Latest questions in Kubernetes

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,416 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,234 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,184 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,862 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,049 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,934 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,253 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,873 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
744 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,357 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,745 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
759 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,706 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,278 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
532 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
534 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
799 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
845 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,455 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,598 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
949 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,537 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,141 views
+2 votes
1 answer

Can we setup the kubernetes cronjob for a shell script present on local file system and not on the cluster?

This is the CRON function for executing ...READ MORE

Jan 16, 2020 in Kubernetes by Rhea
2,239 views
+4 votes
0 answers

powershell to eks cluster

Getting below error PS C:\kubectl> kubectl apply -f ...READ MORE

Dec 18, 2019 in Kubernetes by Kamaldeep
• 180 points
1,462 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,154 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,472 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
500 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
888 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
592 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
817 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,396 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
587 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
448 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,113 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,198 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
17,002 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,050 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,893 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,663 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,665 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,602 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,437 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,615 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,513 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,149 views