Trending questions in Kubernetes

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,447 views
0 votes
2 answers

keep container running on Kubernetes

Try using this CMD in your Dockerfile: CMD exec /bin/bash ...READ MORE

Aug 30, 2018 in Kubernetes by Nilesh
• 7,060 points
18,531 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
4,653 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
4,873 views
0 votes
1 answer

Kubectl get pods not showing any pods - Kubernetes using Kops

Hey @Alia,  I agree with @Harish, It is ...READ MORE

Jan 23, 2019 in Kubernetes by Kavya
12,176 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
4,592 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
4,679 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,429 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
4,485 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
6,416 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
4,511 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
3,752 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
3,043 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
3,563 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,981 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
3,647 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,349 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
3,624 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,242 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
3,266 views
+4 votes
2 answers
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
8,464 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,209 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,192 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
2,916 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,092 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
2,649 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
2,629 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,045 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
2,978 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
2,542 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
2,825 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
2,694 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,453 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
2,596 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
2,564 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
2,546 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
12,064 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
15,731 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
2,598 views
0 votes
1 answer

How does DNS work in kubernetes?

DNS is a built-in service in Kubernetes. ...READ MORE

Jul 12, 2019 in Kubernetes by Sirajul
• 59,190 points
2,504 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
2,495 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
2,479 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,304 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
10,413 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
1,885 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
9,173 views
0 votes
1 answer

How to terminate a pod when a specific event occurs?

You need to add a liveness and ...READ MORE

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

What is KUBE proxy?

The Kubernetes network proxy runs on each ...READ MORE

Jul 15, 2019 in Kubernetes by Sirajul
• 59,190 points
2,213 views