Skip to content

Commit

Permalink
update example URLs after nginx is the only implementation in repo
Browse files Browse the repository at this point in the history
  • Loading branch information
VasekPurchart committed Oct 9, 2017
1 parent 1f269d4 commit 674adba
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion examples/daemonset/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ In some cases, the Ingress controller will be required to be run at all the node
The default backend is a service of handling all url paths and hosts the nginx controller doesn't understand. Deploy the default-http-backend as follow:

```console
$ kubectl apply -f ../../deployment/nginx/default-backend.yaml
$ kubectl apply -f ../../deployment/default-backend.yaml
deployment "default-http-backend" configured
service "default-http-backend" configured

Expand Down
2 changes: 1 addition & 1 deletion examples/deployment/kubeadm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ The Nginx Ingress Controller uses nginx (surprisingly!) to loadbalance requests
ports 80 and 443 to Services in the cluster.

```console
$ kubectl apply -f https://rawgit.com/kubernetes/ingress/master/examples/deployment/nginx/kubeadm/nginx-ingress-controller.yaml
$ kubectl apply -f https://rawgit.com/kubernetes/ingress/master/examples/deployment/kubeadm/nginx-ingress-controller.yaml
deployment "default-http-backend" created
service "default-http-backend" created
deployment "nginx-ingress-controller" created
Expand Down
8 changes: 4 additions & 4 deletions examples/rbac/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,20 +89,20 @@ change as well.
`ClusterRoleBinding`, and `RoleBinding`.

```sh
kubectl create -f https://raw.githubusercontent.com/kubernetes/ingress/master/examples/rbac/nginx/nginx-ingress-controller-rbac.yml
kubectl create -f https://raw.githubusercontent.com/kubernetes/ingress/master/examples/rbac/nginx-ingress-controller-rbac.yml
```

2. Create default backend
```sh
kubectl create -f https://raw.githubusercontent.com/kubernetes/ingress/master/examples/rbac/nginx/default-backend.yml
kubectl create -f https://raw.githubusercontent.com/kubernetes/ingress/master/examples/rbac/default-backend.yml
```

3. Create the nginx-ingress-controller

For this example to work, the Service must be in the nginx-ingress namespace:

```sh
kubectl create -f https://raw.githubusercontent.com/kubernetes/ingress/master/examples/rbac/nginx/nginx-ingress-controller.yml
kubectl create -f https://raw.githubusercontent.com/kubernetes/ingress/master/examples/rbac/nginx-ingress-controller.yml
```

The serviceAccountName associated with the containers in the deployment must
Expand All @@ -112,5 +112,5 @@ should be in the nginx-ingress namespace.

4. Create ingress service
```sh
kubectl create -f https://raw.githubusercontent.com/kubernetes/ingress/master/examples/rbac/nginx/nginx-ingress-controller-service.yml
kubectl create -f https://raw.githubusercontent.com/kubernetes/ingress/master/examples/rbac/nginx-ingress-controller-service.yml
```
2 changes: 1 addition & 1 deletion examples/scaling-deployment/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This example aims to demonstrate the Deployment of multi nginx ingress controlle
The default backend is a service of handling all url paths and hosts the nginx controller doesn't understand. Deploy the default-http-backend as follow:

```console
$ kubectl apply -f ../../deployment/nginx/default-backend.yaml
$ kubectl apply -f ../../deployment/default-backend.yaml
deployment "default-http-backend" configured
service "default-http-backend" configured

Expand Down

0 comments on commit 674adba

Please sign in to comment.