Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify mandatory script doc #3249

Merged
merged 2 commits into from
Oct 15, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 6 additions & 8 deletions docs/deploy/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,9 @@
- [Detect installed version](#detect-installed-version)
- [Using Helm](#using-helm)

## Generic Deployment
## Prerequisite Generic Deployment Command

The following resources are required for a generic deployment.

### Mandatory command

```console
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/mandatory.yaml
```
The following **Mandatory Command** is required for all deployments.

!!! attention
The default configuration watches Ingress object from all the namespaces.
Expand All @@ -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:
```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

There are cloud provider specific yaml files.
Expand Down