apiVersion: apps/v1 kind: Deployment metadata: name: frps namespace: vpn labels: app: frps spec: replicas: 1 selector: matchLabels: app: frps template: metadata: labels: app: frps spec: hostNetwork: true containers: - name: frpc image: registry.cn-hangzhou.aliyuncs.com/offends/frp:frps imagePullPolicy: Always volumeMounts: - name: frps-config mountPath: /frp/frps.ini volumes: - name: frps-config hostPath: path: /opt/vpn/frps.ini