You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Warning: As the `LoadBalancer` creation is asynchronous, and the provisioning of the load balancer can take several minutes, you will surely get a `pending` state for the `EXTERNAL-IP` field. Please try again in a few minutes to get the external IP.
230
+
Warning: As the `LoadBalancer` creation is asynchronous, and the provisioning of the load balancer can take several minutes, you will surely get a `<pending>` state for the `EXTERNAL-IP` field. Please try again in a few minutes to get the external IP.
218
231
219
232
Save this to use in the following Configure DNS section.
220
233
221
234
### Verifying the installation
222
235
223
236
A new `knative-serving` namespace has been created on your Kubernetes cluster with knative serving components, so let's check if Knative Serving components are correctly running:
And we can check the Knative Serving installed version:
@@ -250,34 +261,35 @@ Here is an example of the result:
250
261
251
262
```console
252
263
$ kubectl get namespace knative-serving -o 'go-template={{index .metadata.labels "app.kubernetes.io/version"}}'
253
-
v1.8.3
264
+
1.17.0
254
265
```
255
266
256
-
Knative Serving version 1.8.3 is correctly deployed in our cluster, Cool!
267
+
Knative Serving version 1.17.0 is correctly deployed in our cluster, Cool!
257
268
258
269
#### Configuring DNS
259
270
260
-
By default, Knative Serving uses `example.com` as the default domain.
261
-
262
271
For this tutorial, though it is not mandatory, you can configure DNS to prevent the need to run `curl` commands with a host header.
263
272
264
-
To configure DNS for Knative, take the External IP from setting up networking, and configure it with your DNS provider as follows:
273
+
To configure DNS for Knative, take the External IP from setting up networking (`135.125.83.166` in this example), and configure it with your DNS provider as follows:
265
274
266
275
Configure a wildcard A record for the domain:
267
276
268
-
```
269
-
# Here knative.my-website.com is the domain suffix for your cluster
270
-
*.knative.my-website.com == A 135.125.83.166
277
+
```console
278
+
# Here knative.example.com is the domain suffix for your cluster
279
+
*.knative.example.com == A 135.125.83.166
271
280
```
272
281
282
+
On OVHcloud you can create a new entry to an existant DNS zone, like this:
283
+

284
+
273
285
Once your DNS provider has been configured, direct Knative to use that domain:
274
286
275
-
```
276
-
# Replace knative.example.com with your domain suffix
287
+
```console
288
+
# Replace example.com with your domain suffix
277
289
kubectl patch configmap/config-domain \
278
290
--namespace knative-serving \
279
291
--type merge \
280
-
--patch '{"data":{"knative.my-website.com":""}}'
292
+
--patch '{"data":{"knative.example.com":""}}'
281
293
```
282
294
283
295
For more information about DNS on OVHcloud, please read our guide on [how to configure a DNS zone](/pages/web_cloud/domains/dns_zone_edit).
@@ -361,16 +373,16 @@ And also Knative service, route and revision:
361
373
362
374
```console
363
375
$ kn service list -n knative-apps
364
-
NAME URL LATEST AGE CONDITIONS READY REASON
365
-
hello-world http://hello-world.knative-apps.example.com hello-world-00001 26m 3 OK / 3 True
376
+
NAME URL LATEST AGE CONDITIONS READY REASON
377
+
hello-world http://hello-world.knative-apps.knative.example.com hello-world-00001 51s 3 OK / 3 True
0 commit comments