Most voted questions in Kubernetes

0 votes
1 answer
0 votes
1 answer

Kubernetes: What are init conatiners ?

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

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

How do i change the default StorageClass ?

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

Jul 23, 2019 in Kubernetes by Sirajul
• 59,230 points
3,542 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,634 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,230 points
3,402 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
731 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,364 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, 2019 in Kubernetes by Sirajul
• 59,230 points
7,407 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,716 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
788 views
0 votes
1 answer
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,126 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
961 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
933 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,097 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,901 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
461 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,301 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,027 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
824 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
617 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,770 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,073 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,662 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,861 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,114 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,124 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
756 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,795 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,750 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
758 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
426 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,474 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,073 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
995 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,645 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,861 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,404 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,329 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,226 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
529 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
375 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,090 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
433 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,252 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
889 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
399 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,924 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
476 views