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