GarbageYard

gitlab_service

Sep 13th, 2017
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.38 KB | None | 0 0
  1. [root@cent-gluster-workstation ~]# cat gitlab-service-nodePort.yaml
  2. apiVersion: v1
  3. kind: Service
  4. metadata:
  5.   labels:
  6.     io.kompose.service: gitlab
  7.   name: gitlab
  8. spec:
  9.   type: NodePort
  10.   ports:
  11.   - name: "http"
  12.     port: 80
  13.     nodePort: 30080
  14.   - name: "https"
  15.     port: 443
  16.     nodePort: 30443
  17.   selector:
  18.     io.kompose.service: gitlab
  19. status:
  20.   loadBalancer: {}
Add Comment
Please, Sign In to add comment