Editing
NGINX-ingress
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== NGINX 'Official' Ingress Controller == When researching the methods to install the NGINX Ingress Controller, I found many varied and somewhat conflicting methods and manifests. Eventually, I found the [https://github.com/nginxinc/kubernetes-ingress 'official' github repo from the NGINX team]. I used the manifests and instructions from this repo mostly intact. [https://github.com/nginxinc/kubernetes-ingress/blob/master/docs/installation.md Full installation instructions] are located online. # '''ns-and-sa.yaml''' -- creates the namespace and serviceaccount # I manually created the SSL certificate secret (after creating a self-signed certificate) instead of using their manifest #:<pre>kubectl create secret tls default-server-secret --cert=ingress.crt --key=ingress.key -n nginx-ingress</pre> # '''nginx-config.yaml''' - creates the configmap for providing configuration options (not used ... yet ) # '''rbac.yaml''' - creates the appropriate roles and rolebindings # '''nginx-ingress.yaml''' -- I used the deployment version ... don't think there will be a need for using a daemonset # '''loadbalancer.yaml''' - creates the loadbalancer service that gives an external IP address for the controller. #* NOTE: I had to comment out the 'externalTrafficPolicy' parameter for the service, as it caused erratic behavior when accessing the controller At this point, you have a fully functional ingress controller that responds on both http and https ports ... and provides its own default page for 'resources not found' The manifests and files are checked into the [https://gitlab.williams-net.org/k8s/k8s-admin GitLab k8s-admin repository] in the directory 'nginx-ingress-controller' The repo for this controller is cloned into: /workspace/outside-repos/kubernetes-ingress
Summary:
Please note that all contributions to WilliamsNet Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
WilliamsNet Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Navigation
Commons
Architecture
How-To
Systems
Hardware
SysAdmin
Kubernetes
OpenSearch
Special
Pages to create
All pages
Recent changes
Random page
Help about MediaWiki
Formatting Help
Tools
What links here
Related changes
Special pages
Page information