Kubernetes Cheat Sheet
Kubernetes Cheat Sheet
Commands
kubectl cluster-info
Cluster Administration
Removing/Readding nodes
apiVersion: v1
kind: Template
objects:
- apiVersion: v1
kind: BuildConfig # or any other...
spec:
resources:
requests:
cpu: 1
memory: 2Gi
limits:
cpu: 2
memory: 4Gi
Online Tutorials
Katacoda
Migration Stories
Saltside: https://engineering.saltside.se/migrating-to-kubernetes-day-20-problems-
fbbda4905c23
Use Cases
Web Caching with Kubernetes
MongoDB Replicas as Stateful Sets in GKE
nginx SSL sidecar
Operators
o Kafka
o Couchbase
Authn/Authz
List of auth proxy implementations
Openshift OAuth proxy (forked from bitly, work with plain k8s too)
pusher OAuth2 proxy (continued work of bitly)
Buzzfeed OAuth2 SSO
linkerd
Envoy (Istio)
Ambassador (Envoy based)
Conjur + Auth Proxy
keyclock-proxy (deprecated)
Misc
Debugging pods without netstat
cat /proc/net/tcp # gives you raw data with hex numbers :-(