CLOUD/Kubernetes

ingressClassName 기본으로 지정하기

헐리 2021. 10. 28. 12:19

해당 라인의 annotations을 uncommant해야지 앞으로 만드는 ingress가 ingressclassName을 지정하지 않으면 해당 ingressClass(nginx)로 default로 지정된다.

 

Name:         nginx
Labels:       <none>
Annotations:  ingressclass.kubernetes.io/is-default-class: true
Controller:   nginx.org/ingress-controller
Events:       <none>

 

https://docs.nginx.com/nginx-ingress-controller/installation/installation-with-manifests/#2-create-common-resources

 

Installation with Manifests | NGINX Ingress Controller

Installation with Manifests This document describes how to install the NGINX Ingress Controller in your Kubernetes cluster using Kubernetes manifests. Prerequisites Make sure you have access to the Ingress controller image: For NGINX Ingress controller, us

docs.nginx.com