Bot commit: Добавлен файл k8s/prod.yaml

This commit is contained in:
Vladislav 2026-07-17 07:38:00 -04:00
parent 7b6a9b1e05
commit 69d379c1a0

51
k8s/prod.yaml Normal file
View File

@ -0,0 +1,51 @@
apiVersion: v1
kind: Service
metadata:
name: redis
namespace: kultmost
spec:
selector:
app: ssh-reverse-tunnel
ports:
- name: redis-tcp
port: 6379
targetPort: 6379
type: ClusterIP
---
apiVersion: v1
kind: Service
metadata:
name: mongodb
namespace: kultmost
spec:
selector:
app: ssh-reverse-tunnel
ports:
- name: mongo-tcp
protocol: TCP
port: 27017
targetPort: 27017
type: ClusterIP
---
apiVersion: v1
kind: Service
metadata:
name: kultmost-ssh
namespace: kultmost
spec:
selector:
app: ssh-reverse-tunnel
ports:
- name: mongo-tcp
protocol: TCP
port: 27017
targetPort: 27017
- name: redis-tcp
protocol: TCP
port: 6379
targetPort: 6379
- name: socks5-tcp
protocol: TCP
port: 1080
targetPort: 1080
type: ClusterIP