|
12 | 12 | ```
|
13 | 13 | kubectl config use-context <STANDALONE-CLUSTER-NAME>-admin@<STANDALONE-CLUSTER-NAME>
|
14 | 14 | ```
|
| 15 | + |
15 | 16 | 1. Install Knative Serving following the [Installing Knative Serving using YAML files](https://knative.dev/docs/admin/install/serving/install-serving-with-yaml/) instructions.
|
16 | 17 | ```
|
17 | 18 | kubectl apply -f https://github.com/knative/serving/releases/download/v0.26.0/serving-crds.yam
|
18 | 19 | kubectl apply -f https://github.com/knative/serving/releases/download/v0.26.0/serving-core.yaml
|
19 | 20 | ```
|
| 21 | + |
20 | 22 | 1. Wait until the pods have started before proceeding.
|
21 | 23 | ```
|
22 | 24 | kubectl get pods -n knative-serving
|
23 | 25 | ```
|
| 26 | + |
24 | 27 | 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.
|
25 | 28 | ```
|
26 | 29 | kubectl apply -f https://github.com/knative/net-contour/releases/download/v0.26.0/contour.yaml
|
27 | 30 | kubectl apply -f https://github.com/knative/net-contour/releases/download/v0.26.0/net-contour.yaml
|
28 | 31 | ```
|
| 32 | + |
29 | 33 | 1. Verify the pods have started before proceeding.
|
30 | 34 | ```
|
31 |
| -kubectl get pods -n | grep contour |
| 35 | +kubectl get pods -n contour-external |
| 36 | +kubectl get pods -n contour-internal |
32 | 37 | ```
|
| 38 | + |
33 | 39 | 1. Configure Knative Serving to use Contour by default by running the command:
|
34 | 40 | ```
|
35 | 41 | kubectl patch configmap/config-network \
|
36 | 42 | --namespace knative-serving \
|
37 | 43 | --type merge \
|
38 | 44 | --patch '{"data":{"ingress.class":"contour.ingress.networking.knative.dev"}}'
|
39 | 45 | ```
|
| 46 | + |
40 | 47 | 1. Get the External IP address or CNAME by running the command:
|
41 | 48 | ```
|
42 | 49 | kubectl --namespace contour-external get service envoy
|
43 | 50 | ```
|
| 51 | + |
44 | 52 | 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.
|
45 | 53 | 1. Install Knative Eventing following the [Installing Knative Eventing using YAML files](https://knative.dev/docs/admin/install/eventing/install-eventing-with-yaml/) instructions.
|
46 | 54 | ```
|
47 | 55 | kubectl apply -f https://github.com/knative/eventing/releases/download/v0.26.0/eventing-crds.yaml
|
48 | 56 | kubectl apply -f https://github.com/knative/eventing/releases/download/v0.26.0/eventing-core.yaml
|
49 | 57 | ```
|
| 58 | + |
50 | 59 | 1. Verify your installation.
|
51 | 60 | ```
|
52 | 61 | kubectl get pods -n knative-eventing
|
|
0 commit comments