clusterpedia-io / clusterpedia-helm Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
Install failed when using clusterpedia as subchart together with mysql, error is:
NSTALLATION FAILED: template: ys1000/charts/mysql/templates/primary/svc.yaml:11:14: executing "ys1000/charts/mysql/templates/primary/svc.yaml" at <include "common.labels.standard" (dict "customLabels" .Values.commonLabels "context" $)>: error calling include: template: ys1000/charts/clusterpedia/charts/common/templates/_labels.tpl:6:27: executing "common.labels.standard" at <include "common.names.name" .>: error calling include: template: ys1000/charts/clusterpedia/charts/common/templates/_names.tpl:6:18: executing "common.names.name" at <.Chart.Name>: nil pointer evaluating interface {}.Name
install succeeded
create a parent chart and add the following subcharts:
dependencies:
- name: mysql
repository: oci://registry-1.docker.io/bitnamicharts
version: 9.x.x
condition: tags.mysql
- name: clusterpedia
repository: https://clusterpedia-io.github.io/clusterpedia-helm
version: 1.4.0
condition: tags.clusterpedia
No response
❯
apiserver中init-container 运行失败!日志如下:
kubectl logs -n clusterpedia-system clusterpedia-apiserver-699d9b997c-rf7wx -c ensure-database
mysql: Can't get stat of '/opt/bitnami/mysql/conf/bitnami/my_custom.cnf' (OS errno 2 - No such file or directory)
mysql: [ERROR] Stopped processing the 'include' directive in file /opt/bitnami/mysql/conf/my.cnf at line 30.
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '{database}' at line 1
waiting for database check
检查apiserver-deployment.yaml中init-container. command 发现是由于单引号导致${database}没有被转移导致无法引用正确的数据库名称。
修改apiserver-deployment.yaml 中 init-container. command内容,修改逻辑可以参考clustersynchro-manager-deployment.yaml文件
当设置.Values.externalStorage.createDatabase=true时,无法成功运行apiserver。
No response
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.