Skip to content

Instantly share code, notes, and snippets.

gautam priya gautampriya

  • United States
Block or report user

Report or block gautampriya

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
gautampriya /
Created Aug 8, 2019
Kubernetes Cheat Sheet


Kubernetes is a container orchestration system. Kubernetes cooridinates a highly available cluster of computers that are connected together to work as a unit. Containers package applications and enable rapid and safe application deployments at scale multiple times a day; this as opposed to the past deployment models where applications were installed directly onto specific machines as packages deeply integrated into the host. Kubernetes orchestrates the placement (scheduling) and execution of containers within and across clusters and helps containers find the resources and tools they need.


A Kubernetes cluster consists of two types of resources - the master which coordiantes the cluster and worker nodes that run applications. A k8s cluster taking production traffic should have a minimum of 3 nodes. A kubernetes cluster has the following pods - apiserver, proxy, etcd, scheduler, controller, dns.


The master is responsible for all cluster management tasks such as scheduling appl



Software Defined Network decouples the control plane from the data plane. It also decouples the control plane from the underlying network hardware and implements it in software instead; this enables programmatic access to the network enabling greater flexibility in network administration. Moving the control plane into software provides dynamic access for administrative tasks. A network admin can shape the traffic from a central control console without having to touch individual switches. An admin can prioritize, deprioritize and even block certain kinds of data packets with very granular level of control by chaning the rules from a central command console.

Overlay Network

An overlay network is a telecommunications network that runs independently on top of another one although supported by its infrastructure.


Data plane, control plane and management plane are the 3 different areas of operations and carry different kinds of traffic. A plane conceptually (and often in reality) is an overlay n

gautampriya /
Last active Apr 17, 2019
Docker Cheat Sheet


Docker is a platform to develop, deploy and run applications using Linux containers. The use of Linux containers to easily deploy and run applications is called containerization.

When writing an application, the first order of buisiness is to install a runtime on to the development machine - for eg. python runtime, JVM etc. This leads to a situation where the environment on the dev box needs to perfectly mirror the production environment in order for the app to run as expected. With docker, the application, its dependencies, and the runtime all travel together in some thing called a docker image.


A docker image is an executable that includes everything needed to run an application namely application binaries, a runtime, libraries, environment variables, and config files. These portable images are defined by some thing called a Dockerfile. Images can then be run inside containers in a predicatable manner on all platforms and in all environments.


You can’t perform that action at this time.