2025-01-08 20:53:00 -05:00
..
2025-01-08 20:53:00 -05:00
2025-01-08 20:53:00 -05:00
2025-01-08 20:53:00 -05:00
2025-01-08 20:53:00 -05:00
2025-01-08 20:53:00 -05:00

frps Helm Chart

Install the chart

helm install frps .

Uninstall the chart

helm delete frps

Examples

  1. Use LoadBalancer service to expose frps.

    # values.yaml
    service:
      type: LoadBalancer
      settings:
        loadBalancerIP: 34.24.52.92  # Replace with correct IP
    
    # frpc.yaml
    serverAddr: 34.24.52.92
    serverPort: 7000
    auth:
      method: token
      token: "123456789"
    
  2. Enable admin web server UI using nginx ingress controller.

    # values.yaml
    service:
      extras:
        admin:
          enabled: true
    
    ingress:
      extras:
        admin:
          enabled: true
          className: nginx
          hosts:
            - host: frps-admin.mydomain.com
              paths:
                - path: /
                  pathType: ImplementationSpecific
    
  3. Enable vhostHTTPPort proxying using nginx ingress controller.

    # values.yaml
    service:
      extras:
        http:
          enabled: true
    
    ingress:
      extras:
        app1:
          enabled: true
          className: nginx
          hosts:
            - host: app1.mydomain.com
              paths:
                - path: /
                  pathType: ImplementationSpecific
          backendService:
            name: frps-http
            port: 80
        app2:
          enabled: true
          className: nginx
          hosts:
            - host: app2.mydomain.com
              paths:
                - path: /
                  pathType: ImplementationSpecific
          backendService:
            name: frps-http
            port: 80
    
    # frpc.yaml
    serverAddr: 34.24.52.92
    serverPort: 7000
    auth:
      method: token
      token: "123456789"
    
    proxies:
    - name: app1
      type: http
      localIP: 127.0.0.1
      localPort: 8081
      customDomains:
      - app1.mydomain.com
    - name: app2
      type: http
      localIP: 127.0.0.1
      localPort: 8082
      customDomains:
      - app2.mydomain.com
    

Refer to values.yaml for additional settings.