This guide explains how to build the kube-httpcache Docker image locally and test it in a local KinD1 cluster.
-
Build image and load into kind:
$ docker build -t quay.io/mittwald/kube-httpcache:dev -f build/packages/docker/Dockerfile . $ kind load docker-image quay.io/mittwald/kube-httpcache:dev
-
Deploy an example backend workload:
$ kubectl apply -f examples/test.yaml
-
Deploy Helm chart with example configuration:
$ helm upgrade --install -f ./test/test-values.yaml kube-httpcache ./chart
-
Port-forward to the cache:
$ kubectl port-forward svc/kube-httpcache 8080:80