Skip to content

Instantly share code, notes, and snippets.

View murarisumit's full-sized avatar
Welcome here

Sumit Murari murarisumit

Welcome here
View GitHub Profile
murarisumit / grafana-prometheus-values.yaml
Created November 13, 2018 10:48 — forked from rohancme/grafana-prometheus-values.yaml
Values for the grafana helm chart to talk to an existing prometheus datasource
enabled: true
- ReadWriteOnce
size: 5Gi
apiVersion: 1
murarisumit /
Created August 7, 2018 06:47
Tmux some shortcut #tmux #shortcut

Tmux keyboard shortcut

  • Space : Switch pane from vertical align to horizontal.
murarisumit / youtube_filters.txt
Last active July 26, 2018 07:47
Youtube filers
!Home page all videos page
!Suggestion by youtube
!Removes comments
murarisumit /
Last active July 6, 2018 04:51
kubernetes networking #networking #kubernetes
murarisumit /
Created July 5, 2018 18:56
Bridge interface docker #docker #gnu/linux #networking

Configure a Linux bridge interface

  • In computer networking, a bridge is a network device that interconnects more than one LAN segment at Layer-2.
  • This bridge functionality is built into the Linux kernel, so one can set up a software bridge interconnecting multiple network interfaces.

A Linux bridge can be created with a user-space command-line tool called brctl which allows you to create, remove and administer Linux Ethernet bridges.

murarisumit /
Created July 5, 2018 07:09
Docker networking #docker #networking

In backend of all docker networking:

  • When the daemon instantiates the container, it assigns a unique network address to it, connecting it to a virtual Ethernet bridge, which in the case of Docker is called docker0.
  • All containers in the system communicate with each other by directing packets to docker0, which then forwards those packets through the subnet automatically.
murarisumit /
Last active July 5, 2018 07:07
Virtual Ethernet Bridging #networking #docker #kubernetes


Virtualization Intermediaries (VIs) are used to safely share IO.

  • That is, 1 or more OSs share the PCI device through the VI.
  • VI may be part of Hypervisor or not.

The VI(docker0) performs Ethernet sharing functions:

  • Multiplexes flows from multiple OSs.
  • Performs PCI IO transactions on behalf of the OS;
murarisumit /
Last active July 6, 2018 11:26
Iptables and Netfilter #gnu/linux #iptables #firewall
murarisumit /
Last active December 2, 2018 22:16
AWS cli cheatsheet #aws #cheatsheet


  • Get ec2 instance with name and private ip: aws ec2 describe-instances --query "Reservations[*].Instances[*].[InstanceId,Tags[?Key=='Name']| [0].Value,PrivateIpAddress]" --output table

  • Get instance details in some human readable format: aws ec2 describe-instances --query 'Reservations[*].Instances[*].{ID:InstanceId,TYPE:InstanceType,Subnet:SubnetId,VPC:VpcId,IP:PublicDnsName,State:State.Name }' --output table

murarisumit /
Last active June 6, 2018 20:47
Vim practical guide notes