Most answered questions in Kubernetes

+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,222 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,826 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
732 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,332 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,731 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
735 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,671 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,260 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
517 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
521 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
819 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
935 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,521 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,114 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,229 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,463 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
488 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
579 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
804 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,386 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
576 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,186 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,011 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,874 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,630 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,617 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,600 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,501 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
502 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
766 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,474 views
+1 vote
1 answer

How to use a Volume to communicate between two Containers running in the same Kubernetes-Pod?

Create a Pod that runs two Containers Create a ...READ MORE

Jul 23, 2019 in Kubernetes by Sirajul
• 59,230 points
2,381 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,677 views
0 votes
1 answer
0 votes
1 answer

Kubernetes: What are init conatiners ?

Generally, in Kubenetes, a pod can have ...READ MORE

Jul 23, 2019 in Kubernetes by Sirajul
• 59,230 points
396 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,553 views
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,536 views
0 votes
1 answer

Define an environment variable for a container

When you create a Pod, you can ...READ MORE

Jul 23, 2019 in Kubernetes by Sirajul
• 59,230 points
1,629 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,394 views
0 votes
1 answer

Different ways to provide API-Security on kubernetes

Use the correct auth mode with API ...READ MORE

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

Does the rolling update with state full set replica=1 work?

No, because there is only 1 replica, ...READ MORE

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

What happens when a pod exceeds its memory limit?

Whenever a pod exceeds its memory limit ...READ MORE

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

What is Ingress ? Is it something that runs as a pod or on a pod?

An ingress is an object that holds ...READ MORE

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

Are deployments with more than one replica automatically doing rolling updates when a new deployment config is applied?

The Deployment updates Pods in a rolling ...READ MORE

Jul 19, 2019 in Kubernetes by Sirajul
• 59,230 points
783 views
0 votes
1 answer
+1 vote
1 answer

Is there any other way to update the config map for deployment without having to restart the pod?

Well, you need to have some way ...READ MORE

Jul 19, 2019 in Kubernetes by Sirajul
• 59,230 points
7,781 views