github.com/replicatedcom/ship@v0.50.0/integration/init/istio-1.0.3/expected/.ship/upstream/charts/tracing/templates/deployment.yaml (about)

     1  apiVersion: extensions/v1beta1
     2  kind: Deployment
     3  metadata:
     4    name: istio-tracing
     5    namespace: {{ .Release.Namespace }}
     6    labels:
     7      app: istio-tracing
     8      chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
     9      release: {{ .Release.Name }}
    10      heritage: {{ .Release.Service }}
    11  spec:
    12    replicas: {{ .Values.replicaCount }}
    13    template:
    14      metadata:
    15        labels:
    16          app: jaeger
    17        annotations:
    18          sidecar.istio.io/inject: "false"
    19          scheduler.alpha.kubernetes.io/critical-pod: ""
    20      spec:
    21  {{- if .Values.global.priorityClassName }}
    22        priorityClassName: "{{ .Values.global.priorityClassName }}"
    23  {{- end }}
    24        containers:
    25          - name: jaeger
    26            image: "{{ .Values.jaeger.hub }}/all-in-one:{{ .Values.jaeger.tag }}"
    27            imagePullPolicy: {{ .Values.global.imagePullPolicy }}
    28            ports:
    29              - containerPort: {{ .Values.service.internalPort }}
    30              - containerPort: {{ .Values.jaeger.ui.port }}
    31              - containerPort: 5775
    32                protocol: UDP
    33              - containerPort: 6831
    34                protocol: UDP
    35              - containerPort: 6832
    36                protocol: UDP
    37            env:
    38            - name: POD_NAMESPACE
    39              valueFrom:
    40                fieldRef:
    41                  apiVersion: v1
    42                  fieldPath: metadata.namespace
    43            - name: COLLECTOR_ZIPKIN_HTTP_PORT
    44              value: "{{ .Values.service.internalPort }}"
    45            - name: MEMORY_MAX_TRACES
    46              value: "{{ .Values.jaeger.memory.max_traces }}"
    47            livenessProbe:
    48              httpGet:
    49                path: /
    50                port: {{ .Values.jaeger.ui.port }}
    51            readinessProbe:
    52              httpGet:
    53                path: /
    54                port: {{ .Values.jaeger.ui.port }}
    55            resources:
    56  {{- if .Values.resources }}
    57  {{ toYaml .Values.resources | indent 12 }}
    58  {{- else }}
    59  {{ toYaml .Values.global.defaultResources | indent 12 }}
    60  {{- end }}
    61        affinity:
    62        {{- include "nodeaffinity" . | indent 6 }}