- Docker (tested with version 23.0.1, cgroup driver 'systemd' and version '2')
- Kind (tested with version 0.13.0, installed with 'go install sigs.k8s.io/[email protected]')
- Kubectl
Use a custom KinD configuration and image to enable in-place vertical scaling.
kind create cluster --config config/cluster-conf/kind.conf --image systemautoscaler/kindest-node
kubectl apply -f config/crd/bases
kubectl apply -f config/cluster-conf/openfaas-fn-namespace.yaml
kubectl apply -f config/openfaas/openfaas-function.yaml
kubectl apply -f config/permissions
kubectl taint node kind-control-plane node-role.kubernetes.io/master:NoSchedule-
kubectl label nodes kind-control-plane node-role.kubernetes.io/master=true --overwrite
kubectl apply -f config/deploy
Everything should work except for delay-discovery.
Enjoy!