apiVersion: v1
kind: Service
metadata:
  name: test-infra-proxy-svc
  labels:
    app: test-infra-proxy
spec:
  type: NodePort
  ports:
    - port: 1080
      nodePort: 30081
  selector:
    app: test-infra-proxy
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: test-infra-proxy-deployment
  labels:
    app: test-infra-proxy
spec:
  replicas: 1
  selector:
    matchLabels:
      app: test-infra-proxy
  template:
    metadata:
      labels:
        app: test-infra-proxy
    spec:
      containers:
      - name: socks5
        image: xkuma/socks5
        ports:
        - containerPort: 1080

