Merge pull request #3249 from rayfoss/patch-1

Clarify mandatory script doc
This commit is contained in:
k8s-ci-robot 2018-10-15 14:47:44 -07:00 committed by GitHub
commit 7b0b761aa4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.