Helm Chart

Install Qpoint Helm Repo

First, add the Qpoint Helm Repo.

helm repo add qpoint https://helm.qpoint.io/
helm repo update

Find Configurable Options

To find all configurable options, you can use the following command:

helm show values qpoint/qpoint-proxy

Prepare Your Custom Configuration

Create a values.yaml file with your custom configuration. Below is an example configuration that includes an example proxy configuration.

replicaCount: 1

image:
  repository: us-docker.pkg.dev/qpoint-edge/public/qpoint
  pullPolicy: IfNotPresent
  tag: "head"

args: ["proxy", "--envoy-log-level=error", "--log-level=info", "--dns-lookup-family=V4_ONLY"]

serviceAccount:
  create: true
  automount: true
  annotations: {}
  name: ""

podAnnotations: {}
podLabels: {}

podSecurityContext: {}
securityContext: {}

defaultTCPListenAddress: "0.0.0.0"
middlewareTCPForwardPorts: "18080:80,18443:443"
transparentTCPForwardPorts: "10080:80,10443:443"

service:
  type: ClusterIP
  ports:
    - port: 10080
      containerPort: 10080
      protocol: TCP
      name: e-http-tr
    - port: 10443
      containerPort: 10443
      protocol: TCP
      name: e-https-tr
    - port: 18080
      containerPort: 18080
      protocol: TCP
      name: e-http-mi
    - port: 18443
      containerPort: 18443
      protocol: TCP
      name: e-https-mi

status:
  addr: 0.0.0.0
  port: 10001

middlewareEgress:
  addr: 127.0.0.1
  port: 11001

resources: {}

autoscaling:
  enabled: false
  minReplicas: 1
  maxReplicas: 100
  targetCPUUtilizationPercentage: 80

volumes: []
volumeMounts: []

nodeSelector: {}
tolerations: []
affinity: {}

config: |
  stacks:
    default:
      middlewares:

  tap:
    default_stack: default
    default_domain_action: IGNORE

  proxy:
    jwt_hmac_key: "qwertyuiopasdfghjklzxcvbnm123456"
    default_domain_action: ALLOW
    endpoints:
      - domain: "www.example.com"
        action: DENY
        allow:
          - ip:172.17.0.1

Deploy Qpoint Proxy

Deploy Qpoint Proxy using Helm with your custom values.yaml file.

helm install qpoint-proxy qpoint/qpoint-proxy -f values.yaml

Verify Deployment

To ensure Qpoint Proxy is running correctly, you can check the status of the deployed pods.

kubectl get pods -l app.kubernetes.io/name=qpoint-proxy

You can also describe the pod to see detailed information.

kubectl describe pod qpoint-proxy

Last updated