Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.

Commit f939eb5

Browse files
author
Sameer Naik
authored
guides: updates knative deployment guide for TCE (#248)
1 parent 2853531 commit f939eb5

File tree

1 file changed

+29
-16
lines changed

1 file changed

+29
-16
lines changed

docs/guides/installation-tce.md

+29-16
Original file line numberDiff line numberDiff line change
@@ -7,57 +7,70 @@
77

88
## Installation
99

10+
This guide walks you through the deployment of Knative version 1.0.0 [using YAML files](https://knative.dev/docs/admin/install/serving/install-serving-with-yaml/). Please refer to the upstream Knative [documentation](https://knative.dev/docs/install/) for other deployment options.
11+
1012
1. Follow the [Getting Started with Tanzu Community Edition](https://tanzucommunityedition.io/docs/latest/getting-started-standalone/) installation instructions and create your Tanzu cluster on your platform of choice.
13+
1114
1. Ensure you are in the context of your Tanzu cluster
12-
```
15+
16+
```bash
1317
kubectl config use-context <STANDALONE-CLUSTER-NAME>-admin@<STANDALONE-CLUSTER-NAME>
1418
```
1519

1620
1. Install Knative Serving following the [Installing Knative Serving using YAML files](https://knative.dev/docs/admin/install/serving/install-serving-with-yaml/) instructions.
17-
```
18-
kubectl apply -f https://github.com/knative/serving/releases/download/v0.26.0/serving-crds.yam
19-
kubectl apply -f https://github.com/knative/serving/releases/download/v0.26.0/serving-core.yaml
21+
22+
```bash
23+
kubectl apply -f https://github.com/knative/serving/releases/download/knative-v1.0.2/serving-crds.yaml
24+
kubectl apply -f https://github.com/knative/serving/releases/download/knative-v1.0.2/serving-core.yaml
2025
```
2126

2227
1. Wait until the pods have started before proceeding.
23-
```
28+
29+
```bash
2430
kubectl get pods -n knative-serving
2531
```
2632

2733
1. The version of Contour provided with the Tanzu Community Edition package repository is older than the version of `knative-serving` we have installed, so install it from YAML as well.
28-
```
29-
kubectl apply -f https://github.com/knative/net-contour/releases/download/v0.26.0/contour.yaml
30-
kubectl apply -f https://github.com/knative/net-contour/releases/download/v0.26.0/net-contour.yaml
34+
35+
```bash
36+
kubectl apply -f https://github.com/knative-sandbox/net-contour/releases/download/knative-v1.0.0/contour.yaml
37+
kubectl apply -f https://github.com/knative-sandbox/net-contour/releases/download/knative-v1.0.0/net-contour.yaml
3138
```
3239

3340
1. Verify the pods have started before proceeding.
34-
```
41+
42+
```bash
3543
kubectl get pods -n contour-external
3644
kubectl get pods -n contour-internal
3745
```
3846

3947
1. Configure Knative Serving to use Contour by default by running the command:
40-
```
48+
49+
```bash
4150
kubectl patch configmap/config-network \
4251
--namespace knative-serving \
4352
--type merge \
44-
--patch '{"data":{"ingress.class":"contour.ingress.networking.knative.dev"}}'
53+
--patch '{"data":{"ingress-class":"contour.ingress.networking.knative.dev"}}'
4554
```
4655

4756
1. Get the External IP address or CNAME by running the command:
48-
```
57+
58+
```bash
4959
kubectl --namespace contour-external get service envoy
5060
```
5161

5262
1. You will need to configure DNS following the [Knative Serving DNS instructions](https://knative.dev/docs/admin/install/serving/install-serving-with-yaml/#configure-dns) for your requirements.
63+
5364
1. Install Knative Eventing following the [Installing Knative Eventing using YAML files](https://knative.dev/docs/admin/install/eventing/install-eventing-with-yaml/) instructions.
54-
```
55-
kubectl apply -f https://github.com/knative/eventing/releases/download/v0.26.0/eventing-crds.yaml
56-
kubectl apply -f https://github.com/knative/eventing/releases/download/v0.26.0/eventing-core.yaml
65+
66+
```bash
67+
kubectl apply -f https://github.com/knative/eventing/releases/download/knative-v1.0.3/eventing-crds.yaml
68+
kubectl apply -f https://github.com/knative/eventing/releases/download/knative-v1.0.3/eventing-core.yaml
5769
```
5870

5971
1. Verify your installation.
60-
```
72+
73+
```bash
6174
kubectl get pods -n knative-eventing
6275
```
6376

0 commit comments

Comments
 (0)