60 lines
1.1 KiB
YAML
60 lines
1.1 KiB
YAML
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: localhost-15001
|
|
namespace: default
|
|
spec:
|
|
ports:
|
|
- protocol: TCP
|
|
port: 80
|
|
targetPort: 15001
|
|
---
|
|
apiVersion: v1
|
|
kind: Endpoints
|
|
metadata:
|
|
name: localhost-15001
|
|
namespace: default
|
|
subsets:
|
|
- addresses:
|
|
- ip: 134.195.210.237
|
|
ports:
|
|
- port: 15001
|
|
---
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: 1go-proxy
|
|
namespace: default
|
|
annotations:
|
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
|
spec:
|
|
ingressClassName: traefik
|
|
tls:
|
|
- hosts:
|
|
- 1go.u6.net3w.com
|
|
- gl.u6.net3w.com
|
|
secretName: 1go-proxy-tls
|
|
rules:
|
|
- host: 1go.u6.net3w.com
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: localhost-15001
|
|
port:
|
|
number: 80
|
|
- host: gl.u6.net3w.com
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: localhost-15001
|
|
port:
|
|
number: 80
|