152 lines
2.2 KiB
YAML
152 lines
2.2 KiB
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: unms-fluentd
|
|
spec:
|
|
selector:
|
|
app: fluentd
|
|
ports:
|
|
- name: fluentd-port
|
|
protocol: TCP
|
|
port: 24224
|
|
targetPort: 24224
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: unms-siridb
|
|
spec:
|
|
selector:
|
|
app: siridb
|
|
ports:
|
|
- name: siridb-port
|
|
protocol: TCP
|
|
port: 9000
|
|
targetPort: 9000
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: unms-postgres
|
|
spec:
|
|
selector:
|
|
app: postgres
|
|
ports:
|
|
- name: postgres-port
|
|
protocol: TCP
|
|
port: 5432
|
|
targetPort: 5432
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: rabbitmq
|
|
spec:
|
|
selector:
|
|
app: rabbitmq
|
|
ports:
|
|
- name: rabbitmq-port
|
|
protocol: TCP
|
|
port: 5672
|
|
targetPort: 5672
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: unms-rabbitmq
|
|
spec:
|
|
selector:
|
|
app: rabbitmq
|
|
ports:
|
|
- name: rabbitmq-port
|
|
protocol: TCP
|
|
port: 5672
|
|
targetPort: 5672
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: unms
|
|
spec:
|
|
selector:
|
|
app: unms
|
|
ports:
|
|
- name: http
|
|
protocol: TCP
|
|
port: 8081
|
|
targetPort: 8081
|
|
- name: ws
|
|
protocol: TCP
|
|
port: 8082
|
|
targetPort: 8082
|
|
- name: ws-shell
|
|
protocol: TCP
|
|
port: 8083
|
|
targetPort: 8083
|
|
- name: ws-api
|
|
protocol: TCP
|
|
port: 8084
|
|
targetPort: 8084
|
|
- name: https
|
|
protocol: TCP
|
|
port: 443
|
|
targetPort: 443
|
|
- name: suspend
|
|
protocol: TCP
|
|
port: 81
|
|
targetPort: 81
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: ucrm
|
|
spec:
|
|
selector:
|
|
app: ucrm
|
|
ports:
|
|
- name: https
|
|
protocol: TCP
|
|
port: 443
|
|
targetPort: 443
|
|
- name: suspend
|
|
protocol: TCP
|
|
port: 81
|
|
targetPort: 81
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: unms-nginx
|
|
spec:
|
|
selector:
|
|
app: nginx
|
|
ports:
|
|
- name: http
|
|
protocol: TCP
|
|
port: 80
|
|
targetPort: 80
|
|
- name: https
|
|
protocol: TCP
|
|
port: 443
|
|
targetPort: 443
|
|
- name: suspend
|
|
protocol: TCP
|
|
port: 81
|
|
targetPort: 81
|
|
- name: custom
|
|
protocol: TCP
|
|
port: 8089
|
|
targetPort: 8089
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: unms-netflow
|
|
spec:
|
|
selector:
|
|
app: netflow
|
|
ports:
|
|
- name: netflow-port
|
|
protocol: UDP
|
|
port: 2055
|
|
targetPort: 2055 |