Knative Serving (pre-0.4.0)

If your installed version of Knative Serving is earlier than v0.4.0, enter the
following command:

kubectl describe deploy controller --namespace knative-serving

This will return the description for the knative-serving controller; this
information contains the link to the container that was used to install Knative:

---PodTemplate:Labels:app=controllerAnnotations:sidecar.istio.io/inject=falseServiceAccount:controllerContainers:controller:# Link to container used to run the Knative Serving controllerImage:gcr.io/knative-releases/github.com/knative/serving/cmd/controller@sha256:59abc8765d4396a3fc7cac27a932a9cc151ee66343fa5338fb7146b607c6e306

Copy the full gcr.io link to the container and paste it into your browser. If
you are already signed in to a Google account, you’ll be taken to the Google
Container Registry page for that container in the Google Cloud Platform console.
If you aren’t already signed in, you’ll need to sign in to a Google account
before you can view the container details.

On the container details page, you’ll see a section titled “Container
classification,” and in that section is a list of tags. The versions of Knative
you have installed will appear in the list as v0.1.1, or whatever version you
have installed:

Knative Eventing

To check what version of Knative serving you have installed, enter the following
command:

This will return the description for the knative-eventing controller; this
information contains the link to the container that was used to install Knative:

---PodTemplate:Labels:app=eventing-controllereventing.knative.dev/release=develServiceAccount:eventing-controllerContainers:eventing-controller:# Link to container used to run the Knative Eventing controllerImage:gcr.io/knative-releases/github.com/knative/eventing/cmd/controller@sha256:85c010633944c06f4c16253108c2338dba271971b2b5f2d877b8247fa19ff5cb

Copy the full gcr.io link to the container and paste it into your browser. If
you are already signed in to a Google account, you’ll be taken to the Google
Container Registry page for that container in the Google Cloud Platform console.
If you aren’t already signed in, you’ll need to sign in to a Google account
before you can view the container details.

On the container details page, you’ll see a section titled “Container
classification,” and in that section is a list of tags. The versions of Knative
you have installed will appear in the list as v0.1.1, or whatever version you
have installed: