synchronization
This commit is contained in:
		
							
								
								
									
										29
									
								
								File/Yaml/frps.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								File/Yaml/frps.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,29 @@
 | 
			
		||||
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
 | 
			
		||||
		Reference in New Issue
	
	Block a user