v0.3 updates for Gardener, ICP, Minikube, Minishift installs (#775)

* v0.3 updates for Gardener, ICP, Minikube, Minishift installs

* Update Knative-with-Gardener.md
This commit is contained in:
Sam O'Dell 2019-01-23 16:41:33 -08:00 committed by Knative Prow Robot
parent 5b5341f6f5
commit 8b2eba433d
4 changed files with 15 additions and 52 deletions

View File

@ -118,49 +118,6 @@ see [Performing a Custom Knative Installation](Knative-custom-install.md).
kubectl get pods --namespace knative-monitoring kubectl get pods --namespace knative-monitoring
``` ```
## Alternative way to enable Knative with Gardener
Ask your Gardener administrator to configure the Gardener Bouquet addon manager
with the following CRDs:
```
apiVersion: "garden.sapcloud.io/v1alpha1"
kind: "AddonManifest"
metadata:
name: "istio-1.0.2"
finalizers:
- "bouquet"
spec:
configMap: "istio-chart-080"
```
```
apiVersion: "garden.sapcloud.io/v1alpha1"
kind: "AddonManifest"
metadata:
name: "knative-0.0.1"
finalizers:
- "bouquet"
spec:
configMap: "knative-chart-001"
dependencies:
istio: "1.0.2"
```
And of course create the respective `ConfigMaps`:
```
curl https://github.com/knative/serving/releases/download/v0.2.3/istio.yaml
kubectl create configmap istio-chart-080 --from-file=istio.yaml
curl https://github.com/knative/serving/releases/download/v0.2.3/release.yaml
kubectl create configmap knative-chart-001 --from-file=release.yaml
```
With this preparation, your team can just activate Knative in the "Addons" tab
when creating a new cluster:
![alt text](images/gardener_addon_checkboxes.png "Addon Checkboxes")
## Set your custom domain ## Set your custom domain
1. Fetch the external IP or CNAME of the knative-ingressgateway 1. Fetch the external IP or CNAME of the knative-ingressgateway

View File

@ -157,6 +157,10 @@ see [Performing a Custom Knative Installation](Knative-custom-install.md).
| kubectl apply --filename - | kubectl apply --filename -
``` ```
See [Installing logging, metrics, and traces](../serving/installing-logging-metrics-traces.md)
for details about installing the various supported observability plug-ins.
1. Monitor the Knative components until all of the components show a 1. Monitor the Knative components until all of the components show a
`STATUS` of `Running`: `STATUS` of `Running`:
```bash ```bash

View File

@ -56,7 +56,7 @@ Knative depends on Istio. Run the following to install Istio. (We are changing
`LoadBalancer` to `NodePort` for the `istio-ingress` service). `LoadBalancer` to `NodePort` for the `istio-ingress` service).
```shell ```shell
curl -L https://github.com/knative/serving/releases/download/v0.2.2/istio.yaml \ curl -L https://github.com/knative/serving/releases/download/v0.3.0/istio.yaml \
| sed 's/LoadBalancer/NodePort/' \ | sed 's/LoadBalancer/NodePort/' \
| kubectl apply --filename - | kubectl apply --filename -
@ -82,13 +82,14 @@ rerun the command to see the current status.
Next, install [Knative Serving](https://github.com/knative/serving): Next, install [Knative Serving](https://github.com/knative/serving):
Because you have limited resources available, use the Because you have limited resources available, install only the Knative Serving
`https://github.com/knative/serving/releases/download/v0.2.2/release-lite.yaml` component, omitting the other Knative components as well as the observability
file, which omits some of the monitoring components to reduce the memory used by and monitoring plugins.
the Knative components. To use the provided `release-lite.yaml` release, run:
Enter the following command:
```shell ```shell
curl -L https://github.com/knative/serving/releases/download/v0.2.2/release-lite.yaml \ curl -L https://github.com/knative/serving/releases/download/v0.3.0/serving.yaml \
| sed 's/LoadBalancer/NodePort/' \ | sed 's/LoadBalancer/NodePort/' \
| kubectl apply --filename - | kubectl apply --filename -
``` ```

View File

@ -161,8 +161,8 @@ curl -s https://raw.githubusercontent.com/knative/docs/master/install/scripts/is
1. Run the following to install Istio: 1. Run the following to install Istio:
```shell ```shell
kubectl apply --filename https://github.com/knative/serving/releases/download/v0.2.2/istio-crds.yaml && \ kubectl apply --filename https://github.com/knative/serving/releases/download/v0.3.0/istio-crds.yaml && \
oc apply -f https://storage.googleapis.com/knative-releases/serving/latest/istio.yaml oc apply -f https://github.com/knative/serving/releases/download/v0.3.0/istio.yaml
``` ```
Note: the resources (CRDs) defined in the `istio-crds.yaml`file are Note: the resources (CRDs) defined in the `istio-crds.yaml`file are
also included in the `istio.yaml` file, but they are pulled out so that also included in the `istio.yaml` file, but they are pulled out so that
@ -203,7 +203,8 @@ curl -s https://raw.githubusercontent.com/knative/docs/master/install/scripts/kn
1. Install Knative serving: 1. Install Knative serving:
```shell ```shell
oc apply -f https://storage.googleapis.com/knative-releases/serving/latest/release-no-mon.yaml oc apply -f https://github.com/knative/serving/releases/download/v0.3.0/serving.yaml \
oc apply -f https://github.com/knative/build/releases/download/v0.3.0/build.yaml
``` ```
2. Monitor the Knative components until all of the components show a `STATUS` of 2. Monitor the Knative components until all of the components show a `STATUS` of