2026-02-11 12:12:39 +02:00
|
|
|
---
|
|
|
|
|
apiVersion: apps/v1
|
2026-02-11 17:26:30 +02:00
|
|
|
kind: DaemonSet
|
2026-02-11 12:12:39 +02:00
|
|
|
metadata:
|
|
|
|
|
name: mtproxy
|
|
|
|
|
labels:
|
|
|
|
|
app: mtproxy
|
|
|
|
|
spec:
|
|
|
|
|
selector:
|
|
|
|
|
matchLabels:
|
|
|
|
|
app: mtproxy
|
2026-02-11 17:26:30 +02:00
|
|
|
updateStrategy:
|
|
|
|
|
type: RollingUpdate
|
2026-02-11 12:12:39 +02:00
|
|
|
template:
|
|
|
|
|
metadata:
|
|
|
|
|
labels:
|
|
|
|
|
app: mtproxy
|
|
|
|
|
spec:
|
|
|
|
|
affinity:
|
|
|
|
|
nodeAffinity:
|
|
|
|
|
requiredDuringSchedulingIgnoredDuringExecution:
|
|
|
|
|
nodeSelectorTerms:
|
|
|
|
|
- matchExpressions:
|
2026-02-11 20:33:08 +02:00
|
|
|
- key: mtproxy
|
2026-02-11 12:12:39 +02:00
|
|
|
operator: Exists
|
|
|
|
|
containers:
|
|
|
|
|
- name: mtproxy
|
2026-02-11 20:55:07 +02:00
|
|
|
image: ultradesu/mtproxy:v0.02
|
2026-02-11 12:12:39 +02:00
|
|
|
imagePullPolicy: Always
|
|
|
|
|
ports:
|
|
|
|
|
- name: proxy
|
2026-02-11 20:55:07 +02:00
|
|
|
containerPort: 30443
|
2026-02-11 12:12:39 +02:00
|
|
|
protocol: TCP
|
|
|
|
|
env:
|
|
|
|
|
- name: SECRET
|
2026-02-11 20:33:08 +02:00
|
|
|
value: "4ef8819478eb9c8928ab741300235a8e"
|
2026-02-11 12:12:39 +02:00
|
|
|
volumeMounts:
|
|
|
|
|
- name: data
|
|
|
|
|
mountPath: /data
|
2026-02-11 20:59:00 +02:00
|
|
|
#resources:
|
|
|
|
|
# requests:
|
|
|
|
|
# memory: "128Mi"
|
|
|
|
|
# cpu: "100m"
|
|
|
|
|
# limits:
|
|
|
|
|
# memory: "256Mi"
|
|
|
|
|
# cpu: "500m"
|
2026-02-11 12:12:39 +02:00
|
|
|
volumes:
|
|
|
|
|
- name: data
|
2026-02-11 17:26:30 +02:00
|
|
|
emptyDir: {}
|