Skip to content
Snippets Groups Projects
Select Git revision
  • 99b14699f3f2eedf9f01081e218c1d29112f3a88
  • master default
2 results

FORMULA

Blame
  • deployment.yaml 657 B
    apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: buildserverdemo
    spec:
      selector:
        matchLabels:
          app: buildserverdemo
      replicas: 1
      template:
        metadata:
          labels:
            app: buildserverdemo
        spec:
          containers:
          - name: buildserverdemo
            image: lab.it.hs-hannover.de:4567/htf-cmh/vis_buildserver_gitlabci_demo/buildserverdemo:{VERSION}
          imagePullSecrets:
          - name: gitlab-auth
    ---
    apiVersion: v1
    kind: Service
    metadata:
      name: buildserverdemo
      labels:
        app: buildserverdemo
    spec:
      type: LoadBalancer
      ports: 
        -name: demoLB
        port: 80
        targetPort: 8080
      selector:
        app: buildserverdemo