Trending questions in Kubernetes

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,035 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,774 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,540 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,997 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,331 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,726 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,779 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,542 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,596 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,531 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,640 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,863 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,173 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,705 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,072 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,746 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,446 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,733 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,662 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,347 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,382 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,158 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,330 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,313 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,224 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,752 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,691 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,734 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,153 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,085 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,976 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,787 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,550 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,711 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,699 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,657 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,224 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,844 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,706 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,612 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,605 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,424 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,354 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,581 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,530 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,001 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
10,637 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,153 views