Skip to content

Instantly share code, notes, and snippets.

View yindia's full-sized avatar
:shipit:
Building

Yuvnesh yindia

:shipit:
Building
View GitHub Profile
apiVersion: v1
kind: ServiceAccount
metadata:
name: tiller
namespace: default
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: tiller
apiVersion: v1
kind: ServiceAccount
metadata:
name: tiller
namespace: kube-system
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: tiller
@yindia
yindia / .tmux.conf
Last active April 29, 2020 11:08
Tmux Conf
set-option -g prefix C-a
unbind %
bind | split-window -h
bind - split-window -v
bind N break-pane
# Set status bar
set -g status-bg black
set -g status-fg white
# Highlight active window
@yindia
yindia / service-checklist.md
Created March 15, 2020 21:01 — forked from acolyer/service-checklist.md
Internet Scale Services Checklist

Internet Scale Services Checklist

A checklist for designing and developing internet scale services, inspired by James Hamilton's 2007 paper "On Desgining and Deploying Internet-Scale Services."

Basic tenets

  • Does the design expect failures to happen regularly and handle them gracefully?
  • Have we kept things as simple as possible?
@yindia
yindia / kyverno-policy.yaml
Last active June 30, 2020 17:33
kyverno policy for generate rules
# ➜ ~ kubectl apply -f mem-cpu-limit.yaml
# clusterpolicy.kyverno.io/mem-cpu-limit created
# ➜ ~ kubectl create ns new2
# namespace/new2 created
# ➜ ~ kubectl get -n new2 ResourceQuota
# NAME CREATED AT
# cpu-mem-resource-quoto 2020-06-30T08:46:52Z
apiVersion: kyverno.io/v1
kind: ClusterPolicy