Ingress-nginx: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 18: Line 18:


==Installation Validation==
==Installation Validation==
<syntaxhighlight lang='text'>
kubectl -n ingress-nginx get pods
NAME                                        READY  STATUS      RESTARTS  AGE
ingress-nginx-controller-5947756d78-gnvft  1/1    Running    0          4m44s
</syntaxhighlight>

Revision as of 20:56, 25 September 2020

External

Internal

Overview

The default nginx-based implementation of a Kubernetes ingress controller. It is build around the Ingress API resource and uses a ConfigMap to store the nginx configuration. The ingress-nginx ingress controller watches Ingress objects from all namespaces. It can be restricted to watch a specific namespace with --watch-namespace.

Installation

https://kubernetes.github.io/ingress-nginx/deploy/

Vendor-Specific

Docker Desktop Kubernetes

kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v0.35.0/deploy/static/provider/cloud/deploy.yaml

This deploys ingress-nginx in an "ingress-nginx" namespace. It creates dedicated service accounts, configmap, roles, service, deployment, validating webhook, and jobs to create the SSL certificate used by the admission webhook.

Installation Validation

kubectl -n ingress-nginx get pods

NAME                                        READY   STATUS      RESTARTS   AGE
ingress-nginx-controller-5947756d78-gnvft   1/1     Running     0          4m44s