fix numbered list and tabs formatting (#4784)

fixes: #4703
This commit is contained in:
tomleah 2022-02-25 02:45:42 +00:00 committed by GitHub
parent b5b93fb234
commit 73c8cb3e31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 22 additions and 21 deletions

View File

@ -19,29 +19,30 @@ Create a sample service:
=== "Apply YAML" === "Apply YAML"
1. Create a YAML file using the following example: 1. Create a YAML file using the following example:
```yaml ```yaml
apiVersion: serving.knative.dev/v1 apiVersion: serving.knative.dev/v1
kind: Service kind: Service
metadata: metadata:
name: helloworld-go name: helloworld-go
namespace: default namespace: default
spec: spec:
template: template:
spec: spec:
containers: containers:
- image: gcr.io/knative-samples/helloworld-go - image: gcr.io/knative-samples/helloworld-go
env: env:
- name: TARGET - name: TARGET
value: "Go Sample v1" value: "Go Sample v1"
``` ```
1. Apply the YAML file by running the command:
```bash 1. Apply the YAML file by running the command:
kubectl apply -f <filename>.yaml
``` ```bash
Where `<filename>` is the name of the file you created in the previous step. kubectl apply -f <filename>.yaml
```
Where `<filename>` is the name of the file you created in the previous step.
=== "kn CLI" === "kn CLI"