Skip to content

Simple forward proxy using tinyproxy

Notifications You must be signed in to change notification settings

Rainist/tinyproxy-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

tinyproxy-docker

Simple forward proxy using tinyproxy

dockerhub love

Setup

on Kubernetes

  1. Create configmap

    apiVersion: v1
    kind: ConfigMap
    data:
      tinyproxy.conf: |
        Port 8000
        Listen 0.0.0.0
    
        Upstream proxy-host:proxy-port
    
        MaxClients 100
        MinSpareServers 1
        MaxSpareServers 5
        StartServers 1
        MaxRequestsPerChild 0
    metadata:
      name: proxy-config
      namespace: namespace
  2. Mount configmap to /etc/tinyproxy

    "spec": {
        "volumes": [
          {
            "name": "proxy-config",
            "configMap": {
              "name": "proxy-config",
              "defaultMode": 420
            }
          }
        ],
        "containers": [
          {
            "name": "proxy",
            "image": "rainist/tinyproxy:1.8.4-r3",
            "volumeMounts": [
              {
                "name": "proxy-config",
                "mountPath": "/etc/tinyproxy"
              }
            ],
            ...
          }
        ],
        ...
    }

About

Simple forward proxy using tinyproxy

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published