Merge pull request #3249 from rayfoss/patch-1
Clarify mandatory script doc
This commit is contained in:
commit
7b0b761aa4
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 Command
|
||||||
|
|
||||||
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