File tree Expand file tree Collapse file tree 5 files changed +17
-9
lines changed Expand file tree Collapse file tree 5 files changed +17
-9
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ webhooks:
77 - v1
88 clientConfig :
99 service :
10- name : webhook-service
11- namespace : system
10+ name : {{ include "tensor-fusion.fullname" . }}-webhook
11+ namespace : {{ include "tensor-fusion.namespace" . }}
1212 path : /mutate-v1-pod
1313 failurePolicy : Fail
1414 name : mpod-v1.kb.io
Original file line number Diff line number Diff line change 4141 - name : cert
4242 readOnly : true
4343 mountPath : /tmp/k8s-webhook-server/serving-certs
44+ items :
45+ - key : tls.crt
46+ path : cert
47+ - key : tls.key
48+ path : key
4449 - name : config
4550 mountPath : /etc/tensor-fusion
4651 volumes :
Original file line number Diff line number Diff line change @@ -28,13 +28,15 @@ spec:
2828 emptyDir : {}
2929 containers :
3030 - name : tensor-fusion-hypervisor
31- image : tensorfusion/tensor-fusion- hypervisor:1.8.1_amd64
31+ image : " {{ .Values. hypervisor.image.repository }}:{{ .Values.hypervisor.image.tag }} "
3232 command :
3333 - /home/app/tensor-fusion-hypervisor
34- - ' --sock-path'
34+ - --sock-path
3535 - /tensor-fusion/worker/sock/
36- - ' --gpu-metrics-file'
36+ - --gpu-metrics-file
3737 - /logs/metrics.log
38+ - --scheduler
39+ - random1
3840 env :
3941 - name : NVIDIA_VISIBLE_DEVICES
4042 value : all
Original file line number Diff line number Diff line change @@ -21,6 +21,10 @@ serviceAccount:
2121
2222hypervisor :
2323 greptimedbEendpoint : greptimedb-standalone.greptimedb.svc.cluster.local:4001
24+ image :
25+ repository : tensorfusion/tensor-fusion-hypervisor
26+ # Overrides the image tag whose default is the chart appVersion.
27+ tag : " 1.9.0_amd64"
2428 affinity :
2529 nodeAffinity :
2630 requiredDuringSchedulingIgnoredDuringExecution :
Original file line number Diff line number Diff line change @@ -104,10 +104,7 @@ func main() {
104104 }
105105
106106 webhookServer := webhook .NewServer (webhook.Options {
107- CertName : "cert" ,
108- KeyName : "key" ,
109- ClientCAName : "ca" ,
110- TLSOpts : tlsOpts ,
107+ TLSOpts : tlsOpts ,
111108 })
112109
113110 // Metrics endpoint is enabled in 'config/default/kustomization.yaml'. The Metrics options configure the server.
You can’t perform that action at this time.
0 commit comments