📝 Josh's Notes

Kubernetes Notes

Questions

Namespace

Ingress

Helm

Service

Services use selectors which point to labels on pods for requests to be forwarded to

Config Files

Each config has API version and ‘Kind’ (deployment, service, etc) 2. Metadata 3. Specification (meat & potatoes) Template – config file inside config file

Persistent Volumes and PVCs

 1apiVersion: v1
 2kind: Pod
 3metadata:
 4	name: my-pod
 5spec:
 6	containers:
 7		- name: myfrontend
 8		  image: nginx
 9		  volumeMounts:
10		  - MountPath: "/var/www/html"
11		    name: my-data
12	volumes:
13		- name: my-data
14		  persistentVolumeClaim:
15		    claimName: my-pvc

#kubernetes