update resources
This commit is contained in:
parent
dc0ed7bbe8
commit
c6f94435c5
@ -26,8 +26,8 @@ spec:
|
||||
image: linuxserver/wireguard:amd64-1.0.20210914
|
||||
resources:
|
||||
limits:
|
||||
cpu: 200m
|
||||
memory: 128Mi
|
||||
cpu: 50m
|
||||
memory: 32Mi
|
||||
imagePullPolicy: IfNotPresent
|
||||
securityContext:
|
||||
privileged: false
|
||||
@ -40,11 +40,11 @@ spec:
|
||||
mountPath: /config
|
||||
- name: socks5
|
||||
image: netbyte/socks5-server
|
||||
resources:
|
||||
limits:
|
||||
cpu: 50m
|
||||
memory: 32Mi
|
||||
args:
|
||||
- '-l'
|
||||
- ':1089'
|
||||
imagePullPolicy: IfNotPresent
|
||||
resources:
|
||||
limits:
|
||||
cpu: 200m
|
||||
memory: 128Mi
|
@ -2,6 +2,7 @@
|
||||
|
||||
resources:
|
||||
- deployment.yaml
|
||||
- service.yaml
|
||||
commonLabels:
|
||||
app: wireguard-socks
|
||||
type: proxy
|
||||
|
16
wg-socks/service.yaml
Normal file
16
wg-socks/service.yaml
Normal file
@ -0,0 +1,16 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: wireguard-socks-udp
|
||||
spec:
|
||||
ipFamilyPolicy: PreferDualStack
|
||||
ipFamilies:
|
||||
- IPv4
|
||||
- IPv6
|
||||
type: LoadBalancer
|
||||
selector:
|
||||
app: wireguard-socks
|
||||
ports:
|
||||
- port: 1080
|
||||
protocol: UDP
|
||||
targetPort: 1089
|
Loading…
Reference in New Issue
Block a user