Most viewed questions in Kubernetes

0 votes
1 answer

Cannot access the MetalLB LoadBalancer IP from outside my kubernetes cluster.

Check the firewall config and What port ...READ MORE

Sep 17, 2020 in Kubernetes by Garama

edited Oct 6, 2021 by Sarfaraz 1,880 views
0 votes
1 answer

Running a HTTPS SSE server over Kubernetes/Ingress and Google Cloud Platform

Try adding a long time on the ...READ MORE

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

How to monitor that a pod is always running?

We can introduce probes.  A liveness probe with ...READ MORE

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

Kubernetes ingress rules

Assuming you are using the Nginx Ingress ...READ MORE

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

Kubernetes Dashboard by kops on AWS show only json

Hey lina, Try checking you default dashboard access. use ...READ MORE

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

unable to start Kubernetes due to so many open files in system

You can try the following steps: You can ...READ MORE

May 1, 2018 in Kubernetes by shubham
• 7,340 points
1,825 views
0 votes
1 answer

config-map kubernetes multiple environments

Deploy your application as helm chart.  After having ...READ MORE

Aug 31, 2018 in Kubernetes by Kalgi
• 52,360 points
1,821 views
+1 vote
1 answer

Error creating VPC when trying to create cluster on AWS

By default AWS only allows 5 vpcs ...READ MORE

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

ingress for kubernetes wordpress

You can configure your ingress to forward ...READ MORE

Sep 7, 2018 in Kubernetes by Kalgi
• 52,360 points
1,793 views
0 votes
1 answer

How to solve the issue with crashloopbackoff in my kubernetes Pod?

If your image is completed and not ...READ MORE

Sep 21, 2020 in Kubernetes by Jai

edited Oct 6, 2021 by Sarfaraz 1,786 views
0 votes
1 answer

Kubernetes nginx-ingress TLS issue

You have to create a secret named test-secret. ➜ ...READ MORE

Sep 11, 2018 in Kubernetes by Kalgi
• 52,360 points
1,775 views
0 votes
2 answers

Not able to expose port 80 on the host, kubernetes ingress

I was facing the same error. The nginix ...READ MORE

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

Accessing client IP of HTTP request from GKE

i assume you set up your service ...READ MORE

Nov 6, 2018 in Kubernetes by DareDev
• 6,890 points
1,770 views
0 votes
1 answer

How to configure a default imagePullSecret for any deployment?

Hey @Sam, you can attach an image ...READ MORE

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

How do you set-up Mongo replica set on Kubernetes?

Follow these steps To create a Kubernetes 1.5 ...READ MORE

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

how to drain the traffic from a pod?

When we take the node for maintenance, ...READ MORE

Jul 17, 2019 in Kubernetes by Sirajul
• 59,230 points
1,738 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

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

How to create a ConfigMap from literals?

Hi@akhtar, You can use kubectl create configmap with the --from-literal argument to ...READ MORE

Aug 31, 2020 in Kubernetes by MD
• 95,440 points
1,663 views
0 votes
1 answer

how can i access two containers that are inside a pod from the browser with IP address?

Just do port forward. kubectl port-forward [nginx-pod-name] 80:80 kubectl ...READ MORE

Jul 18, 2019 in Kubernetes by Sirajul
• 59,230 points
1,650 views
0 votes
2 answers

Access Kubernetes API using minKube

Try these commands: kubectl proxy --port=8080 You can then ...READ MORE

Aug 28, 2018 in Kubernetes by Hannah
• 18,570 points
1,636 views
0 votes
1 answer

Getting the below error while trying to run a Jenkins pipeline for deployment on a Kubernetes cluster.

Hi@Aryan, I have checked your Jenkins file in ...READ MORE

Aug 26, 2020 in Kubernetes by MD
• 95,440 points
1,635 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

Error saying "the program 'curl' is currently not installed"

Install curl using this command: apt-get update && ...READ MORE

Nov 23, 2018 in Kubernetes by Hannah
• 18,570 points
1,628 views
0 votes
1 answer

Error saying "Can't find aws in PATH, please fix and retry" in Kubernetes

Here's an easy solution that worked like ...READ MORE

Jan 4, 2019 in Kubernetes by Patrick
1,615 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,599 views
0 votes
1 answer

What is a Kubelet?

Each node runs services to run containers ...READ MORE

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

Kubernetes error: Did you speciy the right host or port

Try and auto generate your kubeconfig. Use: gcloud container ...READ MORE

Jan 9, 2019 in Kubernetes by DareDev
• 6,890 points
1,599 views
0 votes
1 answer

Error while creating kubernetes dashboard

The installation fails because there is no ...READ MORE

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

Running a custom docker image on GKE

You'll have tom push your image to ...READ MORE

Sep 18, 2018 in Kubernetes by ajs3033
• 7,300 points
1,535 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,519 views
0 votes
1 answer

Kubernetes: Ingress doesn't set IP address

You must set up an ingress controller ...READ MORE

Sep 12, 2018 in Kubernetes by Kalgi
• 52,360 points
1,519 views
0 votes
1 answer

How do I create a service account for my dashboard and get all the credentails

Run the following commands: This command will create ...READ MORE

Oct 8, 2018 in Kubernetes by Kalgi
• 52,360 points
1,500 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,499 views
0 votes
1 answer

Pros and cons of using traefik as ingress on kubernetes as DaemonSet

Here are pros and cons of using ...READ MORE

Jan 6, 2019 in Kubernetes by Layla
1,495 views
0 votes
1 answer

Kubernetes - Job scheduling API

You will find the CronJobresource in the batch/v1beta1 API group. ...READ MORE

Sep 17, 2018 in Kubernetes by Kalgi
• 52,360 points
1,483 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
0 votes
3 answers

Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) while setting up kubernetes

Execute these three commands: sudo rm /var/lib/apt/lists/lock sudo rm ...READ MORE

Nov 27, 2018 in Kubernetes by Maverick
• 10,840 points
1,470 views
0 votes
1 answer

What are Equity based selectors?

Equity-based selectors allow filtering by label key and ...READ MORE

Apr 17, 2019 in Kubernetes by Yesha
1,465 views
+1 vote
1 answer

kubernetes ingress controller and resource using nginx

Ingress is just collection of rules that forwards ...READ MORE

Sep 12, 2018 in Kubernetes by Kalgi
• 52,360 points
1,464 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
+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,452 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,426 views
0 votes
1 answer

error "secure connection failed" in ingress controller

Nginx ingress tries to redirect to an ...READ MORE

Sep 12, 2018 in Kubernetes by Kalgi
• 52,360 points
1,403 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,398 views
0 votes
1 answer

How do i tie a service to a pod or a set of pods?

By declaring pods with the label(s) and ...READ MORE

Jul 16, 2019 in Kubernetes by Sirajul
• 59,230 points
1,395 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

Unable to use kubernetes executer for Gitlabs

You are trying to use https, so ...READ MORE

Dec 26, 2018 in Kubernetes by DareDev
• 6,890 points
1,333 views
0 votes
1 answer

if a node is tainted, is there a way to still schedule the pods to that node?

When a node is tainted, the pods ...READ MORE

Jul 16, 2019 in Kubernetes by Sirajul
• 59,230 points
1,320 views