mirror of https://github.com/knative/docs.git
Fix the mismatch process for creating ksvc based on hello-go (#2664)
This commit is contained in:
parent
13259eb376
commit
35eb9e28d2
|
@ -23,8 +23,8 @@ This YAML file specifies metadata about the application, points to the hosted im
|
||||||
This guide uses the [Hello World sample app in Go](https://knative.dev/docs/serving/samples/hello-world/helloworld-go) to demonstrate the structure of a Service YAML file and the basic workflow for deploying an app. These steps can be adapted for your own application if you have an image of it available on Docker Hub, Google Container Registry, or another container image registry.
|
This guide uses the [Hello World sample app in Go](https://knative.dev/docs/serving/samples/hello-world/helloworld-go) to demonstrate the structure of a Service YAML file and the basic workflow for deploying an app. These steps can be adapted for your own application if you have an image of it available on Docker Hub, Google Container Registry, or another container image registry.
|
||||||
|
|
||||||
The Hello World sample app does the following:
|
The Hello World sample app does the following:
|
||||||
1. Reads an environment variable, `TARGET`, from the configuration .yaml file
|
1. Reads an environment variable `TARGET`.
|
||||||
1. Prints `Hello World: \${TARGET}!`. If `TARGET` is not defined, it will print `NOT SPECIFIED`.
|
2. Prints `Hello ${TARGET}!`. If `TARGET` is not defined, it will use `World` as the `TARGET`.
|
||||||
|
|
||||||
### Procedure
|
### Procedure
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue