From f9e8deec17ea1784b45e7ea620ed0fef49170359 Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Sat, 8 Oct 2022 11:55:21 +0330 Subject: update --- kubernetes/debug/debug-deployment.yaml | 46 ++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 kubernetes/debug/debug-deployment.yaml (limited to 'kubernetes/debug') diff --git a/kubernetes/debug/debug-deployment.yaml b/kubernetes/debug/debug-deployment.yaml new file mode 100644 index 0000000..a11d80d --- /dev/null +++ b/kubernetes/debug/debug-deployment.yaml @@ -0,0 +1,46 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: debug + labels: + app: debug +spec: + replicas: 1 + selector: + matchLabels: + app: debug + template: + metadata: + labels: + app: debug + spec: + containers: + - name: debug + image: 192.168.1.103:5000/bullseye-slim + imagePullPolicy: IfNotPresent + command: + - tail + - -f + - /dev/null + env: + - name: HTTP_PROXY + value: socks5://192.168.1.103:9995 + - name: HTTPS_PROXY + value: socks5://192.168.1.103:9995 + - name: NO_PROXY + value: localhost, 127.0.0.1, 10.0.0.0/24 +--- +apiVersion: v1 +kind: Service +metadata: + name: debug-service +spec: + selector: + app: debug + type: LoadBalancer + ports: + - protocol: TCP + name: "7777" + port: 27777 + targetPort: 27777 + nodePort: 30777 -- cgit v1.2.3