apiVersion: apps/v1 kind: Deployment metadata: name: hiphop-deployment-{{ TIER }} labels: app: hiphop-{{ TIER }} annotations: "sidecar.jaegertracing.io/inject": "tracing" spec: replicas: 1 selector: matchLabels: app: hiphop-{{ TIER }} template: metadata: labels: app: hiphop-{{ TIER }} spec: imagePullSecrets: - name: gitlab-registry-credentials containers: - name: hiphop image: git.mylab.th-luebeck.de:4181/cloud-native/lab-tracing/hiphop:latest imagePullPolicy: Always resources: limits: cpu: "50m" ports: - containerPort: 80 env: - name: HIPHOP value: "hiphop-svc" - name: TIER value: "{{ TIER }}" --- apiVersion: v1 kind: Service metadata: name: hiphop-svc-{{ TIER }} labels: app: hiphop-{{ TIER }} spec: selector: app: hiphop-{{ TIER }} ports: - protocol: TCP port: 80 targetPort: 80