kubernetes

K8s Selectors and Labels

January 15, 2022  -   3 mins read time -   514 words -  garrardkitchen

kubernetes, k8s, deployment, pod, replicaset, selectors, equality-based, set-based, kubectl

Right, what’s the deal with all the labels and metadata in a Deployment manifest?!!!! Take this example: apiVersion: apps/v1 kind: Deployment metadata: namespace: default name: nginx-deployment labels: app: nginx spec: replicas: 3 selector: matchLabels: app: nginx foo: baa template: metadata: labels: app: nginx foo: baa spec: containers: - name: nginx image: nginx:1.14.2 ports: - containerPort: 80 Here, we see metadata twice, and also there’s mention of matchLabels in selector??? What does it all mean? ...

My First Outing With Dapr

November 6, 2020  -   3 mins read time -   563 words -  garrardkitchen

dapr, kubernetes, redis, secret store csi driver, aks, nestjs, keda

TL;DR: Not as forgiving as I’d have liked … I was a speaker at a meet-up in Manchester in late 2020. I spoke about Dapr, Keda and the NestJS Framework. My talk topic was on “Writing less code - let your architecture and abstractions help with your *-cases”. The * in the title is a wildcard for use/edge/corner. My code examples can be found here (includes both docker compose & Kubernetes manifests) - https://github. ...

Kubernetes on Windows

April 6, 2020  -   7 mins read time -   1467 words -  garrardkitchen

blogging, kubernetes, setup, windows, containers, pods, services, azure, aws, gcp

This post is a reminder to me of what needs to be installed in order for a pod, created from a local image, that is to be served up via a kubernetes cluster, to be run from your local development environment. What is Kubernetes and why is it so important? “Kubernetes is a portable, extensible, open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation. It has a large, rapidly growing ecosystem. ...