Skip to content

Commit 4fb1395

Browse files
committed
add md, and fix manager init
1 parent 899e833 commit 4fb1395

File tree

4 files changed

+19
-1
lines changed

4 files changed

+19
-1
lines changed

docs/img/img4.png

289 KB
Loading

docs/installation.md

Whitespace-only changes.

docs/intro.md

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
2+
3+
# Kridge
4+
5+
Kridge is a solution that helps developers manage their controllers/operators better.
6+
7+
The design architecture of this project is based on [openkruise/controllermesh](https://github.com/openkruise/controllermesh).
8+
9+
## Key Features
10+
11+
1. **Sharding**: Through relevant configurations, Kubernetes single-point deployed operator applications can be flexibly shard deployed.
12+
2. **Canary upgrade**: Depends on sharding, the controllers can be updated in canary progress instead of one time replace.
13+
3. **Circuit breaker and rate limiter**: Not only Kubernetes operation requests, but also other external operation requests.
14+
4. **Multicluster routing and sharding**: This feature is supported by [kusionstack/kaera(karbour)]()
15+
16+
<p align="center"><img width="800" src="../docs/img/img4.png"/></p>

pkg/utils/cache/limiter.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ var (
2828

2929
func WarpNewCacheWithSelector(selector *cache.ObjectSelector, selectorsByObj cache.SelectorsByObject) func(config *rest.Config, opts cache.Options) (cache.Cache, error) {
3030
return func(config *rest.Config, opts cache.Options) (cache.Cache, error) {
31-
opts.DefaultSelector = *selector
31+
if selector != nil {
32+
opts.DefaultSelector = *selector
33+
}
3234
opts.SelectorsByObject = selectorsByObj
3335
return cache.New(config, opts)
3436
}

0 commit comments

Comments
 (0)