knative-serving
by Helm
Helm chartv3.0.0App v0.16.0
A knative serving Helm chart for Kubernetes
About this chart
Helm chart for knative serving
Overview
With this chart you are going to install a serving component of Knative on a Kubernetes cluster. Following the knative-serving documentation. Knative install docs
Knative v0.14.0 requires a Kubernetes cluster v1.15 or newer, as well as a compatible kubectl.
#Â Prerequisites
- Istio
- Cert Manager >= 0.12
- Kubernetes >= v1.15
Install
$ helm repo add softonic https://charts.softonic.io
$ helm install knative-serving softonic/knative-serving
Configuration
All configuration settings are contained and described in values.yaml.
| Parameter | Description | Default |
|---|---|---|
certmanager.enabled | Setup the Webhook using cert-manager | false |
podDisruptionBudget.enabled | Enables creation of a PodDisruptionBudget for corresponding deployment. | false |
podDisruptionBudget.minAvailable | Sets the minimum number of pods to be available. Cannot be set at the same time as maxUnavailable. | 1 |
replicaCount | Number of replicas to deploy. | 1 |
affinity | Pod/Node affinity and anti-affinity | {} |
tolerations | List of node taint tolerations. | [] |
nodeSelector | Node labels for pod assignment. | {} |
resources | CPU and memory limits for corresponding container. | {} |
priorityClassName | The name of the priorityClass for the pods. | Unset |
lifecycle | controller pod lifecycle hooks | {} |
core.controller.podAnnotations | Add custom annotation fields to the Controller Deployment | {} |
core.webhook.podAnnotations | Add custom annotation fields Webhook Deployment | {} |
core.autoscaler.podAnnotations | Add custom annotation fields Webhook Deployment | {} |
Deploy knative-serving with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has knative-serving on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartknative-serving is pinned at v3.0.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply