Clarify mandatory script doc
The warnings should probably be above the script, not below, especially in the ever popular GKE, where they are prerequisites. Generic Deployment sounds like it's a deployment that should work on all vanilla Kubernetes installations. It sounds like an OR logic operator, when it should be an AND.
This commit is contained in:
parent
e8bf124deb
commit
dfacb6cb8e
1 changed files with 6 additions and 8 deletions
|
@ -15,15 +15,9 @@
|
||||||
- [Detect installed version](#detect-installed-version)
|
- [Detect installed version](#detect-installed-version)
|
||||||
- [Using Helm](#using-helm)
|
- [Using Helm](#using-helm)
|
||||||
|
|
||||||
## Generic Deployment
|
## Prerequisite Generic Deployment Script
|
||||||
|
|
||||||
The following resources are required for a generic deployment.
|
The following **Mandatory command** is required for all deployments.
|
||||||
|
|
||||||
### Mandatory command
|
|
||||||
|
|
||||||
```console
|
|
||||||
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/mandatory.yaml
|
|
||||||
```
|
|
||||||
|
|
||||||
!!! attention
|
!!! attention
|
||||||
The default configuration watches Ingress object from all the namespaces.
|
The default configuration watches Ingress object from all the namespaces.
|
||||||
|
@ -36,6 +30,10 @@ kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/mast
|
||||||
If you're using GKE you need to initialize your user as a cluster-admin with the following command:
|
If you're using GKE you need to initialize your user as a cluster-admin with the following command:
|
||||||
```kubectl create clusterrolebinding cluster-admin-binding --clusterrole cluster-admin --user $(gcloud config get-value account)```
|
```kubectl create clusterrolebinding cluster-admin-binding --clusterrole cluster-admin --user $(gcloud config get-value account)```
|
||||||
|
|
||||||
|
```console
|
||||||
|
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/mandatory.yaml
|
||||||
|
```
|
||||||
|
|
||||||
### Provider Specific Steps
|
### Provider Specific Steps
|
||||||
|
|
||||||
There are cloud provider specific yaml files.
|
There are cloud provider specific yaml files.
|
||||||
|
|
Loading…
Reference in a new issue