Deployed outfleet-rs
All checks were successful
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 17s
Check with kubeconform / lint (push) Successful in 18s

This commit is contained in:
AB from home.homenet
2025-10-22 15:07:46 +03:00
parent 5659e4455b
commit 5783db189a
4 changed files with 306 additions and 3 deletions

View File

@@ -0,0 +1,66 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: outfleet-rs
labels:
app: outfleet-rs
annotations:
reloader.stakater.com/auto: "true"
spec:
selector:
matchLabels:
app: outfleet-rs
replicas: 1
strategy:
type: RollingUpdate
template:
metadata:
labels:
app: outfleet-rs
spec:
hostname: outfleet-rs
nodeSelector:
kubernetes.io/hostname: master.tail2fe2d.ts.net
containers:
- name: outfleet-rs
image: 'ultradesu/outfleet:rs-0.2'
imagePullPolicy: Always
command: ["/bin/sh"]
args:
- "-c"
- |
set -x
/app/xray-admin --host 0.0.0.0 --port 8080
ports:
- name: http
containerPort: 8080
protocol: TCP
env:
- name: RUST_LOG
value: "info"
volumeMounts:
- name: outfleet-config
mountPath: /app/config.toml # <-- target path inside container
subPath: config.toml # <-- use the specific key as a file
readOnly: true
volumes:
- name: outfleet-config
configMap:
name: outfleet-rs-config
items:
- key: config.toml
path: config.toml
---
apiVersion: v1
kind: Service
metadata:
name: outfleet-rs
spec:
selector:
app: outfleet-rs
ports:
- protocol: TCP
port: 80
targetPort: 8080