[go: up one dir, main page]

Skip to content

Checking your Knative version

To check the version of your Knative installation, use one of the following commands, depending on whether you installed Knative with YAML or with the Operator.

If you installed with YAML

To verify the version of the Knative component that you have running on your cluster, query for the app.kubernetes.io/version label in corresponding component namespace.

Check the installed Knative Serving version by running the command:

kubectl get namespace knative-serving -o 'go-template={{index .metadata.labels "app.kubernetes.io/version"}}'

Example output:

v0.23.0

Check the installed Knative Eventing version by running the command:

kubectl get namespace knative-eventing -o 'go-template={{index .metadata.labels "app.kubernetes.io/version"}}'

Example output:

v0.23.0

If you installed with the Operator

To verify the version of your current Knative installation:

Check the installed Knative Serving version by running the command:

kubectl get KnativeServing knative-serving --namespace knative-serving

Example output:

NAME              VERSION         READY   REASON
knative-serving   0.23.0          True

Check the installed Knative Eventing version by running the command:

kubectl get KnativeEventing knative-eventing --namespace knative-eventing

Example output:

NAME               VERSION         READY   REASON
knative-eventing   0.23.0          True

We use analytics and cookies to understand site traffic. Information about your use of our site is shared with Google for that purpose. Learn more.

× OK