Skip to content

Commit ade506c

Browse files
authored
fix: code block renderings (#137)
Signed-off-by: Sebastian Becker <[email protected]>
1 parent f708896 commit ade506c

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

docs/documentation/getting-started/deployment/manual/platform-setup.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ You can switch between the clusters easily using:
117117
the [Istio Operator](https://istio.io/latest/docs/setup/install/operator/)
118118
v1.17.0 using:
119119

120-
<!-- markdownlint-disable MD013 -->
120+
<!-- markdownlint-disable MD013 -->
121121
```shell
122122
curl -L https://istio.io/downloadIstio | ISTIO_VERSION=1.17.0 TARGET_ARCH=x86_64 sh -
123123
helm install istio-operator istio-1.17.0/manifests/charts/istio-operator \
@@ -126,7 +126,7 @@ You can switch between the clusters easily using:
126126
--set hub="docker.io/istio" \
127127
--set tag="1.17.0"
128128
```
129-
<!-- markdownlint-enable MD013 -->
129+
<!-- markdownlint-enable MD013 -->
130130

131131
1. Create an Istio Control Plane in a dedicated namespace using:
132132

@@ -141,7 +141,7 @@ You can switch between the clusters easily using:
141141
need more partner VCs, you have to adjust the configuration
142142
accordingly.
143143

144-
<!-- markdownlint-disable MD013 -->
144+
<!-- markdownlint-disable MD013 -->
145145
```shell
146146
cat <<EOF > istio-control-plane.yaml
147147
apiVersion: v1
@@ -271,7 +271,7 @@ You can switch between the clusters easily using:
271271
EOF
272272
kubectl apply -f istio-control-plane.yaml
273273
```
274-
<!-- markdownlint-enable MD013 -->
274+
<!-- markdownlint-enable MD013 -->
275275
276276
1. Enable istio auto sidecar injection for the default namespace using:
277277
@@ -283,7 +283,7 @@ You can switch between the clusters easily using:
283283
284284
1. Install [MetalLB](https://metallb.universe.tf/) v0.13.9 using:
285285
286-
<!-- markdownlint-disable MD013 -->
286+
<!-- markdownlint-disable MD013 -->
287287
```shell
288288
helm repo add metallb https://metallb.github.io/metallb
289289
kubectl create namespace metallb-system
@@ -299,7 +299,7 @@ You can switch between the clusters easily using:
299299
EOF
300300
helm install metallb metallb/metallb --version 0.13.9 -n metallb-system -f metallb-values.yaml
301301
```
302-
<!-- markdownlint-enable MD013 -->
302+
<!-- markdownlint-enable MD013 -->
303303
304304
1. Configure MetalLB using:
305305
@@ -360,23 +360,23 @@ The public IP eventually appears in column `EXTERNAL-IP`.
360360
361361
1. Export the external IP for later use:
362362
363-
<!-- markdownlint-disable MD013 -->
363+
<!-- markdownlint-disable MD013 -->
364364
```shell
365365
export EXTERNAL_IP=$(kubectl get services --namespace istio-system istio-ingressgateway --output jsonpath='{.status.loadBalancer.ingress[0].ip}')
366366
```
367-
<!-- markdownlint-enable MD013 -->
367+
<!-- markdownlint-enable MD013 -->
368368
369369
### Knative
370370
371371
1. Install the
372372
[Knative Operator](https://knative.dev/docs/install/operator/knative-with-operators/)
373373
v1.8.2 using:
374374
375-
<!-- markdownlint-disable MD013 -->
375+
<!-- markdownlint-disable MD013 -->
376376
```shell
377377
kubectl apply -f https://github.com/knative/operator/releases/download/knative-v1.8.2/operator.yaml
378378
```
379-
<!-- markdownlint-enable MD013 -->
379+
<!-- markdownlint-enable MD013 -->
380380
381381
1. Create a namespace for Knative Serving using:
382382
@@ -387,7 +387,7 @@ The public IP eventually appears in column `EXTERNAL-IP`.
387387
1. Install the patched Knative Serving component with a
388388
[sslip.io](https://sslip.io/) custom domain using:
389389
390-
<!-- markdownlint-disable MD013 -->
390+
<!-- markdownlint-disable MD013 -->
391391
```shell
392392
cat <<EOF | envsubst > knative-serving.yaml
393393
apiVersion: operator.knative.dev/v1beta1
@@ -426,7 +426,7 @@ The public IP eventually appears in column `EXTERNAL-IP`.
426426
EOF
427427
kubectl apply -f knative-serving.yaml
428428
```
429-
<!-- markdownlint-enable MD013 -->
429+
<!-- markdownlint-enable MD013 -->
430430
431431
The configuration above will also increase Knative's default
432432
[max-revision-timeout-seconds](https://knative.dev/v1.9-docs/serving/configuration/config-defaults/#revision-timeout-seconds)
@@ -445,7 +445,7 @@ using:
445445
curl -sL https://github.com/zalando/postgres-operator/archive/refs/tags/v1.9.0.tar.gz | tar -xz
446446
helm install postgres-operator postgres-operator-1.9.0/charts/postgres-operator
447447
```
448-
<!-- markdownlint-enable MD013 -->
448+
<!-- markdownlint-enable MD013 -->
449449
450450
## Clean Up
451451
@@ -475,7 +475,7 @@ cluster like
475475
ERROR: failed to create cluster: failed to ensure docker network: command "docker network create -d=bridge -o com.docker.network.bridge.enable_ip_masquerade=true -o com.docker.network.driver.mtu=1500 --ipv6 --subnet fc00:f853:ccd:e793::/64 kind" failed with error: exit status 1
476476
Command Output: Error response from daemon: could not find an available, non-overlapping IPv4 address pool among the default
477477
```
478-
<!-- markdownlint-enable MD013 -->
478+
<!-- markdownlint-enable MD013 -->
479479
480480
follow the advice given [here](https://stackoverflow.com/a/45694531).
481481

docs/documentation/getting-started/deployment/manual/stack.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ clusters using the kind tool as described in the
126126
the certificates, they are created in the `istio-system` namespace and then
127127
copied to the `knative-serving` and `default` namespace.
128128

129-
<!-- markdownlint-disable MD013 -->
129+
<!-- markdownlint-disable MD013 -->
130130
```shell
131131
# Create X.509 certificates
132132
mkdir -p certs
@@ -143,18 +143,18 @@ clusters using the kind tool as described in the
143143
kubectl get secret starbuck-tls-secret-generic -n istio-system -o yaml | sed 's/namespace: istio-system/namespace: knative-serving/' | kubectl apply -n knative-serving -f -
144144
kubectl get secret starbuck-tls-secret-generic -n istio-system -o yaml | sed 's/namespace: istio-system/namespace: default/' | kubectl apply -n default -f -
145145
```
146-
<!-- markdownlint-enable MD013 -->
146+
<!-- markdownlint-enable MD013 -->
147147

148148
1. Patch Knative to secure its gateway using TLS with the generated certificates:
149149

150-
<!-- markdownlint-disable MD013 -->
150+
<!-- markdownlint-disable MD013 -->
151151
```shell
152152
kubectl config use-context kind-apollo
153153
kubectl patch gateway knative-ingress-gateway --namespace knative-serving --type=json --patch="[{\"op\": \"add\", \"path\": \"/spec/servers/0/tls\", \"value\": {\"mode\": \"SIMPLE\", \"credentialName\": \"apollo-tls-secret-generic\"}}]"
154154
kubectl config use-context kind-starbuck
155155
kubectl patch gateway knative-ingress-gateway --namespace knative-serving --type=json --patch="[{\"op\": \"add\", \"path\": \"/spec/servers/0/tls\", \"value\": {\"mode\": \"SIMPLE\", \"credentialName\": \"starbuck-tls-secret-generic\"}}]"
156156
```
157-
<!-- markdownlint-enable MD013 -->
157+
<!-- markdownlint-enable MD013 -->
158158

159159
1. Launch the `starbuck` VCP using:
160160

0 commit comments

Comments
 (0)