cita-cloud / charts Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
通过 Helm charts 部署 6.4.0 版本的 CITA Cloud 时,四个节点仅有一个能够成功运行,其他三个节点出现类似如下错误:
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 5m33s default-scheduler Successfully assigned cita-cloud-over-cephfs/test-chain-0 to k8s130-wn137
Warning FailedAttachVolume 5m33s attachdetach-controller Multi-Attach error for volume "pvc-5ef03e50-b2f6-45fc-8a02-f2e5cb5de94c" Volume is already used by pod(s) test-chain-1
Warning FailedMount 74s (x2 over 3m31s) kubelet Unable to attach or mount volumes: unmounted volumes=[datadir], unattached volumes=[cloud-config-shell kube-api-access-k2wnp datadir]: timed out waiting for the condition
节点能够成功运行,不会出现该错误。
PVC 使用 Rook Ceph 提供的 CephFS 存储类,然后运行 CITA Cloud
helm install local-pvc cita-cloud/cita-cloud-pvc \
--set scName=ceph-filesystem \
--set size=1000Gi
$ helm install test-chain cita-cloud/cita-cloud-local-cluster \
--set pvcName=local-pvc \
--set service.nodePort=32224 \
--set service.vmPort=32225 \
--set config.superAdmin=0xc8ca9cc77a7f822fdd0baef7a7740f9dba493455
现在,如果使用 NFS 存储,则不存在该问题,原因是 PV PVC 的 accessModes 非强制属性,NFS 及其他某些存储没有实现强制限制。
而 Ceph 的 CephFS StorageClass 则进行强制限制,导致该 PV PVC 无法在其他节点使用。
将 cita-cloud-pvc 的 accessModes: ["ReadWriteOnce"] 修改成 ReadWriteMany 即可解决问题。
使用chaosmesh做可靠性测试的时候,需要使用lable来选择要测试的pod。
但是目前没有增加自己的lable,依赖helm自行添加的lable。
与operator添加的lable不一致。
通过自行添加lable,不管用何种方式启动的链,lable保持一致。
"app.kubernetes.io/chain-name": chainName,
"app.kubernetes.io/chain-node": nodeName,
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.