Why we have default-token secret in each namespaces of kubernetes clustor?

A Secret is an object that contains a small amount of sensitive data such as a password, a token, or a key. Such information might otherwise be put in a┬áPod┬áspecification or in a┬ácontainer image. Using a Secret means that you don’t need to include confidential data in your application code. A┬ákubernetes.io/service-account-token┬átype of Secret is used to store a token that identifies a service account. When creating a┬áPod, Kubernetes automatically creates a service account Secret and automatically modifies your Pod to

Read more

Q1. Define ReplicaSets with atleast 2 example

A ReplicaSet is a process that runs multiple instances of a Pod and keeps the specified number of Podsconstant. Its purpose is to maintain the specified number of Pod instances running in a cluster at given timeand to prevent users from losing access to their application when pPod fails or is inaccessible. create -f rs.yamlkubectl get rs replicasetkubectl get Pods Q2. What happen when you pause a deployment using rollout? K8 enables you to pause a deployment. You can then

Read more

Defined Kubernetes in Gaurav Arora Words.

What is Kubernetes ? Kubernetes is borned by Google It is Open Source platform It is cncf product It overcomes challenges like scalability challenges We can run 1000 computers via Kubernetes It can help running multiple container with same port. It will resolve auto healing in case of any failure It solve networking challenge also It will help managing multiple docker host Why Kubernetes ? It helps to run multiple docker container it worked in desired state Speed of deployment

Read more