-
Notifications
You must be signed in to change notification settings - Fork 2.7k
/
deployment.yaml
36 lines (36 loc) · 1 KB
/
deployment.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
kind: Deployment
apiVersion: apps/v1
metadata:
namespace: {{ .Release.Namespace }}
name: hubble-ui
spec:
replicas: {{ .Values.replicas }}
selector:
matchLabels:
k8s-app: hubble-ui
template:
metadata:
labels:
k8s-app: hubble-ui
spec:
serviceAccountName: hubble-ui
containers:
- name: hubble-ui
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
env:
- name: NODE_ENV
value: "production"
- name: LOG_LEVEL
value: "info"
- name: HUBBLE
value: "true"
- name: HUBBLE_SERVICE
value: "hubble-relay.{{ .Release.Namespace }}.svc.{{ .Values.clusterDomain }}"
- name: HUBBLE_PORT
value: "80"
ports:
- containerPort: 12000
name: http
resources:
{{- toYaml .Values.resources | trim | nindent 12 }}