This version of the documentation is no longer actively maintained. The site that you are currently viewing is an archived snapshot.

For up-to-date documentation, see the latest version.

Checking the version of your Knative components

To obtain the version of the Knative component that you have running on your cluster, you query for the [component] label with the following commands:

  • Knative Serving

    kubectl get namespace knative-serving -o 'go-template={{index .metadata.labels ""}}'
  • Knative Eventing

    kubectl get namespace knative-eventing -o 'go-template={{index .metadata.labels ""}}'