mirror of https://github.com/knative/docs.git
parent
b5b93fb234
commit
73c8cb3e31
|
@ -19,7 +19,7 @@ Create a sample service:
|
|||
|
||||
=== "Apply YAML"
|
||||
|
||||
1. Create a YAML file using the following example:
|
||||
1. Create a YAML file using the following example:
|
||||
|
||||
```yaml
|
||||
apiVersion: serving.knative.dev/v1
|
||||
|
@ -36,7 +36,8 @@ Create a sample service:
|
|||
- name: TARGET
|
||||
value: "Go Sample v1"
|
||||
```
|
||||
1. Apply the YAML file by running the command:
|
||||
|
||||
1. Apply the YAML file by running the command:
|
||||
|
||||
```bash
|
||||
kubectl apply -f <filename>.yaml
|
||||
|
|
Loading…
Reference in New Issue