github.com/replicatedcom/ship@v0.50.0/integration/init/istio-1.0.3/expected/.ship/upstream/charts/servicegraph/templates/deployment.yaml (about) 1 apiVersion: extensions/v1beta1 2 kind: Deployment 3 metadata: 4 name: servicegraph 5 namespace: {{ .Release.Namespace }} 6 labels: 7 app: {{ template "servicegraph.name" . }} 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: servicegraph 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: servicegraph 26 image: "{{ .Values.global.hub }}/{{ .Values.image }}:{{ .Values.global.tag }}" 27 imagePullPolicy: {{ .Values.global.imagePullPolicy }} 28 ports: 29 - containerPort: {{ .Values.service.internalPort }} 30 args: 31 - --prometheusAddr=http://prometheus:9090 32 livenessProbe: 33 httpGet: 34 path: /graph 35 port: {{ .Values.service.internalPort }} 36 readinessProbe: 37 httpGet: 38 path: /graph 39 port: {{ .Values.service.internalPort }} 40 resources: 41 {{- if .Values.resources }} 42 {{ toYaml .Values.resources | indent 12 }} 43 {{- else }} 44 {{ toYaml .Values.global.defaultResources | indent 12 }} 45 {{- end }} 46 affinity: 47 {{- include "nodeaffinity" . | indent 6 }}