mirror of
https://github.com/amkartashov/gf-k8s.git
synced 2026-01-11 09:59:43 +00:00
Added tor/privoxy service
This commit is contained in:
parent
09ab34bf77
commit
8ba7ec78ab
2 changed files with 41 additions and 0 deletions
|
|
@ -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.
|
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
38
torxy.yaml
Normal 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
|
||||||
|
|
||||||
Loading…
Reference in a new issue