Trending questions in Kubernetes

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,924 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,060 points
23,614 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,486 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,788 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
1,051 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,720 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
1,178 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
20,427 views
0 votes
1 answer

set the timezone in Kubernetes cluster

You can set the timezone of the ...READ MORE

Jul 4, 2019 in Kubernetes by Fawaad
9,450 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,958 views
0 votes
1 answer

having a pod with two containers, can i ping each other using the container name?

Containers on same pod act as if ...READ MORE

Jul 19, 2019 in Kubernetes by Sirajul
• 59,230 points
8,460 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,586 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,658 views
+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
8,125 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,861 views
0 votes
1 answer

Can i configure my kubernetes pod to use multiple service accounts ?

A service account provides an identity for ...READ MORE

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

Kubernetes: Can we use multiple claims out of a persistent volume?

The mapping between persistentVolume and persistentVolumeClaim is ...READ MORE

Jul 16, 2019 in Kubernetes by Sirajul
• 59,230 points
6,073 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,648 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,540 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
5,020 views
+1 vote
1 answer

Nginx: 502 Bad Gateway error after deploying redmine in kubernetes cluster.

I have fixed the problem! the issue ...READ MORE

Jul 12, 2019 in Kubernetes by Mehrez Kanzari
5,957 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,334 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,910 views
0 votes
1 answer

Does the container restart whenever a secret object is updated (kubectl apply -f mysecret.yml)?

If you are mounting the secret as ...READ MORE

Jul 18, 2019 in Kubernetes by Sirajul
• 59,230 points
5,442 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
1,095 views
0 votes
2 answers

Kubernetes Ingress servicePort alternative?

Check out this example that allows to ...READ MORE

Nov 20, 2020 in Kubernetes by anonymous
1,340 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
11,114 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
993 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
739 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
733 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
662 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,816 views
0 votes
2 answers

Can I run docker containers on different machines?

Docker defines a format for bundling an ...READ MORE

Aug 26, 2020 in Kubernetes by Pistle
• 1,000 points
1,715 views
0 votes
1 answer

What happens when a master or worker node fails?

Whenever master node under kubernetes fails, the ...READ MORE

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

how to test a manifest without actually executing it in kubernetes?

You can use --dry-run flag to test the manifest.  This ...READ MORE

Jul 18, 2019 in Kubernetes by Sirajul
• 59,230 points
4,201 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,932 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,368 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,689 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,480 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,754 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
3,087 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,992 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,722 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,646 views
0 votes
1 answer

how to debug a pending pod?

Pending pod cannot be scheduled onto a ...READ MORE

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

Is it possible for containers within a pod to communicate with each other?

Yes, it is possible for containers to ...READ MORE

Jul 12, 2019 in Kubernetes by Sirajul
• 59,230 points
3,853 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,508 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,379 views