Skip to content

Commit 278352e

Browse files
authored
feat: add ScaleRun API (#44)
* feat: scalerun type init * fix: scale workload status add field * fix: rm scaleWebhookReview * fix: rm multiple replicas
1 parent 496f60e commit 278352e

File tree

6 files changed

+1044
-0
lines changed

6 files changed

+1044
-0
lines changed

config/crd/rollout/rollout.kusionstack.io_rolloutruns.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4660,6 +4660,10 @@ spec:
46604660
description: WorkloadDetails contains release details for each workload
46614661
items:
46624662
properties:
4663+
availableReplicas:
4664+
description: AvailableReplicas is the number of service available pods targeted by workload.
4665+
format: int32
4666+
type: integer
46634667
cluster:
46644668
description: Cluster defines which cluster the workload is in.
46654669
type: string
@@ -4697,6 +4701,7 @@ spec:
46974701
description: UpdatedRevision is the updated template revision used to generate pods.
46984702
type: string
46994703
required:
4704+
- availableReplicas
47004705
- replicas
47014706
- updatedAvailableReplicas
47024707
- updatedReadyReplicas
@@ -4758,6 +4763,10 @@ spec:
47584763
description: WorkloadDetails contains release details for each workload
47594764
items:
47604765
properties:
4766+
availableReplicas:
4767+
description: AvailableReplicas is the number of service available pods targeted by workload.
4768+
format: int32
4769+
type: integer
47614770
cluster:
47624771
description: Cluster defines which cluster the workload is in.
47634772
type: string
@@ -4795,6 +4804,7 @@ spec:
47954804
description: UpdatedRevision is the updated template revision used to generate pods.
47964805
type: string
47974806
required:
4807+
- availableReplicas
47984808
- replicas
47994809
- updatedAvailableReplicas
48004810
- updatedReadyReplicas
@@ -4892,6 +4902,10 @@ spec:
48924902
description: TargetStatuses describes the referenced workloads status
48934903
items:
48944904
properties:
4905+
availableReplicas:
4906+
description: AvailableReplicas is the number of service available pods targeted by workload.
4907+
format: int32
4908+
type: integer
48954909
cluster:
48964910
description: Cluster defines which cluster the workload is in.
48974911
type: string
@@ -4929,6 +4943,7 @@ spec:
49294943
description: UpdatedRevision is the updated template revision used to generate pods.
49304944
type: string
49314945
required:
4946+
- availableReplicas
49324947
- replicas
49334948
- updatedAvailableReplicas
49344949
- updatedReadyReplicas

0 commit comments

Comments
 (0)