.
This commit is contained in:
66
ingress-external-devices/proxmox.yaml
Normal file
66
ingress-external-devices/proxmox.yaml
Normal file
@@ -0,0 +1,66 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: proxmox-cluster
|
||||
namespace: ingress-external
|
||||
spec:
|
||||
ports:
|
||||
- name: https
|
||||
port: 8006
|
||||
targetPort: 8006
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Endpoints
|
||||
metadata:
|
||||
name: proxmox-cluster
|
||||
namespace: ingress-external
|
||||
subsets:
|
||||
- addresses:
|
||||
- ip: fd00:0:0:2::61
|
||||
- ip: 10.0.2.61
|
||||
- ip: fd00:0:0:2::62
|
||||
- ip: 10.0.2.62
|
||||
- ip: fd00:0:0:2::63
|
||||
- ip: 10.0.2.63
|
||||
- ip: fd00:0:0:2::64
|
||||
- ip: 10.0.2.64
|
||||
- ip: fd00:0:0:2::65
|
||||
- ip: 10.0.2.65
|
||||
- ip: fd00:0:0:2::66
|
||||
- ip: 10.0.2.66
|
||||
- ip: fd00:0:0:2::67
|
||||
- ip: 10.0.2.67
|
||||
ports:
|
||||
- port: 8006
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: proxmox-cluster
|
||||
namespace: ingress-external
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: nginx
|
||||
cert-manager.io/cluster-issuer: letsencrypt
|
||||
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
|
||||
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
||||
nginx.ingress.kubernetes.io/proxy-ssl-verify: "false"
|
||||
nginx.ingress.kubernetes.io/proxy-body-size: "0"
|
||||
nginx.ingress.kubernetes.io/proxy-read-timeout: "3600"
|
||||
nginx.ingress.kubernetes.io/proxy-send-timeout: "3600"
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
tls:
|
||||
- hosts:
|
||||
- proxmox.apps.undercloud.dev
|
||||
secretName: proxmox-cluster-tls
|
||||
rules:
|
||||
- host: proxmox.apps.undercloud.dev
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: proxmox-cluster
|
||||
port:
|
||||
number: 8006
|
||||
Reference in New Issue
Block a user