Skip to content

Commit

Permalink
Update instructions to install ingress-nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
aledbf committed Nov 4, 2020
1 parent 4fb8906 commit 0f31394
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,8 @@ $ kubectl patch storageclass standard -p '{"metadata": {"annotations": {"storage
. Install the https://kubernetes.github.io/ingress-nginx/deploy/[NGINX Ingress Controller]:
+
----
$ VERSION=0.30.0
$ kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/nginx-${VERSION}/deploy/static/mandatory.yaml
$ kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/nginx-${VERSION}/deploy/static/provider/cloud-generic.yaml
$ VERSION=v0.41.0
$ kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-${VERSION}/deploy/static/provider/aws/deploy.yaml
----

. Install the https://metallb.universe.tf/[MetalLB] load balancer:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ To install Ingress-nginx:
. Install the cloud configuration:
+
----
$ kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v0.34.1/deploy/static/provider/cloud/deploy.yaml
$ kubectl apply \
-f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v0.41.0/deploy/static/provider/cloud/deploy.yaml
----

+
Expand All @@ -41,6 +42,6 @@ ingress-nginx LoadBalancer 10.0.97.244 40.89.129.194 80:31107/TCP,443:30629/
+
----
$ kubectl get services --namespace ingress-nginx \
-o jsonpath='{.items[].status.loadBalancer.ingress[0].ip}'
-o jsonpath='{.items[].status.loadBalancer.ingress[0].ip}'
40.89.129.194
----
Original file line number Diff line number Diff line change
Expand Up @@ -135,22 +135,12 @@ All the pods in the running state are displayed.

To install Ingress-nginx:

. Install the default configuration.
+
[subs="+quotes",options="nowrap"]
----
$ kubectl apply \
-f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/static/mandatory.yaml
----

. Install the configuration for AWS.
+
[subs="+quotes",options="nowrap"]
----
$ kubectl apply \
-f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/static/provider/aws/service-l4.yaml
$ kubectl apply \
-f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/static/provider/aws/patch-configmap-l4.yaml
-f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v0.41.0/deploy/static/provider/aws/deploy.yaml
----
+
The following output confirms that the Ingress controller is running.
Expand Down

0 comments on commit 0f31394

Please sign in to comment.