Articles by Rahul Shivalkar

  • Use Node Affinity in Kubernetes

    Use Node Affinity in Kubernetes

    Author: Tags: , Comments: 0Published: Sep 30, 2020

    Node affinity in Kubernetes is conceptually similar to nodeSelector -- it allows us to limit which nodes our pod is eligible to be scheduled on, based on labels on the node.

  • Configmaps in Kubernetes

    Configmaps in Kubernetes

    Author: Tags: Comments: 0Published: Sep 17, 2020

    In this article, we will see two examples to access data from configmaps in Kubernetes. In one example we will use config maps as environment variables in the pod command and in the other we will  populate a volume with data stored in a ConfigMap

  • Create a Daemonset in Kubernetes

    Create a Daemonset in Kubernetes

    Author: Tags: Comments: 0Published: Sep 10, 2020

    A DaemonSet ensures that all nodes run a copy of a Pod. Normally, the node that a Pod runs on is selected by the scheduler but  DaemonSet pods are created and scheduled by the DaemonSet controller.

  • Static pods in Kuberentes

    Static pods in Kuberentes

    Author: Tags: Comments: 0Published: Sep 01, 2020

    Static Pods are managed directly by the kubelet and the API server does not have any control over these pods. The kubelet is responsible to watch each static Pod and restart it if it crashes.

  • Role-based access control (RBAC) in Kubernetes

    Role-based access control (RBAC) in Kubernetes

    Author: Tags: Comments: 0Published: Aug 18, 2020

    In this article, we will understand the basics of RBAC and create Role, ClusterRole, RoleBinding and ClusterRoleBinding Objects. We will then create a kubeconfig file to give limited access to a particular user on a selected namespace.

  • Limit Ranges in Kubernetes

    Limit Ranges in Kubernetes

    Author: Tags: Comments: 0Published: Aug 11, 2020

    In this article, we will create a limit range and see how to set minimum and maximum values for the CPU resources used by Containers and Pods. We will see different scenarios with Limit and Request on the CPU.

  • Network Policy in Kubernetes

    Network Policy in Kubernetes

    Author: Tags: Comments: 0Published: Aug 05, 2020

    By default, pods accept traffic from any source. A network policy helps to specify how a group of pods can communicate with each other and other network endpoints.

  • Storage in Kubernetes

    Storage in Kubernetes

    Author: Tags: Comments: 0Published: Aug 04, 2020

    Data cannot be stored in the pod, when the pod is deleted or is terminated the data within it does not stay on the system. To provide long-term and temporary storage to Pods in the cluster, Kubernetes provides different types of storage mechanisms.

  • Cheat Sheet for Kubernetes Commands

    Cheat Sheet for Kubernetes Commands

    Author: Tags: Comments: 0Published: Jul 30, 2020

    While working on Kubernetes it is very important that you know at least the basic commands. In this article, you will find the commands which are needed most of the time while working on the cluster.

  • Jobs in Kubernetes

    Jobs in Kubernetes

    Author: Tags: Comments: 0Published: Jul 28, 2020

    A job creates one or more Pods to perform a particular operation and ensures the pods successfully terminate. When a specified number of pods successfully complete, the job is complete. When a job is deleted, it deletes the Pods it created. A Job can also be used to run multiple Pods in parallel.