forked from Python3WebSpider/ProxyPool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathingress.yml
32 lines (32 loc) · 827 Bytes
/
ingress.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
---
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: ingress-universal-proxypool
namespace: proxypool
annotations:
nginx.ingress.kubernetes.io/ssl-redirect: "true"
nginx.ingress.kubernetes.io/rewrite-target: /
spec:
tls:
- hosts:
- universal.proxypool.cuiqingcai.com
secretName: tls-wildcard-proxypool-cuiqingcai-com
- hosts:
- proxypool.scrape.center
secretName: tls-wildcard-scrape-center
rules:
- host: universal.proxypool.cuiqingcai.com
http:
paths:
- backend:
serviceName: proxypool
servicePort: 5555
path: /
- host: proxypool.scrape.center
http:
paths:
- backend:
serviceName: proxypool
servicePort: 5555
path: /