Compare commits
1 Commits
auto-updat
...
auto-updat
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
81d1de12ee |
@@ -10,7 +10,7 @@ RUN make -j$(nproc)
|
|||||||
|
|
||||||
FROM debian:bookworm-slim
|
FROM debian:bookworm-slim
|
||||||
|
|
||||||
ENV PROXY_PORT=30443
|
ENV PROXY_PORT=443
|
||||||
ENV STATS_PORT=8888
|
ENV STATS_PORT=8888
|
||||||
ENV WORKERS=1
|
ENV WORKERS=1
|
||||||
ENV RUN_USER=nobody
|
ENV RUN_USER=nobody
|
||||||
|
|||||||
@@ -23,15 +23,13 @@ spec:
|
|||||||
- matchExpressions:
|
- matchExpressions:
|
||||||
- key: mtproxy
|
- key: mtproxy
|
||||||
operator: Exists
|
operator: Exists
|
||||||
hostNetwork: true
|
|
||||||
dnsPolicy: ClusterFirstWithHostNet
|
|
||||||
containers:
|
containers:
|
||||||
- name: mtproxy
|
- name: mtproxy
|
||||||
image: ultradesu/mtproxy:v0.02
|
image: telegrammessenger/proxy:latest
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
ports:
|
ports:
|
||||||
- name: proxy
|
- name: proxy
|
||||||
containerPort: 30443
|
containerPort: 443
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
env:
|
env:
|
||||||
- name: SECRET
|
- name: SECRET
|
||||||
@@ -39,13 +37,13 @@ spec:
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: data
|
- name: data
|
||||||
mountPath: /data
|
mountPath: /data
|
||||||
#resources:
|
resources:
|
||||||
# requests:
|
requests:
|
||||||
# memory: "128Mi"
|
memory: "128Mi"
|
||||||
# cpu: "100m"
|
cpu: "100m"
|
||||||
# limits:
|
limits:
|
||||||
# memory: "256Mi"
|
memory: "256Mi"
|
||||||
# cpu: "500m"
|
cpu: "500m"
|
||||||
volumes:
|
volumes:
|
||||||
- name: data
|
- name: data
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
|
|||||||
@@ -4,5 +4,5 @@ kind: Kustomization
|
|||||||
resources:
|
resources:
|
||||||
- ./app.yaml
|
- ./app.yaml
|
||||||
- ./deployment.yaml
|
- ./deployment.yaml
|
||||||
# - ./storage.yaml
|
- ./service.yaml
|
||||||
# - ./service.yaml
|
- ./storage.yaml
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ spec:
|
|||||||
ports:
|
ports:
|
||||||
- name: proxy
|
- name: proxy
|
||||||
port: 30443
|
port: 30443
|
||||||
targetPort: 30443
|
targetPort: 443
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
nodePort: 30443
|
nodePort: 30443
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user