-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvalues.yaml
164 lines (161 loc) · 3.85 KB
/
values.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
global:
nsPrefix: dev-meeraspace
baseUrl: dev.meeraspace.com
gateway: default/gateway
hostPrefix:
hostSuffix:
servicemonitor:
enabled: false
endpoints:
- port: metrics
path: /_metrics
namespaceSelector:
matchNames:
- $nsPrefix-CHANGEME
selector:
matchLabels:
app: CHANGEME_APPNAME
istio:
virtualservice:
enabled: false
host: CHANGME1
extra_host:
http:
- match:
- uri:
prefix: /CHANGEME
route:
- destination:
host: CHANGEME
port:
number: CHANGEME
virtualserviceGrpcMtls:
enabled: false
virtualserviceGrpc:
enabled: false
envoyfilter:
enabled: false
sharedConfigmap:
enabled: false
configurationEnv:
cm-key-1: cm-value-1
KEY1: configurationEnv-VALUE1
configurationFiles:
config.yaml: |
key: type your config here
ca-chain.cert.pem: |
skjawjihjsauireklfsaiohddaksl
common:
enabled: true
nameOverride: ai-assistant
envs:
enabled: false
istio:
virtualservice:
enabled: true
host: assistant
extra_host:
http:
- match:
- uri:
prefix: /api
route:
- destination:
host: ai-assistant-nlp
port:
number: 5001 # external Port
replicaCount: 1
image:
repository: radhouen #Github registry
tag: latest
pullPolicy: IfNotPresent
# pullPolicy: Always
ports:
- name: http
containerPort: 5001 # Internal Port
protocol: TCP
# - name: metrics
# containerPort: 7070
# protocol: TCP
# - name: http2
# containerPort: LISTEN_PORT
# protocol: TCP
# - name: metrics
# containerPort: 7070
# protocol: TCP
extraCommand: []
# - arg1
# - arg2
## Parameters applied to a particular environment
optionalCommand: []
## Predefined global variables `comfigmap-envvars.yaml`,import the container by envFrom: - configMapRef:
envFromConfigMap:
enabled: false
## ExtraEnv has the highest priority when there are multiple repeating envs
extraEnv: {}
# KEY1: VALUE1
## Parameters applied to a particular environment
optionalEnv: {}
# KEY1: VALUE1
extraENVRulehandled: {}
# KEY2: VALUE2
service:
type: ClusterIP
ports:
- port: 5001
name: http
targetPort: 5001
# - port: 7070
# name: metrics
# targetPort: 7070
volumeMounts:
## If true, Pod volumes to mount into the container's filesystem
enabled: false
# volumeMounts:
# - name: configmap
# mountPath: /usr/local/config
# - name: configmap
# mountPath: /along
# subPath: config.yaml
# - name: configmap
# mountPath: /along2
# subPath: ca-chain.cert.pem
volumes:
useconfigmap:
enabled: false
volumes:
# - name: datadir
# emptyDir: {}
# volumes:
# - name: data
# persistentVolumeClaim:
# claimName: reach-nominatim-pvc
livenessProbe:
readinessProbe:
resources: {}
## ref https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
priorityClassName:
# tolerations:
# - key: allowspot
# operator: Equal
# value: "true"
# 单实例分配到spot,多实例只有一个分配到spot
# affinity:
# nodeAffinity:
# preferredDuringSchedulingIgnoredDuringExecution:
# - weight: 1
# preference:
# matchExpressions:
# - key: node
# operator: In #Try to deploy to the SPOT node
# values:
# - spot
# podAntiAffinity:
# requiredDuringSchedulingIgnoredDuringExecution:
# - labelSelector:
# matchExpressions:
# - key: app
# operator: In
# values:
# - CHANGEME_APPNAME
# topologyKey: "kubernetes.io/hostname"