blob: 42631dd182e61540a97ffb3cd9f80a34344d1057 (
plain) (
blame)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
apiVersion: apps/v1
kind: Deployment
metadata:
name: debug
labels:
app: debug
spec:
replicas: 1
selector:
matchLabels:
app: debug
template:
metadata:
labels:
app: debug
spec:
containers:
- name: debug
image: 192.168.1.214:5000/bullseye-slim
imagePullPolicy: IfNotPresent
command:
- tail
- -f
- /dev/null
env:
- name: HTTP_PROXY
value: socks5://192.168.1.103:9995
- name: HTTPS_PROXY
value: socks5://192.168.1.103:9995
- name: NO_PROXY
value: localhost, 127.0.0.1, 10.0.0.0/24
- name: http_proxy
value: socks5://192.168.1.103:9995
- name: https_proxy
value: socks5://192.168.1.103:9995
- name: no_proxy
value: localhost, 127.0.0.1, 10.0.0.0/24
---
apiVersion: v1
kind: Service
metadata:
name: debug-service
spec:
selector:
app: debug
type: LoadBalancer
ports:
- protocol: TCP
name: "7777"
port: 27777
targetPort: 27777
nodePort: 30777
|