Open in app

Sign in

Write

Sign in

Yash Panchal
Yash Panchal

12 Followers

Home

About

Jul 1

Topology Spread Constraints.

Plan your pod placement across the cluster with ease. Control how pods are spread across your cluster. Specify the spread and how the pods should be placed across the cluster. Let us see how the template looks like.. example-template.yaml --- apiVersion: v1 kind: Pod metadata: name: example-pod spec: # Configure a topology…

Kubernetes

2 min read

Topology Spread Constraints.
Topology Spread Constraints.
Kubernetes

2 min read


Jul 1

Affinity and Antiaffinity in Kubernetes

Basics of affinity and antiaffinity in k8s cluster Affinity Node affinity is somewhat like an attachment based on the labels that a node has, Let us say we need to schedule pods on nodes that have certain labels, we use node affinity to tell pods to schedule itself to the…

Kubernetes

2 min read

Affinity and Antiaffinity in Kubernetes
Affinity and Antiaffinity in Kubernetes
Kubernetes

2 min read


Jul 1

Taints and Tolerations in kubernetes

Simplified taints and tolerations in k8s Taints Similar to labels but pods understand to avoid tainted nodes by default unless the pods have toleration towards it. Kind of like a repellent by default, unless there is some explicit toleration towards it. Tolerations The tolerations defined on pods make the pods tolerant to…

Kubernetes

4 min read

Taints and Tolerations in kubernetes
Taints and Tolerations in kubernetes
Kubernetes

4 min read


Jul 1

Services in kubernetes

k8s svc and how to use them A kubernetes object. Provides abstraction over a set of running pods. clients can access using services which loadbalance the requests to the pods. endpoints: backend entities where services route traffic. each pod will be the endpoint of the service. Basic service definition apiVersion…

Kubernetes

3 min read

Services in kubernetes
Services in kubernetes
Kubernetes

3 min read


Jul 1

Network policies in kubernetes

k8s network policies allows flow control to and from pods. isolates pods from traffic they do not require. pods are non isolated and open to all communication by default. Any network policy that selects pod will cause it to be isolated and abide the network policy rules. A networkPolicy can…

Kubernetes

2 min read

Network policies in kubernetes
Network policies in kubernetes
Kubernetes

2 min read


Jul 1

Rolling updates in kubernetes

Rolling updates in kubernetes deployment Managed using deployments. Rolling update: allows deployment to use new updates without downtime via gradual replacement of old pods with new updated ones. Change can be anything in the pod template that is part of the deployment manifest. Rollback: If there is a problem in…

Kubernetes

2 min read

Rolling updates in kubernetes
Rolling updates in kubernetes
Kubernetes

2 min read


Jun 22

Deployments in kubernetes

Scale your applications using deployments in kubernetes. Let us understand some of the important components and their use cases :- deployment defines a desired state for a replica set. deployment controller ensures the desired state by creating, deleting and replacing pods with new configs. replicas Specifies no of pod replicas…

Kubernetes

2 min read

Deployments in kubernetes
Deployments in kubernetes
Kubernetes

2 min read


Jun 22

Static pods in kubernetes

A Guide to static pod with example. Static pods are created by the kubelet directly without any usage of kubernetes api. How do we do this ? This is due to a default path that kubelet uses, if you keep a manifest file the kubelet picks it up and applies it. path: /etc/kubernetes/manifests Example: kubectl run nginx-pod-2 --image nginx --dry-run=client -o yaml > /etc/kubernetes/manifests/nginx-pod-2.yaml

Kubernetes

1 min read

Static pods in kubernetes
Static pods in kubernetes
Kubernetes

1 min read


Jun 22

Daemonset in kubernetes

Basics of daemonsets in kubernetes Daemonset ensures that all the available worker nodes have a copy of a running pod defined within the DaemonSet. As new nodes are added the pods of daemonset are added to them. Daemonsets follow the regular scheduling rules and if the scheduling rules don’t allow pods to run on a particular node then the daemonset will respect scheduling rule and won’t assign pod to it.

Kubernetes

1 min read

Daemonset in kubernetes
Daemonset in kubernetes
Kubernetes

1 min read


Jun 21

Scheduling pods in kubernetes

assign your pods to the nodes of your choice. Scheduling: assigning pods to the nodes. scheduler manages the pods scheduling. Primarily resource requests and node resource availability is checked by the kubernetes scheduler before scheduling the pod. nodeSelector limit which node pods can be scheduled. uses node lables. example of node…

Kubernetes

2 min read

Scheduling pods in kubernetes
Scheduling pods in kubernetes
Kubernetes

2 min read

Yash Panchal

Yash Panchal

12 Followers

❤

Following
  • Sohom Das

    Sohom Das

  • Harsh Patel

    Harsh Patel

  • Kanan Vyas

    Kanan Vyas

  • Kush Bansal

    Kush Bansal

  • Suchit Sanghvi

    Suchit Sanghvi

See all (5)

Help

Status

About

Careers

Blog

Privacy

Terms

Text to speech

Teams