Upload New File
This commit is contained in:
38
k8s/ingress.yaml
Normal file
38
k8s/ingress.yaml
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
# =============================================================================
|
||||||
|
# Ingress - node-bugado
|
||||||
|
# =============================================================================
|
||||||
|
#
|
||||||
|
# Ingress NGINX para expor a aplicação externamente.
|
||||||
|
# Configure o hostname de acordo com seu domínio.
|
||||||
|
#
|
||||||
|
# =============================================================================
|
||||||
|
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: node-bugado
|
||||||
|
labels:
|
||||||
|
app: node-bugado
|
||||||
|
annotations:
|
||||||
|
nginx.ingress.kubernetes.io/proxy-connect-timeout: "30"
|
||||||
|
nginx.ingress.kubernetes.io/proxy-read-timeout: "30"
|
||||||
|
# Descomente para Let's Encrypt:
|
||||||
|
# cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||||
|
spec:
|
||||||
|
ingressClassName: nginx
|
||||||
|
rules:
|
||||||
|
- host: bugado.kube.quest
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: node-bugado
|
||||||
|
port:
|
||||||
|
number: 80
|
||||||
|
# Descomente para TLS:
|
||||||
|
# tls:
|
||||||
|
# - hosts:
|
||||||
|
# - bugado.kube.quest
|
||||||
|
# secretName: node-bugado-tls
|
||||||
Reference in New Issue
Block a user