update resources
This commit is contained in:
parent
dc0ed7bbe8
commit
c6f94435c5
@ -26,8 +26,8 @@ spec:
|
|||||||
image: linuxserver/wireguard:amd64-1.0.20210914
|
image: linuxserver/wireguard:amd64-1.0.20210914
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 200m
|
cpu: 50m
|
||||||
memory: 128Mi
|
memory: 32Mi
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
securityContext:
|
securityContext:
|
||||||
privileged: false
|
privileged: false
|
||||||
@ -40,11 +40,11 @@ spec:
|
|||||||
mountPath: /config
|
mountPath: /config
|
||||||
- name: socks5
|
- name: socks5
|
||||||
image: netbyte/socks5-server
|
image: netbyte/socks5-server
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpu: 50m
|
||||||
|
memory: 32Mi
|
||||||
args:
|
args:
|
||||||
- '-l'
|
- '-l'
|
||||||
- ':1089'
|
- ':1089'
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
resources:
|
|
||||||
limits:
|
|
||||||
cpu: 200m
|
|
||||||
memory: 128Mi
|
|
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
- deployment.yaml
|
- deployment.yaml
|
||||||
|
- service.yaml
|
||||||
commonLabels:
|
commonLabels:
|
||||||
app: wireguard-socks
|
app: wireguard-socks
|
||||||
type: proxy
|
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