Trending questions in Kubernetes

+4 votes
2 answers
+2 votes
2 answers

Kubernetes Pods in Pending State

Hey @Shyam, you get this error because ...READ MORE

Oct 31, 2018 in Kubernetes by Kalgi
• 52,340 points
• 16,582 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
• 3,642 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
• 4,419 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,190 points
• 5,231 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,190 points
• 5,268 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,190 points
• 5,345 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,190 points
• 5,452 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,190 points
• 4,973 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,190 points
• 5,218 views
0 votes
3 answers

Kubernetes: How to resize a Persistent Volume?

That issue happened to me when I ...READ MORE

Oct 2, 2019 in Kubernetes by Gon
• 180 points
• 7,222 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,190 points
• 4,951 views
0 votes
2 answers

How do I create a volume in kubernetes so that it doesn't get detroyed when pods die?

if you need to do this is ...READ MORE

Jul 26, 2020 in Kubernetes by Akash Gupta
• 4,108 views
0 votes
2 answers

Can a PVC be bound to a specific PV?

apiVersion: "v1" kind: "PersistentVolumeClaim" met ...READ MORE

Mar 3, 2020 in Kubernetes by anonymous
• 5,246 views
0 votes
1 answer
+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,190 points
• 4,391 views
0 votes
4 answers

Kubernetes dashboard not showing up outside

In dashboard yaml, change cluster ip to ...READ MORE

Mar 20, 2019 in Kubernetes by anonymous
• 9,888 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,190 points
• 4,315 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
• 2,400 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,190 points
• 4,146 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
• 1,776 views
0 votes
1 answer

What is meant by federated cluster?

Cluster federation is conceptually simple. You aggregate multiple ...READ MORE

Jul 16, 2019 in Kubernetes by Sirajul
• 59,190 points
• 4,177 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,190 points
• 4,094 views
0 votes
1 answer

Is there a way to make a pod to automatically come up when the host restarts?

Yes using replication controller but it may ...READ MORE

Jul 19, 2019 in Kubernetes by Sirajul
• 59,190 points
• 3,797 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,190 points
• 3,567 views
0 votes
1 answer

Kubernetes: What are the types of multi-container pod patterns?

Here are the different types of multi-container ...READ MORE

Jul 17, 2019 in Kubernetes by Sirajul
• 59,190 points
• 3,806 views
0 votes
1 answer

Building an image in kubernetes using Kompose

Kompose supports both building and pushing Docker ...READ MORE

Jul 17, 2019 in Kubernetes by Sirajul
• 59,190 points
• 3,757 views
0 votes
2 answers

How can I access a service installed on Kubernetes from anywhere?

if u want to directly want to ...READ MORE

Jul 26, 2020 in Kubernetes by Akash Gupta
• 3,359 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,190 points
• 3,723 views
0 votes
1 answer

What are the container hooks available in kubernetes?

The hooks enable Containers to be aware ...READ MORE

Jul 15, 2019 in Kubernetes by Sirajul
• 59,190 points
• 3,762 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
• 3,205 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
• 3,156 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,190 points
• 3,411 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,190 points
• 3,491 views
0 votes
2 answers

How to rename deployments in Kubernetes

Hey, You can edit or recreate it ...READ MORE

Dec 6, 2018 in Kubernetes by Maverick
• 10,840 points
• 13,051 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,190 points
• 3,277 views
0 votes
3 answers

Change the schedule of Kubernetes cron job

kubectl patch <backup-cronjob> -p '{"spec":{"schedule": "0 0 ...READ MORE

Jun 21, 2019 in Kubernetes by sudhams reddy duba
• 10,306 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,190 points
• 2,942 views
0 votes
1 answer

Is it possible to route the traffic from outside the kubernetes cluster directly to the pods?

Yes, it is possible to route traffic ...READ MORE

Jul 16, 2019 in Kubernetes by Sirajul
• 59,190 points
• 3,212 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,190 points
• 3,204 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,190 points
• 3,094 views
0 votes
1 answer

No Declared merge key error when trying to modify a deployment in Kubernetes

I see you have a section in ...READ MORE

Jan 4, 2019 in Kubernetes by Kim
• 11,418 views
0 votes
1 answer

Difference between kubectl apply and kubectl create?

These are two very different approaches. kubectl ...READ MORE

Sep 11, 2018 in Kubernetes by ajs3033
• 7,300 points
• 16,410 views
+6 votes
1 answer

Web UI (Dashboard): https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/

Hey @nmentityvibes, you seem to be using ...READ MORE

Dec 13, 2018 in Kubernetes by Kalgi
• 52,340 points
• 12,101 views
0 votes
1 answer

What all components is the Master server in Kubernetes made up of?

Kubernetes is a combination of multiple parts ...READ MORE

Jul 11, 2019 in Kubernetes by Sirajul
• 59,190 points
• 3,136 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,190 points
• 3,106 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,190 points
• 2,552 views
0 votes
1 answer

Is it possible to force the pod to run on a specific node?

By default, anti-affinity is not attempted by ...READ MORE

Jul 15, 2019 in Kubernetes by Sirajul
• 59,190 points
• 2,925 views
0 votes
1 answer

How to start and stop a cluster on AWS using kops without stopping the instance

Export your KOPS_STAT_STORE variable export KOPS_STATE_STORE=s3://your-bucket-name Get your instances ...READ MORE

Jan 8, 2019 in Kubernetes by Kashish
• 11,043 views
0 votes
1 answer

How does Kubernetes simplify containerized application deployment process?

A application deployment requires , web tier ...READ MORE

Jul 11, 2019 in Kubernetes by Sirajul
• 59,190 points
• 3,059 views