Comments (6)
apiVersion: fault-tolerance.opensergo.io/v1alpha1
kind: FaultToleranceRule
metadata:
name: my-rule
namespace: prod
labels:
app: my-app # 规则配置生效的应用名
建议将匹配生效应用名部分(app: my-app
)放到spec中,例如.spec.selector
或者.spec.selector. matchLabels
。
意义:
metadata
部分应当只用于设置当前CR
(容错治理规则)的元数据;- 保持和其他
CRD
规范的语义一致,避免产生歧义,易于使用--例如Istio中的Gateway,k8s中的Deployment;
from opensergo-specification.
@YunWZ Good idea. Would you like to contribute a PR to improve it?
https://github.com/opensergo/opensergo-specification/blob/main/specification/zh-Hans/fault-tolerance.md
from opensergo-specification.
@YunWZ Good idea. Would you like to contribute a PR to improve it? https://github.com/opensergo/opensergo-specification/blob/main/specification/zh-Hans/fault-tolerance.md
Of course
from opensergo-specification.
I'm confused about there parts:
- What is kind of
HttpRequestFallbackAction
. In the sentinel go document, there are only five type of rules,RateLimitStrategy
、ThrottlingStrategy
、ConcurrencyLimitStrategy
、CircuitBreakerStrategy
、AdaptiveOverloadProtectionStrategy
. How can we declare such a type? limitMode
is not implemented in the current code, right? For example, inConcurrencyLimit
, use isolation to generate a rule. But in this rule, it doesn't havelimitMode
attribute.- The
slowConditions
field also does not exist in currently code, right?
from opensergo-specification.
@halfrost For 1, you may refer to the structure of FaultToleranceRule
. HttpRequestFallbackAction
is a kind of FallbackAction
(not a Strategy
), which describes the fallback HTTP response when the associated strategies are triggered.
For 2 and 3, which code repo are you referring to? These fields have been already defined in https://github.com/opensergo/opensergo-java-sdk/blob/main/src/main/proto/fault_tolerance/v1/fault_tolerance.proto
from opensergo-specification.
@sczyh30 For 2 and 3, I didn't find these 2 attribute fields in sentinel-go's code.
from opensergo-specification.
Related Issues (20)
- [RFC] Database governance-Shadow CRD for database shadow l | 数据库治理- 影子库
- WIP: [RFC] Database governance-ConcurrecyControl CRD for concurrency control l | 数据库治理-并发控制
- [RFC] Database governance-Database Discovery CRD for database discovery l | 数据库治理- 数据库发现
- [RFC] Database governance-DistributedTransaction CRD for distributed transaction l | 数据库治理- 分布式事务
- 流量路由标准中样例yaml是否有误 HOT 2
- Wanted: Who is using OpenSergo | OpenSergo 使用情况调研
- 【咨询】多种部署环境下的框架支持程度 HOT 1
- [Discussion] About Adding Traffic Governance to the Event Message Model | 关于增加事件消息模型的流量治理 HOT 4
- [RFC] Refactored traffic routing spec, based on Istio VS/DR CRD
- 推荐您的项目参加-2022年**开源创新大赛
- Apache EventMesh integration with openSergo as EDA governance implementation HOT 1
- opensergo-dashboard可执行包的部署建议
- Support Seata distributed transaction | 有考虑集成seata吗?是否会在这一块推出可插拔的协议? HOT 1
- [Discussion] Add traffic routing spec about event, based on current design #63
- 有考虑推出Java版的控制平面吗?或者支持Java对控制平面的扩展?
- [Discussion] Policy spec integration with Kubernetes Gateway API HOT 1
- OpenSergo also needs to adapt to standards, protocols, frameworks, libraries, tools, and other microservice ecosystems. The list is as follows:OpenSergo还需要适配的标准、协议、框架、库、工具以及其他微服务生态体系,列表如下:
- Add document about how to access opersergo event governance in each framework HOT 1
- Add the standard CRD for zero trust direction in Opensergo | Opensergo中加入关于零信任方向的标准CRD
- [Discussion]关于增加基于吞吐量的流量治理
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opensergo-specification.