Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

Commit

Permalink
updated custom runtime documentation links (#1028)
Browse files Browse the repository at this point in the history
  • Loading branch information
mjschmidt authored and Andres Martinez Gotor committed May 6, 2019
1 parent cd1d8f9 commit 5a2f87e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/runtimes.md
Expand Up @@ -482,9 +482,9 @@ For the Ballerina runtime we start a [Ballerina HTTP server](../docker/runtime/b

The Kubeless configuration defines a set of default container images per supported runtime variant.

These default container images can be configured via Kubernetes environment variables on the Kubeless controller's deployment container. Or modifying the `kubeless-config` ConfigMap that is deployed along with the Kubeless controller. For more information about how to modify the Kubeless configuration check [this guide](/docs/function-controller-configuration).
These default container images can be configured via Kubernetes environment variables on the Kubeless controller's deployment container. Or modifying the `kubeless-config` ConfigMap that is deployed along with the Kubeless controller. For more information about how to modify the Kubeless configuration check [this guide](https://kubeless.io/docs/function-controller-configuration/).

Apart than changing the configuration, it is possible to use a custom runtime specifying the image that the function will use. If you are interested in developing a new runtime from scratch (i.e. for a new language) you should follow [this guide](/docs/implementing-new-runtime). In the linked guide you can find the requirements that a new runtime should fulfill and how you can submit new runtimes to the Kubeless project.
Apart than changing the configuration, it is possible to use a custom runtime specifying the image that the function will use. If you are interested in developing a new runtime from scratch (i.e. for a new language) you should follow [this guide](https://kubeless.io/docs/implementing-new-runtime/). In the linked guide you can find the requirements that a new runtime should fulfill and how you can submit new runtimes to the Kubeless project.

In any case, if you want to use one of the existing runtimes but you want to modify it to support a specific feature you can easily do that. The first thing is to modify the files in [`docker/runtime`](https://github.com/kubeless/kubeless/tree/master/docker/runtime) folder. For example, if we want to add the `lodash` `npm` module globally in the NodeJS runtime we can modify its [Dockerfile](https://github.com/kubeless/kubeless/tree/master/docker/runtime/nodejs/Dockerfile.8):

Expand Down

0 comments on commit 5a2f87e

Please sign in to comment.