Skip to content

Commit

Permalink
Add missing step for nginx guide.
Browse files Browse the repository at this point in the history
  • Loading branch information
amwat committed Jan 13, 2020
1 parent 5f82285 commit 1887a9a
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions site/content/docs/user/ingress.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,16 @@ nodes:
EOF
{{< /codeFromInline >}}

Apply the [mandatory ingress-nginx components](https://kubernetes.github.io/ingress-nginx/deploy/#prerequisite-generic-deployment-command).
Apply the [mandatory ingress-nginx components](https://kubernetes.github.io/ingress-nginx/deploy/#prerequisite-generic-deployment-command)

{{< codeFromInline lang="bash" >}}
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/static/mandatory.yaml
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/nginx-0.27.0/deploy/static/mandatory.yaml
{{< /codeFromInline >}}

and [expose the nginx service using NodePort](https://kubernetes.github.io/ingress-nginx/deploy/#bare-metal).

{{< codeFromInline lang="bash" >}}
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/nginx-0.27.0/deploy/static/provider/baremetal/service-nodeport.yaml
{{< /codeFromInline >}}

Apply kind specific patches to forward the hostPorts to the
Expand Down

0 comments on commit 1887a9a

Please sign in to comment.