Skip to content

Commit

Permalink
remove cert-manager from serving install (#1692)
Browse files Browse the repository at this point in the history
* remove cert-manager from serving install

* add dynamic version

* remove mention of auto tls
  • Loading branch information
RichieEscarez authored and knative-prow-robot committed Aug 13, 2019
1 parent f5f5999 commit 11be86a
Show file tree
Hide file tree
Showing 12 changed files with 186 additions and 310 deletions.
172 changes: 82 additions & 90 deletions docs/install/Knative-custom-install.md

Large diffs are not rendered by default.

32 changes: 12 additions & 20 deletions docs/install/Knative-with-AKS.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,6 @@ recommended configuration for a cluster is:

## Installing Istio

> Note: [Ambassador](https://www.getambassador.io/) and
> [Gloo](https://gloo.solo.io/) are available as an alternative to Istio.
> [Click here](./Knative-with-Ambassador.md) to install Knative with Ambassador.
> [Click here](./Knative-with-Gloo.md) to install Knative with Gloo.

Knative depends on Istio. If your cloud platform offers a managed Istio
installation, we recommend installing Istio that way, unless you need the
ability to customize your installation.
Expand All @@ -150,6 +145,11 @@ Minkube or similar, see the
You must install Istio on your Kubernetes cluster before continuing with these
instructions to install Knative.

> Note: [Ambassador](https://www.getambassador.io/) and
> [Gloo](https://gloo.solo.io/) are available as an alternative to Istio.
> [Click here](./Knative-with-Ambassador.md) to install Knative with Ambassador.
> [Click here](./Knative-with-Gloo.md) to install Knative with Gloo.

## Installing Knative

The following commands install all available Knative components. To customize
Expand Down Expand Up @@ -194,22 +194,11 @@ your Knative installation, see
Knative and its dependencies:

```bash
kubectl apply --filename https://github.com/knative/serving/releases/download/{{< version >}}/serving.yaml --selector networking.knative.dev/certificate-provider!=cert-manager \
kubectl apply --filename https://github.com/knative/serving/releases/download/{{< version >}}/serving.yaml \
--filename https://github.com/knative/eventing/releases/download/{{< version >}}/release.yaml \
--filename https://github.com/knative/serving/releases/download/{{< version >}}/monitoring.yaml
```

> **Notes**:
>
> - By default, the Knative Serving component installation (`serving.yaml`)
> includes a controller for
> [enabling automatic TLS certificate provisioning](../serving/using-auto-tls.md).
> If you do intend on immediately enabling auto certificates in Knative,
> you can remove the
> `--selector networking.knative.dev/certificate-provider!=cert-manager`
> statement to install the controller. Otherwise, you can choose to install
> the auto certificates feature and controller at a later time.

1. Monitor the Knative components until all of the components show a `STATUS` of
`Running`:
```bash
Expand All @@ -223,12 +212,15 @@ your Knative installation, see
Now that your cluster has Knative installed, you can see what Knative has to
offer.

To deploy your first app with Knative, follow the step-by-step
To deploy your first app with the
[Getting Started with Knative App Deployment](./getting-started-knative-app.md)
guide.

To get started with Knative Eventing, pick one of the
[Eventing Samples](../eventing/samples/) to walk through.
Get started with Knative Eventing by walking through one of the
[Eventing Samples](../eventing/samples/).

[Install Cert-Manager](../serving/installing-cert-manager.md) if you want to use the
[automatic TLS cert provisioning feature](../serving/using-auto-tls.md).

## Cleaning up

Expand Down
23 changes: 6 additions & 17 deletions docs/install/Knative-with-Ambassador.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,26 +36,15 @@ see Performing a Custom Knative Installation.
race conditions during the install, which cause intermittent errors:

kubectl apply -l knative.dev/crd-install=true \
--filename https://github.com/knative/serving/releases/download/v0.7.1/serving.yaml \
--filename https://github.com/knative/serving/releases/download/v0.7.1/monitoring.yaml
--filename https://github.com/knative/serving/releases/download/{{< version >}}/serving.yaml \
--filename https://github.com/knative/serving/releases/download/{{< version >}}/monitoring.yaml

2. To complete the install of Knative and it's dependencies, run the
`kubectl apply` command again, this time without the
`-l knative.dev/crd-install=true`:

kubectl apply --filename https://github.com/knative/serving/releases/download/v0.7.1 serving.yaml --selector networking.knative.dev/certificate-provider!=cert-manager \
--filename https://github.com/knative/serving/releases/download/v0.7.1/monitoring.yaml

> **Notes**:
>
> - By default, the Knative Serving component installation (`serving.yaml`)
> includes a controller for
> [enabling automatic TLS certificate provisioning](../serving/using-auto-tls.md).
> If you do intend on immediately enabling auto certificates in Knative,
> you can remove the
> `--selector networking.knative.dev/certificate-provider!=cert-manager`
> statement to install the controller. Otherwise, you can choose to
> install the auto certificates feature and controller at a later time.
kubectl apply --filename https://github.com/knative/serving/releases/download/{{< version >}}/serving.yaml \
--filename https://github.com/knative/serving/releases/download/{{< version >}}/monitoring.yaml

3. Monitor the Knative namespaces and wait until all of the pods come up with a
`STATUS` of `Running`:
Expand Down Expand Up @@ -158,5 +147,5 @@ manage and route to serverless applications!
- Try the
[Getting Started with App Deployment guide](./getting-started-knative-app/)
for Knative serving.
- Take a look at the rest of what
[Knative has to offer](https://knative.dev/docs/index.html)
- Get started with Knative Eventing by walking through one of the
[Eventing Samples](../eventing/samples/).
54 changes: 19 additions & 35 deletions docs/install/Knative-with-Docker-for-Mac.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,56 +33,34 @@ continuing.

## Installing Istio

Knative depends on Istio. Run the following to install Istio. (This changes
`LoadBalancer` to `NodePort` for the `istio-ingress` service).
Knative depends on [Istio](https://istio.io/docs/concepts/what-is-istio/) for
traffic routing and ingress. You have the option of injecting Istio sidecars and
enabling the Istio service mesh, but it's not required for all Knative
components.

```shell
curl -L https://raw.githubusercontent.com/knative/serving/v0.5.2/third_party/istio-1.0.7/istio.yaml \
| sed 's/LoadBalancer/NodePort/' \
| kubectl apply --filename -

# Label the default namespace with istio-injection=enabled.
kubectl label namespace default istio-injection=enabled
```

Monitor the Istio components until all of the components show a `STATUS` of
`Running` or `Completed`:

```shell
kubectl get pods --namespace istio-system
```
If your cloud platform offers a managed Istio installation, we recommend
installing Istio that way, unless you need the ability to customize your
installation.

It will take a few minutes for all the components to be up and running; you can
rerun the command to see the current status.

> Note: Instead of rerunning the command, you can add `--watch` to the above
> command to view the component's status updates in real time. Use CTRL+C to
> exit watch mode.
If you prefer to install Istio manually, if your cloud provider doesn't offer a
managed Istio installation, or if you're installing Knative locally using
Minkube or similar, see the
[Installing Istio for Knative guide](./installing-istio.md).

## Installing Knative Serving

Next, install [Knative Serving](https://github.com/knative/serving).

Because you have limited resources available, use the
`https://github.com/knative/serving/releases/download/v0.5.2/serving.yaml` file,
`https://github.com/knative/serving/releases/download/{{< version >}}/serving.yaml` file,
which installs only Knative Serving:

```shell
curl -L https://github.com/knative/serving/releases/download/{{< version >}}/serving.yaml \
| sed 's/LoadBalancer/NodePort/' \
| kubectl apply --selector networking.knative.dev/certificate-provider!=cert-manager --filename -
| kubectl apply --filename -
```

**Notes**:

> - By default, the Knative Serving component installation (`serving.yaml`)
> includes a controller for
> [enabling automatic TLS certificate provisioning](../serving/using-auto-tls.md).
> If you do intend on immediately enabling auto certificates in Knative, you
> can remove the
> `--selector networking.knative.dev/certificate-provider!=cert-manager`
> statement to install the controller.
> Note: Unlike minikube, we're not changing the LoadBalancer to a NodePort here.
> Docker for Mac will assign `localhost` as the host for that LoadBalancer,
> making the applications available easily.
Expand Down Expand Up @@ -119,6 +97,12 @@ head to the [sample apps](../serving/samples/README.md) repo.
> Note: You can replace the {IP_ADDRESS} placeholder used in the samples with
> `localhost` as mentioned above.
Get started with Knative Eventing by walking through one of the
[Eventing Samples](../eventing/samples/).

[Install Cert-Manager](../serving/installing-cert-manager.md) if you want to use the
[automatic TLS cert provisioning feature](../serving/using-auto-tls.md).

## Cleaning up

Docker for Mac supports several levels of resetting its state and thus cleaning
Expand Down
22 changes: 7 additions & 15 deletions docs/install/Knative-with-GKE.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,22 +170,11 @@ see [Performing a Custom Knative Installation](./Knative-custom-install.md).
complete the install of Knative and its dependencies:
```bash
kubectl apply --filename https://github.com/knative/serving/releases/download/{{< version >}}/serving.yaml --selector networking.knative.dev/certificate-provider!=cert-manager \
kubectl apply --filename https://github.com/knative/serving/releases/download/{{< version >}}/serving.yaml \
--filename https://github.com/knative/eventing/releases/download/{{< version >}}/eventing.yaml \
--filename https://github.com/knative/serving/releases/download/{{< version >}}/monitoring.yaml
```
> **Notes**:
>
> - By default, the Knative Serving component installation (`serving.yaml`)
> includes a controller for
> [enabling automatic TLS certificate provisioning](../serving/using-auto-tls.md).
> If you do intend on immediately enabling auto certificates in Knative,
> you can remove the
> `--selector networking.knative.dev/certificate-provider!=cert-manager`
> statement to install the controller. Otherwise, you can choose to install
> the auto certificates feature and controller at a later time.
1. Monitor the Knative components until all of the components show a `STATUS` of
`Running`:
Expand All @@ -200,12 +189,15 @@ see [Performing a Custom Knative Installation](./Knative-custom-install.md).
Now that your cluster has Knative installed, you can see what Knative has to
offer.

To deploy your first app with Knative, follow the step-by-step
To deploy your first app with the
[Getting Started with Knative App Deployment](./getting-started-knative-app.md)
guide.

To get started with Knative Eventing, pick one of the
[Eventing Samples](../eventing/samples/) to walk through.
Get started with Knative Eventing by walking through one of the
[Eventing Samples](../eventing/samples/).

[Install Cert-Manager](../serving/installing-cert-manager.md) if you want to use the
[automatic TLS cert provisioning feature](../serving/using-auto-tls.md).

## Cleaning up

Expand Down
22 changes: 7 additions & 15 deletions docs/install/Knative-with-Gardener.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,22 +125,11 @@ see [Performing a Custom Knative Installation](./Knative-custom-install.md).
complete the install of Knative and its dependencies:

```bash
kubectl apply --filename https://github.com/knative/serving/releases/download/{{< version >}}/serving.yaml --selector networking.knative.dev/certificate-provider!=cert-manager \
kubectl apply --filename https://github.com/knative/serving/releases/download/{{< version >}}/serving.yaml \
--filename https://github.com/knative/eventing/releases/download/{{< version >}}/release.yaml \
--filename https://github.com/knative/serving/releases/download/{{< version >}}/monitoring.yaml
```

> **Notes**:
>
> - By default, the Knative Serving component installation (`serving.yaml`)
> includes a controller for
> [enabling automatic TLS certificate provisioning](../serving/using-auto-tls.md).
> If you do intend on immediately enabling auto certificates in Knative,
> you can remove the
> `--selector networking.knative.dev/certificate-provider!=cert-manager`
> statement to install the controller. Otherwise, you can choose to install
> the auto certificates feature and controller at a later time.

1. Monitor the Knative components until all of the components show a `STATUS` of
`Running`:
```bash
Expand Down Expand Up @@ -185,12 +174,15 @@ kind: ConfigMap
Now that your cluster has Knative installed, you can see what Knative has to
offer.

To deploy your first app with Knative, follow the step-by-step
To deploy your first app with the
[Getting Started with Knative App Deployment](./getting-started-knative-app.md)
guide.

To get started with Knative Eventing, pick one of the
[Eventing Samples](../eventing/samples/) to walk through.
Get started with Knative Eventing by walking through one of the
[Eventing Samples](../eventing/samples/).

[Install Cert-Manager](../serving/installing-cert-manager.md) if you want to use the
[automatic TLS cert provisioning feature](../serving/using-auto-tls.md).

## Cleaning up

Expand Down
19 changes: 6 additions & 13 deletions docs/install/Knative-with-ICP.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,19 +162,9 @@ see [Performing a Custom Knative Installation](./Knative-custom-install.md).
```shell
curl -L https://github.com/knative/serving/releases/download/{{< version >}}/serving.yaml \
| sed 's/LoadBalancer/NodePort/' \
| kubectl apply --selector networking.knative.dev/certificate-provider!=cert-manager --filename -
| kubectl apply --filename -
```

**Notes**:

> - By default, the Knative Serving component installation (`serving.yaml`)
> includes a controller for
> [enabling automatic TLS certificate provisioning](../serving/using-auto-tls.md).
> If you do intend on immediately enabling auto certificates in Knative,
> you can remove the
> `--selector networking.knative.dev/certificate-provider!=cert-manager`
> statement to install the controller.

```shell
curl -L https://github.com/knative/eventing/releases/download/{{< version >}}/release.yaml \
| sed 's/LoadBalancer/NodePort/' \
Expand Down Expand Up @@ -217,7 +207,7 @@ Now you can deploy an app to your newly created Knative cluster.
Now that your cluster has Knative installed, you can see what Knative has to
offer.

To deploy your first app with Knative, follow the step-by-step
To deploy your first app with the
[Getting Started with Knative App Deployment](./getting-started-knative-app.md)
guide.

Expand All @@ -230,9 +220,12 @@ echo $(ICP cluster ip):$(kubectl get svc istio-ingressgateway --namespace istio-
--output 'jsonpath={.spec.ports[?(@.port==80)].nodePort}')
```

To get started with Knative Eventing, walk through one of the
Get started with Knative Eventing by walking through one of the
[Eventing Samples](../eventing/samples/).

[Install Cert-Manager](../serving/installing-cert-manager.md) if you want to use the
[automatic TLS cert provisioning feature](../serving/using-auto-tls.md).

## Cleaning up

To remove Knative from your IBM Cloud Private cluster, run the following
Expand Down
22 changes: 7 additions & 15 deletions docs/install/Knative-with-IKS.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,22 +209,11 @@ see [Performing a Custom Knative Installation](./Knative-custom-install.md).
complete the install of Knative and its dependencies:
```bash
kubectl apply --filename https://github.com/knative/serving/releases/download/{{< version >}}/serving.yaml --selector networking.knative.dev/certificate-provider!=cert-manager \
kubectl apply --filename https://github.com/knative/serving/releases/download/{{< version >}}/serving.yaml \
--filename https://github.com/knative/eventing/releases/download/{{< version >}}/release.yaml \
--filename https://github.com/knative/serving/releases/download/{{< version >}}/monitoring.yaml
```
> **Notes**:
>
> - By default, the Knative Serving component installation (`serving.yaml`)
> includes a controller for
> [enabling automatic TLS certificate provisioning](../serving/using-auto-tls.md).
> If you do intend on immediately enabling auto certificates in Knative,
> you can remove the
> `--selector networking.knative.dev/certificate-provider!=cert-manager`
> statement to install the controller. Otherwise, you can choose to install
> the auto certificates feature and controller at a later time.
1. Monitor the Knative components until all of the components show a `STATUS` of
`Running`:
```bash
Expand All @@ -238,12 +227,15 @@ see [Performing a Custom Knative Installation](./Knative-custom-install.md).
Now that your cluster has Knative installed, you can see what Knative has to
offer.

To deploy your first app with Knative, follow the step-by-step
To deploy your first app with the
[Getting Started with Knative App Deployment](./getting-started-knative-app.md)
guide.

To get started with Knative Eventing, pick one of the
[Eventing Samples](../eventing/samples/) to walk through.
Get started with Knative Eventing by walking through one of the
[Eventing Samples](../eventing/samples/).

[Install Cert-Manager](../serving/installing-cert-manager.md) if you want to use the
[automatic TLS cert provisioning feature](../serving/using-auto-tls.md).

## Cleaning up

Expand Down
Loading

0 comments on commit 11be86a

Please sign in to comment.