Skip to content

Commit f5e3fcd

Browse files
authored
add default tabs for install dns and extensions (#3260)
Closes #3259
1 parent 006ed3b commit f5e3fcd

File tree

1 file changed

+19
-11
lines changed

1 file changed

+19
-11
lines changed

docs/install/any-kubernetes-cluster.md

+19-11
Original file line numberDiff line numberDiff line change
@@ -287,20 +287,26 @@ The following commands install Kourier and enable its Knative integration.
287287

288288
<!-- This indentation is important for things to render properly. -->
289289

290-
{{< tabs name="serving_dns" >}} {{% tab name="Magic DNS (xip.io)" %}} We ship
291-
a simple Kubernetes Job called "default domain" that will (see caveats)
292-
configure Knative Serving to use <a href="http://xip.io">xip.io</a> as the
293-
default DNS suffix.
290+
{{< tabs name="serving_dns" default="Magic DNS (xip.io)" >}}
291+
{{% tab name="Magic DNS (xip.io)" %}}
292+
293+
We ship a simple Kubernetes Job called "default domain" that will (see caveats)
294+
configure Knative Serving to use <a href="http://xip.io">xip.io</a> as the
295+
default DNS suffix.
294296

295297
```bash
296298
kubectl apply --filename {{< artifact repo="serving" file="serving-default-domain.yaml" >}}
297299
```
298300

299301
**Caveat**: This will only work if the cluster LoadBalancer service exposes an
300302
IPv4 address or hostname, so it will not work with IPv6 clusters or local setups
301-
like Minikube. For these, see "Real DNS" or "Temporary DNS". {{< /tab >}}
303+
like Minikube. For these, see "Real DNS" or "Temporary DNS".
304+
305+
{{< /tab >}}
302306

303-
{{% tab name="Real DNS" %}} To configure DNS for Knative, take the External IP
307+
{{% tab name="Real DNS" %}}
308+
309+
To configure DNS for Knative, take the External IP
304310
or CNAME from setting up networking, and configure it with your DNS provider as
305311
follows:
306312

@@ -332,7 +338,9 @@ kubectl patch configmap/config-domain \
332338

333339
{{< /tab >}}
334340

335-
{{% tab name="Temporary DNS" %}} If you are using `curl` to access the sample
341+
{{% tab name="Temporary DNS" %}}
342+
343+
If you are using `curl` to access the sample
336344
applications, or your own Knative app, and are unable to use the "Magic DNS
337345
(xip.io)" or "Real DNS" methods, there is a temporary approach. This is useful
338346
for those who wish to evaluate Knative without altering their DNS configuration,
@@ -374,9 +382,7 @@ To access your application using `curl` using this method:
374382

375383
Refer to the "Real DNS" method for a permanent solution.
376384

377-
{{< /tab >}}
378-
379-
{{< /tabs >}}
385+
{{< /tab >}} {{< /tabs >}}
380386

381387
1. Monitor the Knative components until all of the components show a `STATUS` of
382388
`Running` or `Completed`:
@@ -389,7 +395,9 @@ At this point, you have a basic installation of Knative Serving!
389395

390396
### Optional Serving extensions
391397

392-
{{< tabs name="serving_extensions" >}} {{% tab name="HPA autoscaling" %}}
398+
{{< tabs name="serving_extensions" default="TLS via HTTP01" >}}
399+
400+
{{% tab name="HPA autoscaling" %}}
393401

394402
Knative also supports the use of the Kubernetes Horizontal Pod Autoscaler (HPA)
395403
for driving autoscaling decisions. The following command will install the

0 commit comments

Comments
 (0)