Comments (1)
apiVersion: rollouts.kruise.io/v1alpha1
kind: Rollout
metadata:
name: dep-rollouts
spec:
#定义了运行这个灰度策略允许运行的时间
allowRunTime:
# 时区,可选,默认使用标准时区
# 我们在东八区, 时间偏移为8小时
timeZone:
name: "UTC"
offset: 28800
# 运行策略执行的时间范围,可选,默认全天可执行
# 格式为 时:分:秒
timeRanges:
- startTime: 00:00:00
endTime: 08:00:00
- startTime: 10:00:00
endTime: 12:00:00
- startTime: 14:00:00
endTime: 19:00:00
- startTime: 23:00:00
endTime: 23:59:59
# 策略作用工作负载对象,必填
objectRef:
workloadRef:
apiVersion: apps/v1
kind: Deployment
name: dep-test
# 策略,必填
strategy:
canary:
steps: # 策略具体执行步骤,必填,可由多步组成。
- pause:
duration: 20 # 暂停时间,可选,当前这步策略执行完后等待多久执行下一步。为空则需要手动进入下一步。
replicas: 20% # 副本数,必填,为数值或百分比,每一步递增。
- pause: { }
replicas: 40%
- pause:
duration: 20
replicas: 100%
from rollouts.
Related Issues (20)
- How to partition update an native statefulset in batch HOT 1
- Testing the health of a rollout HOT 2
- 无法删除rollout HOT 6
- `kubectl-kruise rollout approve` cannot support for v1beta1 rollout resource HOT 2
- kruise-api rollout api 版本与controller 不一致 HOT 4
- Deployment randomly stuck when using with KubeVela
- no endpoints available for service "kruise-rollout-webhook-service"
- 将发布策略从 batch 切换到canary 报错 HOT 1
- rollout触发下一步导致已经被下线的deployment再次重新拉起 HOT 1
- 变更发布计划缩容Replicas不生效 HOT 1
- [Proposal] 流量路由规则支持Path和QueryParams
- Two consecutive ContainerRecreateRequests are initiated for a pod, the second one remains pending HOT 1
- 添加 customNetworkRefs 指定istio作为流量规则,不会触发pod更新
- Created non-essential canary service even though I didn't explicitly set enableExtraWorkloadForCanary=true
- strict decoding error: unknown field "spec.strategy.enableExtraWorkloadForCanary"
- Incorrect Traffic Routing During Continuous Releases (for both partition style and canary style) HOT 1
- 多批次发布是否可以支持同时控制多个版本的发布
- annotations in mse.lua may be nil
- Service选择器添加时机问题 HOT 1
- Rollout ArgoCD Action集成
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 rollouts.