mirror of
https://github.com/shizunge/endlessh-go.git
synced 2026-08-07 07:15:02 +00:00
32 lines
779 B
YAML
32 lines
779 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: endlessh
|
|
spec:
|
|
replicas: 1
|
|
template:
|
|
spec:
|
|
automountServiceAccountToken: false
|
|
containers:
|
|
- name: endlessh
|
|
image: shizunge/endlessh-go:latest
|
|
args:
|
|
- -interval_ms=1000
|
|
- -logtostderr
|
|
- -v=1
|
|
- -prometheus_enabled
|
|
- -geoip_supplier=ip-api
|
|
- -host=[::]
|
|
- -prometheus_host=[::]
|
|
ports:
|
|
- name: ssh
|
|
containerPort: 2222
|
|
- name: metrics
|
|
containerPort: 2112
|
|
securityContext:
|
|
readOnlyRootFilesystem: true
|
|
allowPrivilegeEscalation: false
|
|
capabilities:
|
|
drop:
|
|
- ALL
|