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