Added tor/privoxy service

This commit is contained in:
Andrey Kartashov 2018-01-08 19:09:45 +07:00
parent 09ab34bf77
commit 8ba7ec78ab
2 changed files with 41 additions and 0 deletions

View file

@ -34,3 +34,6 @@ Note: passwords in these files are used only at deployment stage and changed man
sshct.yaml - set of k8s resources for SSH service.
* torxy.yaml
Tor/Privoxy service based on https://github.com/rdsubhas/docker-tor-privoxy-alpine

38
torxy.yaml Normal file
View file

@ -0,0 +1,38 @@
apiVersion: apps/v1beta2
kind: Deployment
metadata:
name: torxy
labels:
app: torxy
spec:
replicas: 1
selector:
matchLabels:
app: torxy
template:
metadata:
labels:
app: torxy
spec:
containers:
- name: torxy
image: rdsubhas/tor-privoxy-alpine
ports:
- containerPort: 8118
name: privoxy
---
kind: Service
apiVersion: v1
metadata:
name: torxy
spec:
selector:
app: torxy
ports:
- name: privoxy
protocol: TCP
port: 8118
targetPort: privoxy
nodePort: 31881
type: NodePort