Add working files
parent
72a198cccd
commit
d66eee8b94
@ -0,0 +1 @@
|
||||
password: WtVcUp9yebNnwjuE2LuumJM52AJ9sZ
|
@ -0,0 +1,30 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: torproxy-deployment
|
||||
labels:
|
||||
app: torproxy
|
||||
spec:
|
||||
replicas: 3
|
||||
selector:
|
||||
matchLabels:
|
||||
app: torproxy
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: torproxy
|
||||
spec:
|
||||
containers:
|
||||
- name: torproxy
|
||||
image: dperson/torproxy:latest
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: torproxy-service
|
||||
spec:
|
||||
selector:
|
||||
app: torproxy
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 9050
|
@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Configure bitnami repository (requires for production ready charts)
|
||||
helm repo add bitnami https://charts.bitnami.com/bitnami
|
||||
|
||||
# Create the namespace
|
||||
kubectl create namespace bathyscaphe
|
||||
|
||||
# Install Redis
|
||||
helm install --namespace bathyscaphe redis -f deployments/k8s/helm/redis-values.yaml bitnami/redis
|
||||
|
||||
# Install RabbitMQ
|
||||
# helm install --namespace bathyscaphe rabbitmq -f deployments/k8s/helm/rabbitmq-values.yaml bitnami/rabbitmq
|
||||
|
||||
# Install our resources
|
||||
kubectl -n bathyscaphe apply -f deployments/k8s/torproxy.yaml
|
||||
# kubectl -n bathyscaphe apply -f deployments/k8s/configapi.yaml
|
Loading…
Reference in New Issue