añadida primera version del.documento ingress
This commit is contained in:
6
haproxy/ingressclass.yaml
Normal file
6
haproxy/ingressclass.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: IngressClass
|
||||
metadata:
|
||||
name: haproxy
|
||||
spec:
|
||||
controller: haproxy.org/ingress-controller
|
||||
53
haproxy/values.yaml
Normal file
53
haproxy/values.yaml
Normal file
@@ -0,0 +1,53 @@
|
||||
controller:
|
||||
name: haproxy
|
||||
ingressClass:
|
||||
create: true
|
||||
name: haproxy
|
||||
default: false
|
||||
|
||||
service:
|
||||
enabled: true
|
||||
type: LoadBalancer
|
||||
loadBalancerIP: 192.168.1.100
|
||||
ports:
|
||||
http:
|
||||
port: 80
|
||||
https:
|
||||
port: 443
|
||||
# No TCP/UDP definidos aquí. Se usarán TCPIngress/UDPIngress dinámicos.
|
||||
|
||||
metrics:
|
||||
enabled: true
|
||||
|
||||
extraArgs:
|
||||
watch-ingress-classes: "true"
|
||||
watch-ingress-without-class: "true"
|
||||
disable-tcp-services: "false"
|
||||
disable-udp-services: "false"
|
||||
|
||||
# Habilitar CRDs si aún no se han creado en otro despliegue
|
||||
createCustomResources: true
|
||||
|
||||
podLabels:
|
||||
app: haproxy
|
||||
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
limits:
|
||||
cpu: 500m
|
||||
memory: 512Mi
|
||||
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /healthz
|
||||
port: 10253
|
||||
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /healthz
|
||||
port: 10253
|
||||
|
||||
defaultBackend:
|
||||
enabled: true
|
||||
Reference in New Issue
Block a user