Trending questions in Kubernetes

+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,408 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
5,320 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,328 views
+4 votes
1 answer

Installing Web UI (Dashboard):kubernetes-dashboard on main Ubuntu 16.04.6 LTS (Xenial Xerus) server

Follow these steps: $ kubeadm reset $ kubeadm init ...READ MORE

Apr 12, 2019 in Kubernetes by Kalgi
• 52,350 points

reshown Apr 12, 2019 by Kalgi 7,256 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
3,438 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,837 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
659 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
10,520 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,605 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,787 views
0 votes
1 answer
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
1,683 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,230 points
2,435 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,230 points
2,537 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,230 points
2,399 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,230 points
2,339 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
2,215 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,839 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,897 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
2,108 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,230 points
2,215 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
2,160 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,752 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
2,045 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,757 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,919 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
1,368 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,794 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,705 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,881 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,230 points
1,595 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
6,640 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,230 points
1,504 views
0 votes
1 answer

Installing Kubernetes

Hey! You follow this tutorial for installing ...READ MORE

Jul 22, 2019 in Kubernetes by Kalgi
• 52,350 points
1,252 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,230 points
1,639 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
1,070 views
0 votes
1 answer

Can I configure my kubernetes job to run for a specified time?

When we create a job spec, we ...READ MORE

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

What is a Resource Quota in Kubernetes?

A resource quota, defined by a ResourceQuota ...READ MORE

Jul 16, 2019 in Kubernetes by Sirajul
• 59,230 points
1,330 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,230 points
1,358 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,230 points
1,462 views
0 votes
1 answer

How to configure a Pod to use the updated configMap?

If the config map is mounted into ...READ MORE

Jul 18, 2019 in Kubernetes by Sirajul
• 59,230 points
1,178 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
9,417 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
14,545 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,230 points
1,420 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
908 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
788 views
+1 vote
1 answer

How to deploy a feature with zero downtime in kubernetes?

By default Deployment in Kubernetes uses RollingUpdate as a ...READ MORE

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

How to rollback a deployment?

Applying changes to a Deployment process with ...READ MORE

Jul 12, 2019 in Kubernetes by Sirajul
• 59,230 points
1,323 views