This project uses Knative serving as our serverless frontend of choice.
To install it, you may run:
inv knative.install
the installation process also instals MetalLB, a bare-metal load balancer to provide external IPs required for Knative's networking.
To un-install Knative, you may run:
inv knative.uninstall
note that Knative un-installation process is a bit flaky and likely to fail or leave orphaned resources. If you want a secure fresh Knative restart, we recommend tearing down the cluster and starting it again:
inv kubeadm.destroy
inv kubeadm.create
inv knative.install
To run Knative on CoCo, we need to enable two feature flags when configuring
Knative. Check out the ConfigMap
for
more details.