K3s-cluster/gitlab/service.yaml

50 lines
1.1 KiB
YAML
Raw Normal View History

apiVersion: v1
kind: Service
metadata:
name: gitlab-svc
namespace: gitlab
spec:
ports:
- name: http
port: 80
protocol: TCP
targetPort: 80
- name: registry
port: 5050
protocol: TCP
targetPort: 5050
- name: node
port: 9100
protocol: TCP
targetPort: 9100
- name: gitlab-workhorse
port: 9229
protocol: TCP
targetPort: 9229
- name: gitlab-exporter
port: 9168
protocol: TCP
targetPort: 9168
- name: gitlab-sidekiq
port: 8082
protocol: TCP
targetPort: 8082
- name: redis
port: 9121
protocol: TCP
targetPort: 9121
- name: postgres
port: 9187
protocol: TCP
targetPort: 9187
- name: gitaly
port: 9236
protocol: TCP
targetPort: 9236
- name: nginx
port: 8060
protocol: TCP
targetPort: 8060
selector:
app: gitlab