Installing the Knative Build component
Before you can run a Knative Build, you must install the Knative Build component in your Kubernetes cluster. Use this page to add the Knative Build component to an existing Knative installation.
You have the option to install and use only the components of Knative that you want, for example Knative serving is not required to create and run builds.
Before you begin
You must have a component of Knative installed and running in your Kubernetes cluster. For complete installation instructions, including how to install the Knative Build component, see Installing Knative.
Adding the Knative Build component
To add only the Knative Build component to an existing installation:
- Run the
kubectl applycommand to install Knative Build and its dependencies:
bash kubectl apply --filename https://storage.googleapis.com/knative-releases/build/latest/release.yaml
- Run the
kubectl getcommand to monitor the Knative Build components until all of the components show a
kubectl get pods --namespace knative-build
Tip: Instead of running the
kubectl get command multiple times, you can
--watch flag to view the component’s status updates in real
time. Use CTRL + C to exit watch mode.
You are now ready to create and run Knative Builds, see Creating a simple Knative Build to get started.