首次提交:初始化项目
This commit is contained in:
59
old/003-platform/003-proxy/1go-proxy.yaml
Normal file
59
old/003-platform/003-proxy/1go-proxy.yaml
Normal file
@@ -0,0 +1,59 @@
|
||||
---
|
||||
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
|
||||
Reference in New Issue
Block a user