tarscloud / k8sframework Goto Github PK
View Code? Open in Web Editor NEWNative Kubernetes Solution for TARS Services. Operator + CRD is adopted.
Native Kubernetes Solution for TARS Services. Operator + CRD is adopted.
elasticsearch 挂载失败
MountVolume.NewMounter initialization failed for volume "tars-dev-data-tars-elasticsearch-9ba1c2b" : path "/usr/local/app/tars/host-mount/tars-dev/tars.elasticsearch/data" does not
建议用tarscpp里面的类替换boost,不要引入boost库了
最新的稳定版本是哪个,为什么不放 release 了
想把原生的tars改成这套k8s的,不知道实际稳定状况如何
看最近提交频率也较少了,支持继续完善
在 tarscontoller 日志中出现很多这样的错误:
E1217 12:36:04.627593 1 tserver.go:160] patch tserver tars-test/chain-marketing error: Operation cannot be fulfilled on tservers.k8s.tars.io "chain-marketing": the object has been modified; please apply your changes to the latest version and try again
E1217 12:36:16.271580 1 tendpoint.go:292] update tendpoint tars-dev/chain-marketing error: Operation cannot be fulfilled on tendpoints.k8s.tars.io "chain-marketing": the object has been modified; please apply your changes to the latest version and try again
请问出现这种错误的原因是什么?可以避免吗?
https://raw.githubusercontent.com/TarsCloud/K8SFramework/master/charts/tarscontroller-1.4.0.tgz
https://raw.githubusercontent.com/TarsCloud/K8SFramework/master/charts/tarsframework-1.4.0.tgz
apiVersion: k8s.tars.io/v1beta2
app: ***
configContent: |-
{}
configName: test.json
kind: TConfig
metadata:
labels:
tars.io/ConfigName: test.json
tars.io/PodSeq: m
tars.io/ServerApp: ***
tars.io/ServerName: ***
name: f8862d3342e20ceb030fbe438666ae62
namespace: tars
podSeq: m
server: ***
apiVersion: k8s.tars.io/v1beta2
app: ***
configContent: |
{"a": 1}
configName: test.json
kind: TConfig
metadata:
labels:
tars.io/ConfigName: test.json
tars.io/PodSeq: '1'
tars.io/ServerApp: ***
tars.io/ServerName: ***
name: eab62c6708825cdf6458ed248270cbf5
namespace: tars
podSeq: '1'
server: ***
在pod-1中cat 配置文件test.json
得到
{}
在pod-1中cat 配置文件test.json
得到
{"a": 1}
install/tarsframework/templates/tars-tarsweb.yaml line:139
ingress安装使用的api resource networking.k8s.io/v1beta1 在k8s v1.22 中已经弃用,使用helm进行快速安装时报错。
在 tarscontroller 中会检查 servant 端口号必须不同,这是出于什么考虑?
同一个应用服务,可能会提供不同服务接口,使用不同的 servant 名字,但是可以在同一个监听端口中处理的。现在强制端口号不同,服务端需要启动多个监听端口,客户端也不能重用连接。想了解一下有什么必要需要做这个验证?
现在默认的 imagePullPolicy 是 Always,有没有办法定制这个值?
问题描述
本人在学习按照官方文件制作业务docker镜像
exec-build.sh tarscloud/tars.cppbase:v1.0.0 cpp build/bin/StorageServer yaml/values.yaml v1.0.0 true
文档里说build/bin/StorageServer参数也可以替换成目录,假设目录里还有一个配置文件,需要执行StorageServer -c StorageCfg运行,该如何实现
build/bin/StorageServer
build/bin/StorageCfg
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.