Skip to content

Instantly share code, notes, and snippets.

View makanijatin's full-sized avatar

Makani makanijatin

View GitHub Profile

Networking

curl it is a tool to transfer data from and to a server using one of the supported protocol

 whois google.com #Whois is an easy way to find information on the owner, nameserver, registrar etc. of a domain name. 
 ping google.com # ping will check if you can actually reach the server or not
 curl http://example.com
 curl example.com

curl -I -l -k or -Ilk example.com

If you want to explicitly reserve resources for non-pod processes, you can create a placeholder pod. Use the following template:

apiVersion: v1
kind: Pod
metadata:
  name: resource-reserver
spec:
  containers:

kubernetes shortcuts & cheatsheet

Use a DaemonSet for Pods that need to run one per machine, because they provide a machine-specific system service.

Learning k8s basics

For example, to mark a node unschedulable, run this command:

@makanijatin
makanijatin / tmux-cheatsheet.markdown
Last active September 18, 2018 04:55 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname