diff options
author | danielgruesso <dgruesso@gitlab.com> | 2019-01-31 22:57:53 +0300 |
---|---|---|
committer | danielgruesso <dgruesso@gitlab.com> | 2019-01-31 22:57:53 +0300 |
commit | 91ba95f341c99655ac5ed82e6338eb2e072f196a (patch) | |
tree | 0184f61aa47cde68f2ebb02a608526f4c977df17 /doc | |
parent | 46dc355ad2eb1803e94ab181f8f3b52e13d8ad03 (diff) |
Update intro note and steps
Diffstat (limited to 'doc')
-rw-r--r-- | doc/user/project/clusters/serverless/index.md | 11 |
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 83c3dd0faec..057ac743db7 100644 --- a/doc/user/project/clusters/serverless/index.md +++ b/doc/user/project/clusters/serverless/index.md @@ -1,7 +1,8 @@ # Serverless -> Introduced in GitLab 11.5. -> Serverless is currently in [alpha](https://about.gitlab.com/handbook/product/#alpha). +> Introduced in GitLab 11.5. +CAUTION: **Caution:** +Serverless is currently in [alpha](https://about.gitlab.com/handbook/product/#alpha). Run serverless workloads on Kubernetes using [Knative](https://cloud.google.com/knative/). @@ -88,9 +89,9 @@ Follow these steps to deploy a function using the Node.js runtime to your Knativ 1. Create a directory that will house the function. In this example we will create a directory called `echo` at the root of the project. -1. Create the file that will contain the function code. In this example, our file is called `echo.js` and is located inside the `echo` directory. If your project is public, skip to step 4. - -1. If your project is private you will need to [create a GitLab deploy token](../../deploy_tokens/index.md#creating-a-deploy-token) with `gitlab-deploy-token` as the name and the `read_registry` scope. +1. Create the file that will contain the function code. In this example, our file is called `echo.js` and is located inside the `echo` directory. If your project is: + - Public, continue to the next step. + - Private, you will need to [create a GitLab deploy token](../../deploy_tokens/index.md#creating-a-deploy-token) with `gitlab-deploy-token` as the name and the `read_registry` scope. 1. `.gitlab-ci.yml`: This template allows to define the stage, environment, and image to be used for your functions. It must be included at the root of your repository: |