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.

ParameterDescriptionDefault
certmanager.enabledSetup the Webhook using cert-managerfalse
podDisruptionBudget.enabledEnables creation of a PodDisruptionBudget for corresponding deployment.false
podDisruptionBudget.minAvailableSets the minimum number of pods to be available. Cannot be set at the same time as maxUnavailable.1
replicaCountNumber of replicas to deploy.1
affinityPod/Node affinity and anti-affinity{}
tolerationsList of node taint tolerations.[]
nodeSelectorNode labels for pod assignment.{}
resourcesCPU and memory limits for corresponding container.{}
priorityClassNameThe name of the priorityClass for the pods.Unset
lifecyclecontroller pod lifecycle hooks{}
core.controller.podAnnotationsAdd custom annotation fields to the Controller Deployment{}
core.webhook.podAnnotationsAdd custom annotation fields Webhook Deployment{}
core.autoscaler.podAnnotationsAdd 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartknative-serving is pinned at v3.0.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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