forked from kyma-project/kyma
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add docs for installing Kyma with Knative from sources (kyma-project#…
- Loading branch information
Tomasz Papiernik
committed
Dec 6, 2018
1 parent
8a7b337
commit 121d60d
Showing
2 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` |
File renamed without changes.