ojob ojob.io/kube/genSocksServer name=socks-server port=1080 nodeport=31080 onlylocal=true
Generates the deployment YAML for a quick socks server. Example: 'ojob ojob.io/kube/genSocksServer | kubectl apply -f - && kubectl port-forward deploy/socks-server 1080:1080'
Name | Description |
---|---|
name | A custom name for the socks server deployment (defaults to socks-server) |
port | The port where the socks server will be started within the container (defaults to 1080) |
nodeport | If nodeport is defined then the corresponding service yaml will also be output (e.g. nodeport=31080) |
onlylocal | Deploy the socks proxy server only accepting connections to private network ip addresses |