Installing Knative

Follow this guide to install Knative components on a platform of your choice.

Choosing a Kubernetes cluster

To get started with Knative, you need a Kubernetes cluster. If you aren’t sure which Kubernetes platform is right for you, see Picking the Right Solution.

We provide information for installing Knative on Google Kubernetes Engine, IBM Cloud Kubernetes Service, IBM Cloud Private, Azure Kubernetes Service, Minikube, OpenShift and Pivotal Container Service clusters.

Installing Knative

There are several options when installing Knative:

  • Comprehensive install – Comes with the default versions of all Knative components as well as a set of observability plugins. Quickest option for setup.

  • Limited install – Installs a subset of Knative components.

  • Custom install – Takes longer, but allows you to choose exactly which components and oberservability plugins to install.

For new users, we recommend the comprehensive install to get you up and running quickly.

Install guides

Follow these step-by-step guides for setting up Kubernetes and installing Knative components.

Comprehensive install guides

The guides below show you how to create a Kubernetes cluster with the right specs for Knative on your platform of choice, then walk through installing all available Knative components and a set of observability plugins.

If you already have a Kubernetes cluster you’re comfortable installing alpha

software on, use the following guide to install all Knative components:

Limited install guides

The guides below install some of the available Knative components, without all available observability plugins, to minimize the disk space used for install. * Knative Install on Docker for Mac * Knative Install on Minikube * Knative Install on Minishift * Knative Install on OpenShift

Custom install guide

To choose which components and observability plugins to install, follow the custom install guide:

Note: If need to set up a Kubernetes cluster with the correct specifications to run Knative, you can follow any of the install instructions through the creation of the cluster, then follow the Perfoming a Custom Knative Installation guide.

Observability install guide

Follow this guide to install and set up the available observability plugins on a Knative cluster.

Deploying an app

Now you’re ready to deploy an app:

Configuring Knative Serving

After your Knative installation is running, you can set up a custom domain with a static IP address to be able to use Knative for publicly available services and set up an Istio IP range for outbound network access:

Checking the version of your Knative Serving installation

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License.