Minor change to our upgrade docs (#1059)

People need to delete this one Eventing resource before they can apply
the yaml for the upgrade. W/o this they'll see an error like this:
```
The StatefulSet "controller-manager" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', and 'updateStrategy' are forbidden
```

Signed-off-by: Doug Davis <dug@us.ibm.com>
This commit is contained in:
Doug Davis 2019-03-22 18:43:48 -04:00 committed by Knative Prow Robot
parent 26a9d36413
commit c758cd196d
10 changed files with 90 additions and 0 deletions

View File

@ -283,6 +283,15 @@ commands below.
kubectl delete deploy knative-ingressgateway -n istio-system
```
If you have the Knative Eventing Sources component installed,
you will also need to delete the following resource before upgrading:
```
kubectl delete statefulset/controller-manager -n knative-sources
```
While the deletion of this resource during the upgrade process will
not prevent modifications to Eventing Source resources, those changes will
not be completed until the upgrade process finishes.
1. To install Knative components or plugins, specify the filenames in the
`kubectl apply` command:

View File

@ -181,6 +181,15 @@ your Knative installation, see
kubectl delete deploy knative-ingressgateway -n istio-system
```
If you have the Knative Eventing Sources component installed,
you will also need to delete the following resource before upgrading:
```
kubectl delete statefulset/controller-manager -n knative-sources
```
While the deletion of this resource during the upgrade process will
not prevent modifications to Eventing Source resources, those changes will
not be completed until the upgrade process finishes.
1. Run the `kubectl apply` command to install Knative and its dependencies:
```bash
kubectl apply --filename https://github.com/knative/serving/releases/download/v0.4.0/serving.yaml \

View File

@ -182,6 +182,15 @@ see [Performing a Custom Knative Installation](./Knative-custom-install.md).
kubectl delete deploy knative-ingressgateway -n istio-system
```
If you have the Knative Eventing Sources component installed,
you will also need to delete the following resource before upgrading:
```
kubectl delete statefulset/controller-manager -n knative-sources
```
While the deletion of this resource during the upgrade process will
not prevent modifications to Eventing Source resources, those changes will
not be completed until the upgrade process finishes.
1. Run the `kubectl apply` command to install Knative and its dependencies:
```bash
kubectl apply --filename https://github.com/knative/serving/releases/download/v0.4.0/serving.yaml \

View File

@ -117,6 +117,15 @@ see [Performing a Custom Knative Installation](./Knative-custom-install.md).
kubectl delete deploy knative-ingressgateway -n istio-system
```
If you have the Knative Eventing Sources component installed,
you will also need to delete the following resource before upgrading:
```
kubectl delete statefulset/controller-manager -n knative-sources
```
While the deletion of this resource during the upgrade process will
not prevent modifications to Eventing Source resources, those changes will
not be completed until the upgrade process finishes.
1. Run the `kubectl apply` command to install Knative and its dependencies:
```bash
kubectl apply --filename https://github.com/knative/serving/releases/download/v0.4.0/serving.yaml \

View File

@ -139,6 +139,15 @@ see [Performing a Custom Knative Installation](./Knative-custom-install.md).
kubectl delete deploy knative-ingressgateway -n istio-system
```
If you have the Knative Eventing Sources component installed,
you will also need to delete the following resource before upgrading:
```
kubectl delete statefulset/controller-manager -n knative-sources
```
While the deletion of this resource during the upgrade process will
not prevent modifications to Eventing Source resources, those changes will
not be completed until the upgrade process finishes.
1. Run the following commands to install Knative:
```shell

View File

@ -178,6 +178,15 @@ see [Performing a Custom Knative Installation](./Knative-custom-install.md).
kubectl delete deploy knative-ingressgateway -n istio-system
```
If you have the Knative Eventing Sources component installed,
you will also need to delete the following resource before upgrading:
```
kubectl delete statefulset/controller-manager -n knative-sources
```
While the deletion of this resource during the upgrade process will
not prevent modifications to Eventing Source resources, those changes will
not be completed until the upgrade process finishes.
1. Run the `kubectl apply` command to install Knative and its dependencies:
```bash
kubectl apply --filename https://github.com/knative/serving/releases/download/v0.4.0/serving.yaml \

View File

@ -106,6 +106,15 @@ kubectl delete svc knative-ingressgateway -n istio-system
kubectl delete deploy knative-ingressgateway -n istio-system
```
If you have the Knative Eventing Sources component installed,
you will also need to delete the following resource before upgrading:
```shell
kubectl delete statefulset/controller-manager -n knative-sources
```
While the deletion of this resource during the upgrade process will
not prevent modifications to Eventing Source resources, those changes will
not be completed until the upgrade process finishes.
Enter the following command:
```shell

View File

@ -213,6 +213,15 @@ curl -s https://raw.githubusercontent.com/knative/docs/master/docs/install/scrip
oc delete deploy knative-ingressgateway -n istio-system
```
If you have the Knative Eventing Sources component installed,
you will also need to delete the following resource before upgrading:
```
oc delete statefulset/controller-manager -n knative-sources
```
While the deletion of this resource during the upgrade process will
not prevent modifications to Eventing Source resources, those changes will
not be completed until the upgrade process finishes.
1. Install Knative serving:
```shell

View File

@ -91,6 +91,15 @@ see [Performing a Custom Knative Installation](./Knative-custom-install.md).
kubectl delete deploy knative-ingressgateway -n istio-system
```
If you have the Knative Eventing Sources component installed,
you will also need to delete the following resource before upgrading:
```
kubectl delete statefulset/controller-manager -n knative-sources
```
While the deletion of this resource during the upgrade process will
not prevent modifications to Eventing Source resources, those changes will
not be completed until the upgrade process finishes.
1. Run the `kubectl apply` command to install Knative and its dependencies:
```bash
kubectl apply --filename https://github.com/knative/serving/releases/download/v0.4.0/serving.yaml \

View File

@ -70,6 +70,15 @@ your Knative installation, see
kubectl delete deploy knative-ingressgateway -n istio-system
```
If you have the Knative Eventing Sources component installed,
you will also need to delete the following resource before upgrading:
```
kubectl delete statefulset/controller-manager -n knative-sources
```
While the deletion of this resource during the upgrade process will
not prevent modifications to Eventing Source resources, those changes will
not be completed until the upgrade process finishes.
1. Run the `kubectl apply` command to install Knative and its dependencies:
```bash