Most answered questions in Kubernetes

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,230 points
3,116 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
954 views
0 votes
1 answer

Installing Kubernetes

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

Jul 22, 2019 in Kubernetes by Kalgi
• 52,360 points
924 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,090 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, 2019 in Kubernetes by Sirajul
• 59,230 points
7,880 views
0 votes
1 answer

Kubernetes: container scaling

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

Jul 18, 2019 in Kubernetes by Sirajul
• 59,230 points
456 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
836 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,230 points
3,283 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, 2019 in Kubernetes by Sirajul
• 59,230 points
5,009 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
822 views
0 votes
1 answer

Connect 2 pods

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

Jul 18, 2019 in Kubernetes by Sirajul
• 59,230 points
614 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
1,763 views
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, 2019 in Kubernetes by Sirajul
• 59,230 points
20,049 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
1,654 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, 2019 in Kubernetes by Sirajul
• 59,230 points
3,848 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, 2019 in Kubernetes by Sirajul
• 59,230 points
7,086 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,123 views
0 votes
1 answer

What is pod security policy and why is it important?

In Kubernetes, Pod Security Policies consists of ...READ MORE

Jul 17, 2019 in Kubernetes by Sirajul
• 59,230 points
751 views
0 votes
1 answer

What is pod affinity and node affinity?

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

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

how to package a kubernetes application?

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

Jul 17, 2019 in Kubernetes by Sirajul
• 59,230 points
750 views
0 votes
1 answer

Kubernetes: Daemon Sets

A DaemonSet is a set of pods ...READ MORE

Jul 17, 2019 in Kubernetes by Sirajul
• 59,230 points
421 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,230 points
3,470 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,061 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
979 views
0 votes
1 answer

Kubernetes: Can we use multiple claims out of a persistent volume?

The mapping between persistentVolume and persistentVolumeClaim is ...READ MORE

Jul 16, 2019 in Kubernetes by Sirajul
• 59,230 points
5,632 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
1,857 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,396 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,321 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,223 views
0 votes
1 answer

What is a service role in kubernetes components?

A service is an abstraction for pods. ...READ MORE

Jul 16, 2019 in Kubernetes by Sirajul
• 59,230 points
527 views
0 votes
1 answer

Kubernetes "secrets"

A Secret is an object that contains ...READ MORE

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

Storage Classes in Kubernetes

A StorageClass provides a way for administrators ...READ MORE

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

How is Kubernetes related to Docker?

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

Jul 15, 2019 in Kubernetes by Sirajul
• 59,230 points
880 views
0 votes
1 answer

How does a load balancer service work?

Cloud Provider normally sets up LoadBalancer as ...READ MORE

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

how can we prioritize pods and preempt them?

A PriorityClass is a non-namespaced object that ...READ MORE

Jul 15, 2019 in Kubernetes by Sirajul
• 59,230 points
474 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,230 points
3,126 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
858 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,190 views
0 votes
1 answer

What happens when a master or worker node fails?

Whenever master node under kubernetes fails, the ...READ MORE

Jul 15, 2019 in Kubernetes by Sirajul
• 59,230 points
3,917 views
0 votes
1 answer

Stateful Sets in Kubernetes

During regular deployment process, all the instances ...READ MORE

Jul 15, 2019 in Kubernetes by Sirajul
• 59,230 points
365 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,230 points
3,553 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,230 points
3,558 views
0 votes
1 answer

How can i get all the pods on a node?

You can use the following command to ...READ MORE

Jul 12, 2019 in Kubernetes by Sirajul
• 59,230 points
748 views
0 votes
1 answer

How do I expose a service to a host outside the cluster?

There are two ways by which we ...READ MORE

Jul 12, 2019 in Kubernetes by Sirajul
• 59,230 points
577 views
0 votes
1 answer

Pods in Kubernetes

Pod is a single or bunch of ...READ MORE

Jul 12, 2019 in Kubernetes by Sirajul
• 59,230 points
718 views
0 votes
1 answer

Why should I use Kubernetes?

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

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