Installing Knative¶
There are three installation methods to install Knative:
- A quickstart experience on a local computer only by using a preconfigured extension.
- A YAML installation suitable for production use.
- A Knative Operator installation suitable for production use.
A Knative installation is composed of the Serving and Eventing components. The quickstart implements both. The YAML and Knative Operator installations provide options to install either or both.
Supported platforms are Linux, MacOS, and Windows.
Installation roadmap¶
Use the following table to evaluate your installation method.
Quickstart | YAML | Knative Operator | |
---|---|---|---|
Purpose | local | production | production |
Kubernetes | local deployment of kind or Minikube | existing deployment | existing deployment |
Hardware | 3 CPU, 3 GB RAM | One node: 6 CPUs, 6 GB memory, 30 GB disk storage. Multiple nodes: 2 CPUs each, 4 GB memory, 20 GB disk storage. |
same as YAML |
Use the following steps to install Knative depending on your installation method.
Quickstart:
- Install the CLI Tools.
- Install the Knative Quickstart plugin.
YAML:
- Install the CLI Tools.
- Install either or both:
- Install Knative Serving.
- Install Knative Eventing.
Operator:
- Install the CLI Tools including the Knative Operator CLI plugin.
- Install using the Knative Operator, and with it the Serving and Eventing components, by either of the following:
- The Knative Operator using K8S Manifests or via Helm.
- The Knative Operator CLI.
All installations require a supported Kubernetes version.
System requirements provided are recommendations only. The requirements for your installation m may, depending on whether you use optional components, such as a networking layer.
For a list of commercial Knative products, see Knative offerings.
Installation resources¶
Use the following links to maintain your installations.