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
402 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,564 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,549 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,644 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,407 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
732 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,378 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,420 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,720 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
791 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,133 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
963 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
940 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,103 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,915 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
464 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,305 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,039 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
827 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
619 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,774 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,092 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,668 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,868 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,125 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,136 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
760 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,818 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,756 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
764 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
430 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,480 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,083 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,004 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,651 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,869 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,411 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,334 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,233 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
535 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
377 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,097 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
435 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,261 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
895 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
406 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,928 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
479 views