Skip to content

Commit 750937f

Browse files
grantrknative-prow-robot
authored andcommitted
Update check-install-version docs (#1343)
Add section about the new Knative Serving release version label, while keeping the old way in a different section. Also add an Eventing section. The Eventing components have the release version label, but it's set to "devel" in 0.6.0.
1 parent af34e66 commit 750937f

File tree

1 file changed

+62
-3
lines changed

1 file changed

+62
-3
lines changed

docs/install/check-install-version.md

Lines changed: 62 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,33 @@
11
---
2-
title: "Checking the version of your Knative Serving installation"
2+
title: "Checking the version of your Knative components"
33
linkTitle: "Checking your install version"
44
weight: 20
55
type: "docs"
66
---
77

8-
If you want to check what version of Knative serving you have installed, enter
8+
## Knative Serving (0.4.0 and later)
9+
10+
If your installed version of Knative Serving is v0.4.0 or later, enter the following command:
11+
12+
```bash
13+
kubectl get deploy -n knative-serving --label-columns=serving.knative.dev/release
14+
```
15+
16+
This will return a list of deployments in the `knative-serving` namespace and their release versions:
17+
18+
```
19+
NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE RELEASE
20+
activator 1 1 1 0 8s v0.6.0
21+
autoscaler 1 1 1 0 8s v0.6.0
22+
controller 1 1 1 1 6s v0.6.0
23+
networking-certmanager 1 1 1 1 6s v0.6.0
24+
networking-istio 1 1 1 1 6s v0.6.0
25+
webhook 1 1 1 1 6s v0.6.0
26+
```
27+
28+
## Knative Serving (pre-0.4.0)
29+
30+
If your installed version of Knative Serving is earlier than v0.4.0, enter
931
the following command:
1032

1133
```bash
@@ -23,7 +45,7 @@ Pod Template:
2345
Service Account: controller
2446
Containers:
2547
controller:
26-
# Link to container used for Knative install
48+
# Link to container used to run the Knative Serving controller
2749
Image: gcr.io/knative-releases/github.com/knative/serving/cmd/controller@sha256:59abc8765d4396a3fc7cac27a932a9cc151ee66343fa5338fb7146b607c6e306
2850
```
2951
@@ -39,3 +61,40 @@ you have installed will appear in the list as `v0.1.1`, or whatever version you
3961
have installed:
4062

4163
![Shows list of tags on container details page; v0.1.1 is the Knative version and is the first tag.](../../images/knative-version.png)
64+
65+
## Knative Eventing
66+
67+
To check what version of Knative serving you have installed, enter
68+
the following command:
69+
70+
```bash
71+
kubectl describe deploy eventing-controller --namespace knative-eventing
72+
```
73+
74+
This will return the description for the `knative-eventing` controller; this
75+
information contains the link to the container that was used to install Knative:
76+
77+
```yaml
78+
---
79+
Pod Template:
80+
Labels: app=eventing-controller
81+
eventing.knative.dev/release=devel
82+
Service Account: eventing-controller
83+
Containers:
84+
eventing-controller:
85+
# Link to container used to run the Knative Eventing controller
86+
Image: gcr.io/knative-releases/github.com/knative/eventing/cmd/controller@sha256:85c010633944c06f4c16253108c2338dba271971b2b5f2d877b8247fa19ff5cb
87+
```
88+
89+
Copy the full `gcr.io` link to the container and paste it into your browser. If
90+
you are already signed in to a Google account, you'll be taken to the Google
91+
Container Registry page for that container in the Google Cloud Platform console.
92+
If you aren't already signed in, you'll need to sign in to a Google account
93+
before you can view the container details.
94+
95+
On the container details page, you'll see a section titled "Container
96+
classification," and in that section is a list of tags. The versions of Knative
97+
you have installed will appear in the list as `v0.1.1`, or whatever version you
98+
have installed:
99+
100+
![Shows list of tags on container details page; v0.1.1 is the Knative version and is the first tag.](../../images/knative-version.png)

0 commit comments

Comments
 (0)