用 dolphindb-mgr helm dolphindb-webserver 无法启动

https://github.com/dolphindb/dolphindb-helm-charts/tree/main/dolphindb-mgr
values.yaml

global:
  registry: ""
  repository: dolphindb
  storageClass: ""
  serviceType: NodePort
  serviceAccount: dolphindb-mgr-sa
  version: v1.0.0
  allNamespace: false

dolphindb-operator:
  replicaCount: 2
  imageTag: ""

dolphindb-webserver:
  replicaCount: 2
  imageTag: ""
  nodePortIP: ""

dolphindb:
  serviceType: ""
  coreDumpDir: "/data/ddb/core"
  controllerDataSize: 200Mi
  datanodeDataSize: 200Mi
  images:
    default:
      dolphindbConfigLoader: ""
      dolphindbServiceManager: ""

license:
  name: dolphindb-license
  content: "2042.01.01,8,2,3,Trial Users,0,-1,,1
M61R0ONe5dFVlsrT8TYM5HsSD0o8O03ua7fino0gH3vINnQ5mM8xQElMl+pZNfc+
6ktPaQBGdPdKOjJxgIS9wOnfg4CFiwCAxfr/bAuy6CENElEtHpohkyUq5PBDXFmL
3Zzw4gPcv/jQNCAmDhSwjhjt8HonhAf4dp+jw0dYKZ1aJQU09yVuwTuqE7jzaGhh
6l1c+mnSO39ZEfQPbvHSLGIQcOM77lH05E7ChhXG8tARsW+/vYJMye20z3bCkAjC
VGZdCe7mvYblmlALb/mTvZ5AMS3WZkOsFLbu3yVZDB55hLoczgls7katqeVmpn2n
vbP//yqCmzlMS8M63rdjNQ=="
  resources:
    limits:
      cpu: 1
      memory: 1Gi
    requests:
      cpu: 1
      memory: 1Gi


dolphindb-webserver

I0427 07:31:10.489336       1 config.go:40] Config ManagerConfig is &{MetricsAddr:0 EnableLeaderElection:false WorkNamespace:quarkquant}
I0427 07:31:10.489429 1 config.go:40] Config BaseConfig is &{Namespace:quarkquant}
I0427 07:31:10.489596 1 config.go:40] Config k8sConfig is &{Keepalive:10ns KubeTimeout:1m0s KubeQPS:100 KubeBurst:100 KubeConfig:&rest.Config{Host:"https://10.233.0.1:443", APIPath:"", ContentConfig:rest.ContentConfig{AcceptContentTypes:"", ContentType:"", GroupVersion:(*schema.GroupVersion)(nil), NegotiatedSerializer:runtime.NegotiatedSerializer(nil)}, Username:"", Password:"", BearerToken:"--- REDACTED ---", BearerTokenFile:"/var/run/secrets/kubernetes.io/serviceaccount/token", Impersonate:rest.ImpersonationConfig{UserName:"", Groups:[]string(nil), Extra:map[string][]string(nil)}, AuthProvider:<nil>, AuthConfigPersister:rest.AuthProviderConfigPersister(nil), ExecProvider:<nil>, TLSClientConfig:rest.sanitizedTLSClientConfig{Insecure:false, ServerName:"", CertFile:"", KeyFile:"", CAFile:"/var/run/secrets/kubernetes.io/serviceaccount/ca.crt", CertData:[]uint8(nil), KeyData:[]uint8(nil), CAData:[]uint8(nil), NextProtos:[]string(nil)}, UserAgent:"", DisableCompression:false, Transport:http.RoundTripper(nil), WrapTransport:(transport.WrapperFunc)(nil), QPS:100, Burst:100, RateLimiter:flowcontrol.RateLimiter(nil), Timeout:60000000000, Dial:(func(context.Context, string, string) (net.Conn, error))(nil)}}
I0427 07:31:10.489687 1 config.go:40] Config DolphinDBEnvConfig is &{EnvConfigName:dolphindb-env-config}
I0427 07:31:10.489700 1 config.go:40] Config DolphinDBWebServerRouterConfig is &{IP:0.0.0.0 Port:8080}
I0427 07:31:10.489706 1 config.go:40] Config DolphinDBWebServerConfig is &{NodePortIP: DolphinDBConfigDir:/dolphindb-config}
I0427 07:31:10.489724 1 config.go:43] Succeed to init the config!
Failed to open the file [/dolphindb-config/agent.cfg]! Error is [open /dolphindb-config/agent.cfg: no such file or directory]
E0427 07:31:10.489756 1 dolphindb_webserver.go:22] panic error is load agent config failed. read dolphindb config file /dolphindb-config/agent.cfg failed. open /dolphindb-config/agent.cfg: no such file or directory


/dolphindb-config/agent.cfg 需要monut 进去? 如何配置?

换成 v1.1.2 解决了
请先 登录 后评论
  • 0 关注
  • 0 收藏,656 浏览
  • sz 提出于 2023-04-27 15:41

相似问题