Trending questions in Kubernetes

+1 vote
0 answers

The connection to the server localhost:8080 was refused

$ kubectl get svc The connection to the ...READ MORE

Aug 8 in Kubernetes by Lakshminarayanan
80 views
0 votes
0 answers

[kubelet-check] Initial timeout of 40s passed.

Hello,           I'm getting and error message while ...READ MORE

Aug 6 in Kubernetes by nmentityvibes
• 380 points

edited Aug 6 by Kalgi 173 views
0 votes
1 answer
0 votes
1 answer
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 in Kubernetes by Janice
24 views
0 votes
1 answer

Error while installing Kubernetes using snap

Don't install using snap. It throws a ...READ MORE

Aug 6 in Kubernetes by Harshit
18 views
0 votes
2 answers

How do I force a pod to run on a specific node?

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

Aug 6 in Kubernetes by Sirajul
• 20,040 points
29 views
0 votes
2 answers

How do I update all my pods if the image changed but the tag is the same? - Kubernetes

Make sure your imagePullPolicy is set to Always(this is the ...READ MORE

Aug 6 in Kubernetes by Sirajul
• 20,040 points
16 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 in Kubernetes by Sirajul
• 20,040 points
277 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 in Kubernetes by Sirajul
• 20,040 points
146 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 in Kubernetes by Vismaya
62 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 in Kubernetes by Sirajul
• 20,040 points
123 views
0 votes
1 answer

Prevent pod from shutting down immediately - Kubernetes

The easiest way out is to prevent ...READ MORE

Jul 25 in Kubernetes by Mercilia
26 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 in Kubernetes by Harsha
13 views
0 votes
1 answer

Installing Kubernetes

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

Jul 22 in Kubernetes by Kalgi
• 39,390 points
196 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 in Kubernetes by Sirajul
• 20,040 points
246 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 in Kubernetes by Sirajul
• 20,040 points
26 views
0 votes
1 answer

how to scale a statefulset in kubernetes?

Scaling StatefulSets : Use kubectl to scale StatefulSets First, ...READ MORE

Jul 23 in Kubernetes by Sirajul
• 20,040 points
31 views
0 votes
1 answer
0 votes
1 answer

How do I list containers filtering by pod namespace?

To target only pods in a specific ...READ MORE

Jul 23 in Kubernetes by Sirajul
• 20,040 points
13 views
0 votes
1 answer

Kubernetes: What are init conatiners ?

Generally, in Kubenetes, a pod can have ...READ MORE

Jul 23 in Kubernetes by Sirajul
• 20,040 points
13 views
0 votes
1 answer

How do i change the default StorageClass ?

Simply deleting the default StorageClass may not ...READ MORE

Jul 23 in Kubernetes by Sirajul
• 20,040 points
12 views
0 votes
1 answer

Define an environment variable for a container

When you create a Pod, you can ...READ MORE

Jul 23 in Kubernetes by Sirajul
• 20,040 points
11 views
0 votes
1 answer

Different ways to provide API-Security on kubernetes

Use the correct auth mode with API ...READ MORE

Jul 23 in Kubernetes by Sirajul
• 20,040 points
12 views
0 votes
1 answer

Why should I use Kubernetes?

With the advent of microservice architecture, users ...READ MORE

Jul 12 in Kubernetes by Sirajul
• 20,040 points
466 views
0 votes
1 answer

Building an image in kubernetes using Kompose

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

Jul 17 in Kubernetes by Sirajul
• 20,040 points
221 views
0 votes
1 answer

How is Kubernetes related to Docker?

Though we compare Docker Vs Kubernetes, it ...READ MORE

Jul 15 in Kubernetes by Sirajul
• 20,040 points
211 views
0 votes
1 answer

What happens when a pod exceeds its memory limit?

Whenever a pod exceeds its memory limit ...READ MORE

Jul 19 in Kubernetes by Sirajul
• 20,040 points
20 views
0 votes
1 answer
0 votes
1 answer

Is there any other way to update the config map for deployment without having to restart the pod?

Well, you need to have some way ...READ MORE

Jul 19 in Kubernetes by Sirajul
• 20,040 points
21 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 in Kubernetes by Sirajul
• 20,040 points
21 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 in Kubernetes by Sirajul
• 20,040 points
16 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 in Kubernetes by Sirajul
• 20,040 points
17 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 in Kubernetes by Sirajul
• 20,040 points
20 views
0 votes
1 answer

having a pod with two containers, can i ping each other using the container name?

Containers on same pod act as if ...READ MORE

Jul 19 in Kubernetes by Sirajul
• 20,040 points
21 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 in Kubernetes by Sirajul
• 20,040 points
19 views
0 votes
1 answer
0 votes
1 answer

Error: config Map volume mount read-only file system error

ConfigMaps are always mounted read-only. If you need ...READ MORE

Jul 18 in Kubernetes by Sirajul
• 20,040 points
42 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 in Kubernetes by Sirajul
• 20,040 points
29 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 in Kubernetes by Sirajul
• 20,040 points
20 views
0 votes
1 answer

Kubernetes: container scaling

Hey @ Liana, You could use Horizontal ...READ MORE

Jul 18 in Kubernetes by Sirajul
• 20,040 points
15 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 in Kubernetes by Sirajul
• 20,040 points
15 views
0 votes
1 answer

Does the container restart whenever a secret object is updated (kubectl apply -f mysecret.yml)?

If you are mounting the secret as ...READ MORE

Jul 18 in Kubernetes by Sirajul
• 20,040 points
14 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 in Kubernetes by Sirajul
• 20,040 points
16 views
0 votes
1 answer

how to test a manifest without actually executing it in kubernetes?

You can use --dry-run flag to test the manifest.  This ...READ MORE

Jul 18 in Kubernetes by Sirajul
• 20,040 points
19 views
0 votes
1 answer

Connect 2 pods

You can connect those two pods by ...READ MORE

Jul 18 in Kubernetes by Sirajul
• 20,040 points
9 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 in Kubernetes by Sirajul
• 20,040 points
52 views
0 votes
1 answer

Can i configure my kubernetes pod to use multiple service accounts ?

A service account provides an identity for ...READ MORE

Jul 17 in Kubernetes by Sirajul
• 20,040 points
28 views
0 votes
1 answer

What is pod affinity and node affinity?

Node Affinity ensures that pods are hosted ...READ MORE

Jul 17 in Kubernetes by Sirajul
• 20,040 points
23 views
0 votes
1 answer

how to package a kubernetes application?

Helm is a package manager which allows users ...READ MORE

Jul 17 in Kubernetes by Sirajul
• 20,040 points
25 views