docker-gitlab/kubernetes/gitlab-service.yml
Xueshan Feng 3386cd735d Use kind: ReplicationController to manage pods.
Added start.sh and destroy.sh.
2016-04-08 10:47:43 -07:00

21 lines
318 B
YAML

apiVersion: v1
kind: Service
metadata:
name: gitlab
labels:
name: gitlab
spec:
type: ClusterIP
externalIPs: [172.17.4.201]
ports:
- name: http
port: 80
targetPort: 80
protocol: TCP
- name: ssh
port: 22
targetPort: 22
protocol: TCP
selector:
name: gitlab