Bot commit: Добавлен файл k8s/prod.yaml
This commit is contained in:
parent
7b6a9b1e05
commit
69d379c1a0
51
k8s/prod.yaml
Normal file
51
k8s/prod.yaml
Normal 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
|
||||||
Loading…
Reference in New Issue
Block a user