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.
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.
To add only the Knative Build component to an existing installation:
-
Run the
kubectl apply
command to install Knative Build and its dependencies:kubectl apply -f https://storage.googleapis.com/knative-releases/build/latest/release.yaml
-
Run the
kubectl get
command to monitor the Knative Build components until all of the components show aSTATUS
ofRunning
:kubectl get pods -n knative-build
Tip: Instead of running the
kubectl get
command multiple times, you can append the--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.
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.