summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Read <eread@gitlab.com>2019-02-01 08:33:56 +1000
committerEvan Read <eread@gitlab.com>2019-02-01 08:33:56 +1000
commitcbc59db630a1fd5b7ef9ef3ff0b02043b3101cbc (patch)
tree2d85afbbc36525d9378c298870868bb3fc7d2284
parent91ba95f341c99655ac5ed82e6338eb2e072f196a (diff)
downloadgitlab-ce-cbc59db630a1fd5b7ef9ef3ff0b02043b3101cbc.tar.gz
Fix rendering of caution text
-rw-r--r--doc/user/project/clusters/serverless/index.md11
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/user/project/clusters/serverless/index.md b/doc/user/project/clusters/serverless/index.md
index 057ac743db7..aa1e165e3a2 100644
--- a/doc/user/project/clusters/serverless/index.md
+++ b/doc/user/project/clusters/serverless/index.md
@@ -1,6 +1,7 @@
# Serverless
-> Introduced in GitLab 11.5.
+> Introduced in GitLab 11.5.
+
CAUTION: **Caution:**
Serverless is currently in [alpha](https://about.gitlab.com/handbook/product/#alpha).
@@ -138,8 +139,8 @@ Follow these steps to deploy a function using the Node.js runtime to your Knativ
```
-The `serverless.yml` file references both an `echo` directory (under `buildargs`) and an `echo` file (under `handler`),
-which is a reference to `echo.js` in the [repository](https://gitlab.com/knative-examples/functions). Additionally, it
+The `serverless.yml` file references both an `echo` directory (under `buildargs`) and an `echo` file (under `handler`),
+which is a reference to `echo.js` in the [repository](https://gitlab.com/knative-examples/functions). Additionally, it
contains three sections with distinct parameters:
### `service`
@@ -170,7 +171,7 @@ In the `serverless.yml` example above, the function name is `echo` and the subse
| `buildargs` | Pointer to the function file in the repo. In the sample the function is located in the `echo` directory. |
| `environment` | Sets an environment variable for the specific function only. |
-After the `gitlab-ci.yml` template has been added and the `serverless.yml` file has been
+After the `gitlab-ci.yml` template has been added and the `serverless.yml` file has been
created, pushing a commit to your project will result in a
CI pipeline being executed which will deploy each function as a Knative service.
Once the deploy stage has finished, additional details for the function will
@@ -237,7 +238,7 @@ With all the pieces in place, the next time a CI pipeline runs, the Knative appl
### Obtain the URL for the Knative deployment
-Go to the **Operations > Serverless** page to find the URL for your deployment in the **Domain** column.
+Go to the **Operations > Serverless** page to find the URL for your deployment in the **Domain** column.
![app domain](img/app-domain.png)