Skip to content

Commit 489b549

Browse files
Kuperator v0.6.5 (#123)
<!-- Thank you for contributing to KusionStack! Note: 1. With pull requests: - Open your pull request against "main" - Your pull request should have no more than two commits, if not you should squash them. - It should pass all tests in the available continuous integration systems such as GitHub Actions. - You should add/modify tests to cover your proposed code changes. - If your pull request contains a new feature, please document it on the README. 2. Please create an issue first to describe the problem. We recommend that link the issue with the PR in the following question. For more info, check https://kusionstack.io/docs/governance/contribute/ --> #### 1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".): - [ ] N - [ ] Y <!-- You can add issue references here. e.g. fix #123, re #123, fix https://github.com/XXX/issues/44 --> #### 2. What is the scope of this PR (e.g. component or file name): <!-- You can add the scope of this change here. e.g. /src/server/core.rs, kusionstack/KCLVM/kclvm-parser --> #### 3. Provide a description of the PR(e.g. more details, effects, motivations or doc link): <!-- You can choose a brief description here --> - [ ] Affects user behaviors - [ ] Contains syntax changes - [ ] Contains variable changes - [ ] Contains experimental features - [ ] Performance regression: Consumes more CPU - [ ] Performance regression: Consumes more Memory - [ ] Other <!-- You can add more details here. e.g. Call method "XXXX" to ..... in order to ...., More details: https://XXXX.com/doc...... --> #### 4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link): - [ ] N - [ ] Y <!-- You can add more details here. e.g. Calling method "XXXX" will cause the "XXXX", "XXXX" modules to be affected. More details: https://XXXX.com/doc...... --> #### 5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links: <!-- You can choose a brief description here --> - [ ] Unit test - [ ] Integration test - [ ] Benchmark (add benchmark stats below) - [ ] Manual test (add detailed scripts or steps below) - [ ] Other <!-- You can add more details here. e.g. The test case in XXXX is used to ..... test cases in /src/tests/XXXXX test cases https://github.com/XXX/pull/44 benchmark stats: time XXX ms --> #### 6. Release note <!-- compatibility change, improvement, bugfix, and new feature need a release note --> Please refer to [Release Notes Language Style Guide](https://kusionstack.io/docs/governance/release-policy/) to write a quality release note. ```release-note None ```
1 parent b200511 commit 489b549

16 files changed

+7663
-1
lines changed

charts/kuperator

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
../versions/kuperator/0.6.4
1+
../versions/kuperator/0.6.5
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
apiVersion: v1
2+
name: kuperator
3+
description: Helm chart for KusionStack Kuperator
4+
version: 0.6.5
5+
appVersion: 0.6.5
6+
home: https://KusionStack.io
7+
sources:
8+
- https://github.com/KusionStack/kuperator

versions/kuperator/0.6.5/README.md

Whitespace-only changes.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
2+
ShardingConfig options are enabled.
3+
4+
Default values:
5+
```
6+
sharding:
7+
enabled: false # Apply a default ShardingConfig
8+
isDemo: false # Create some demo namespace
9+
replicas: 5 # StatefulSet Replicas
10+
size: 2 # Sharding Size
11+
```
12+
13+
Install the latest ControllerMesh.
14+
$helm install ctrlmesh kusionstack/ctrlmesh --version 0.1.2
15+
16+
If ControllerMesh is already installed, you can enable ShardingConfig with
17+
$helm install kuperator kusionstack/kuperator --set sharding.enabled=true
18+
19+
20+
KusionStack Kuperator installed successfully.
21+
Welcome! ^_^

versions/kuperator/0.6.5/templates/crd/apps.kusionstack.io_collasets.yaml

Lines changed: 699 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 165 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,165 @@
1+
---
2+
apiVersion: apiextensions.k8s.io/v1
3+
kind: CustomResourceDefinition
4+
metadata:
5+
annotations:
6+
controller-gen.kubebuilder.io/version: v0.15.0
7+
name: operationjobs.apps.kusionstack.io
8+
spec:
9+
group: apps.kusionstack.io
10+
names:
11+
kind: OperationJob
12+
listKind: OperationJobList
13+
plural: operationjobs
14+
shortNames:
15+
- opj
16+
singular: operationjob
17+
scope: Namespaced
18+
versions:
19+
- additionalPrinterColumns:
20+
- jsonPath: .status.progress
21+
name: PROGRESS
22+
type: string
23+
- jsonPath: .metadata.creationTimestamp
24+
name: AGE
25+
type: date
26+
name: v1alpha1
27+
schema:
28+
openAPIV3Schema:
29+
description: OperationJob is the Schema for the operationjobs API
30+
properties:
31+
apiVersion:
32+
description: |-
33+
APIVersion defines the versioned schema of this representation of an object.
34+
Servers should convert recognized schemas to the latest internal value, and
35+
may reject unrecognized values.
36+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
37+
type: string
38+
kind:
39+
description: |-
40+
Kind is a string value representing the REST resource this object represents.
41+
Servers may infer this from the endpoint the client submits requests to.
42+
Cannot be updated.
43+
In CamelCase.
44+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
45+
type: string
46+
metadata:
47+
type: object
48+
spec:
49+
description: OperationJobSpec defines the desired state of OperationJob
50+
properties:
51+
TTLSecondsAfterFinished:
52+
description: Limit the lifetime of an operation that has finished
53+
execution (either Complete or Failed)
54+
format: int32
55+
type: integer
56+
action:
57+
description: 'Specify the operation actions including: Restart, Replace'
58+
type: string
59+
activeDeadlineSeconds:
60+
description: |-
61+
Specify the duration in seconds relative to the startTime
62+
that the target may be active before the system tries to terminate it
63+
format: int32
64+
type: integer
65+
operationDelaySeconds:
66+
description: OperationDelaySeconds indicates how many seconds it should
67+
delay before operating update.
68+
format: int32
69+
type: integer
70+
partition:
71+
description: |-
72+
Partition controls the operation progress by indicating how many pods should be operated.
73+
Defaults to nil (all pods will be updated)
74+
format: int32
75+
type: integer
76+
targets:
77+
description: Define the operation target pods
78+
items:
79+
description: PodOpsTarget defines the target pods of the OperationJob
80+
properties:
81+
containers:
82+
description: Specify the containers to restart
83+
items:
84+
type: string
85+
type: array
86+
name:
87+
description: Specify the operation target pods
88+
type: string
89+
type: object
90+
type: array
91+
type: object
92+
status:
93+
description: OperationJobStatus defines the observed state of OperationJob
94+
properties:
95+
endTime:
96+
description: Operation end time
97+
format: date-time
98+
type: string
99+
failedPodCount:
100+
description: failed pod count of the pods involved in the OperationJob
101+
format: int32
102+
type: integer
103+
observedGeneration:
104+
description: |-
105+
ObservedGeneration is the most recent generation observed for this OperationJob. It corresponds to the
106+
OperationJob's generation, which is updated on mutation by the API Server.
107+
format: int64
108+
type: integer
109+
progress:
110+
description: Phase indicates the of the OperationJob
111+
type: string
112+
startTime:
113+
description: Operation start time
114+
format: date-time
115+
type: string
116+
succeededPodCount:
117+
description: Succeeded replicas of the pods involved in the OperationJob
118+
format: int32
119+
type: integer
120+
targetDetails:
121+
description: Operation details of the target pods
122+
items:
123+
properties:
124+
endTime:
125+
description: target operation end time
126+
format: date-time
127+
type: string
128+
error:
129+
description: error indicates the error info of progressing
130+
properties:
131+
message:
132+
description: A human-readable message indicating details
133+
about the transition.
134+
type: string
135+
reason:
136+
description: A human-readable short word
137+
type: string
138+
type: object
139+
extraInfo:
140+
additionalProperties:
141+
type: string
142+
description: extra info of the target operating progress
143+
type: object
144+
name:
145+
description: name of the target pod
146+
type: string
147+
progress:
148+
description: operation progress of target pod
149+
type: string
150+
startTime:
151+
description: target operation start time
152+
format: date-time
153+
type: string
154+
type: object
155+
type: array
156+
totalPodCount:
157+
description: Replicas of the pods involved in the OperationJob
158+
format: int32
159+
type: integer
160+
type: object
161+
type: object
162+
served: true
163+
storage: true
164+
subresources:
165+
status: {}

0 commit comments

Comments
 (0)