docs snapshot for crossplane version `master`

This commit is contained in:
Crossplane 2019-09-12 03:14:51 +00:00
parent baecf33b6f
commit 9df01e0cd4
1 changed files with 38 additions and 4 deletions

View File

@ -80,17 +80,51 @@ Then you can install the GCP stack into Crossplane in the `gcp` namespace with t
kubectl apply -f stack-gcp.yaml kubectl apply -f stack-gcp.yaml
``` ```
#### Uninstall ### Azure Stack
The GCP stack can be uninstalled simply by deleting the stack resources from the cluster with the command below. To get started with Microsoft Azure, create a file named `stack-azure.yaml` with the following content:
**Note** that this will also **delete** any resources that Crossplane has provisioned in GCP if their `ReclaimPolicy` is set to `Delete`.
After you have ensured that you are completely done with all your GCP cloud resources, you can then run the following command to remove the GCP stack from Crossplane: ```yaml
apiVersion: v1
kind: Namespace
metadata:
name: azure
---
apiVersion: stacks.crossplane.io/v1alpha1
kind: StackRequest
metadata:
name: stack-azure
namespace: azure
spec:
package: "crossplane/stack-azure:master"
```
Then you can install the Azure stack into Crossplane in the `azure` namespace with the following command:
```console
kubectl apply -f stack-azure.yaml
```
### Uninstalling Cloud Provider Stacks
The cloud provider stacks can be uninstalled simply by deleting the stack resources from the cluster with a command similar to what's shown below.
**Note** that this will also **delete** any resources that Crossplane has provisioned in the cloud provider if their `ReclaimPolicy` is set to `Delete`.
After you have ensured that you are completely done with all your cloud provider resources, you can then run one of the commands below,
depending on which cloud provider you are removing, to remove its stack from Crossplane:
#### Uninstalling GCP
```console ```console
kubectl delete -f stack-gcp.yaml kubectl delete -f stack-gcp.yaml
``` ```
#### Uninstalling Azure
```console
kubectl delete -f stack-azure.yaml
```
## Uninstalling the Chart ## Uninstalling the Chart
To uninstall/delete the `crossplane` deployment: To uninstall/delete the `crossplane` deployment: