Skip to content

Commit

Permalink
Add docs for installing Kyma with Knative from sources (kyma-project#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomasz Papiernik committed Dec 6, 2018
1 parent 8a7b337 commit 121d60d
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions docs/kyma/docs/038-inst-knative.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
title: Installation with Knative
type: Installation
---

You can install Kyma with [Knative](https://cloud.google.com/knative/) and use its solutions for handling events and serverless functions.

## Knative with local deployment from sources

When you install Kyma locally from sources, add the `--knative` argument to the `run.sh` script. Run this command:

```
./run.sh --knative
```

## Knative with a GKE cluster deployment from sources

To install Kyma with Knative when deploying on a GKE cluster from sources, follow the instructions outlined in the **Install Kyma on a GKE cluster** installation guide.

To prepare the `my-kyma.yaml` configuration file that installs Kyma with Knative on a GKE cluster, run:

```
cat installation/resources/installer.yaml <(echo -e "\n---") installation/resources/installer-config-cluster.yaml.tpl <(echo -e "\n---") installation/resources/installer-cr-cluster.yaml.tpl | sed -e "s/__KNATIVE__/true/g | sed -e "s/__DOMAIN__/$DOMAIN/g" |sed -e "s/__TLS_CERT__/$TLS_CERT/g" | sed -e "s/__TLS_KEY__/$TLS_KEY/g" | sed -e "s/__.*__//g" > my-kyma.yaml
```

0 comments on commit 121d60d

Please sign in to comment.