Skip to content

Commit

Permalink
Add docs how to install Knative from release (kyma-project#2218)
Browse files Browse the repository at this point in the history
* Add docs how to install Knative from release

* Apply suggestions from code review

Co-Authored-By: sjanota <szymon.janota@sap.com>

* Update 038-inst-knative.md

* link fix
  • Loading branch information
Szymon Janota authored and aszecowka committed Jan 10, 2019
1 parent 5328762 commit 2a748b4
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions docs/kyma/docs/038-inst-knative.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ type: Installation

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

> **NOTE:** You can’t install Kyma with Knative on clusters with a pre-allocated ingress gateway IP address.
> **NOTE:** Knative intagration requires Kyma 0.6 or higher.
## Knative with local deployment from release

When you install Kyma locally from a release, follow [this](#installation-install-kyma-locally-from-the-release-install-kyma-on-minikube) guide and run the following command after you complete step 6:
```
kubectl -n kyma-installer patch configmap installation-config-overrides -p '{"data": {"knative": "true"}}'
```

## 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:
Expand All @@ -13,6 +24,16 @@ When you install Kyma locally from sources, add the `--knative` argument to the
./run.sh --knative
```

## Knative with a GKE cluster deployment from release

To install Kyma with Knative when deploying on a GKE cluster from release, 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 kyma-config-cluster.yaml | sed -e "s/__DOMAIN__/$DOMAIN/g" | sed -e "s/__TLS_CERT__/$TLS_CERT/g" | sed -e "s/global.knative:.*/global.knative: \"true\"/g" | sed -e "s/__TLS_KEY__/$TLS_KEY/g" | sed -e "s/__.*__//g" >my-kyma.yaml
```

## 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.
Expand Down

0 comments on commit 2a748b4

Please sign in to comment.