-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
83e535e
commit df922d1
Showing
16 changed files
with
7,598 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../versions/kuperator/0.5.3/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
apiVersion: v1 | ||
name: kuperator | ||
description: Helm chart for KusionStack Kuperator | ||
version: 0.5.3 | ||
appVersion: 0.5.3 | ||
home: https://KusionStack.io | ||
sources: | ||
- https://github.com/KusionStack/kuperator |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
|
||
ShardingConfig options are enabled. | ||
|
||
Default values: | ||
``` | ||
sharding: | ||
enabled: false # Apply a default ShardingConfig | ||
isDemo: false # Create some demo namespace | ||
replicas: 5 # StatefulSet Replicas | ||
size: 2 # Sharding Size | ||
``` | ||
|
||
Install the latest ControllerMesh. | ||
$helm install ctrlmesh kusionstack/ctrlmesh --version 0.1.2 | ||
|
||
If ControllerMesh is already installed, you can enable ShardingConfig with | ||
$helm install kuperator kusionstack/kuperator --set sharding.enabled=true | ||
|
||
|
||
KusionStack Kuperator installed successfully. | ||
Welcome! ^_^ |
688 changes: 688 additions & 0 deletions
688
versions/kuperator/0.5.3/templates/crd/apps.kusionstack.io_collasets.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
147 changes: 147 additions & 0 deletions
147
versions/kuperator/0.5.3/templates/crd/apps.kusionstack.io_operationjobs.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,147 @@ | ||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.15.0 | ||
name: operationjobs.apps.kusionstack.io | ||
spec: | ||
group: apps.kusionstack.io | ||
names: | ||
kind: OperationJob | ||
listKind: OperationJobList | ||
plural: operationjobs | ||
shortNames: | ||
- opj | ||
singular: operationjob | ||
scope: Namespaced | ||
versions: | ||
- additionalPrinterColumns: | ||
- jsonPath: .status.progress | ||
name: PROGRESS | ||
type: string | ||
- jsonPath: .metadata.creationTimestamp | ||
name: AGE | ||
type: date | ||
name: v1alpha1 | ||
schema: | ||
openAPIV3Schema: | ||
description: OperationJob is the Schema for the operationjobs API | ||
properties: | ||
apiVersion: | ||
description: |- | ||
APIVersion defines the versioned schema of this representation of an object. | ||
Servers should convert recognized schemas to the latest internal value, and | ||
may reject unrecognized values. | ||
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | ||
type: string | ||
kind: | ||
description: |- | ||
Kind is a string value representing the REST resource this object represents. | ||
Servers may infer this from the endpoint the client submits requests to. | ||
Cannot be updated. | ||
In CamelCase. | ||
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | ||
type: string | ||
metadata: | ||
type: object | ||
spec: | ||
description: OperationJobSpec defines the desired state of OperationJob | ||
properties: | ||
TTLSecondsAfterFinished: | ||
description: Limit the lifetime of an operation that has finished | ||
execution (either Complete or Failed) | ||
format: int32 | ||
type: integer | ||
action: | ||
description: 'Specify the operation actions including: Restart, Replace' | ||
type: string | ||
activeDeadlineSeconds: | ||
description: |- | ||
Specify the duration in seconds relative to the startTime | ||
that the job may be active before the system tries to terminate it | ||
format: int32 | ||
type: integer | ||
operationDelaySeconds: | ||
description: OperationDelaySeconds indicates how many seconds it should | ||
delay before operating update. | ||
format: int32 | ||
type: integer | ||
partition: | ||
description: |- | ||
Partition controls the operation progress by indicating how many pods should be operated. | ||
Defaults to nil (all pods will be updated) | ||
format: int32 | ||
type: integer | ||
targets: | ||
description: Define the operation target pods | ||
items: | ||
description: PodOpsTarget defines the target pods of the OperationJob | ||
properties: | ||
containers: | ||
description: Specify the containers to restart | ||
items: | ||
type: string | ||
type: array | ||
name: | ||
description: Specify the operation target pods | ||
type: string | ||
type: object | ||
type: array | ||
type: object | ||
status: | ||
description: OperationJobStatus defines the observed state of OperationJob | ||
properties: | ||
endTimestamp: | ||
description: Operation end time | ||
format: date-time | ||
type: string | ||
failedPodCount: | ||
description: failed pod count of the pods involved in the OperationJob | ||
format: int32 | ||
type: integer | ||
observedGeneration: | ||
description: |- | ||
ObservedGeneration is the most recent generation observed for this OperationJob. It corresponds to the | ||
OperationJob's generation, which is updated on mutation by the API Server. | ||
format: int64 | ||
type: integer | ||
progress: | ||
description: Phase indicates the of the OperationJob | ||
type: string | ||
startTimestamp: | ||
description: Operation start time | ||
format: date-time | ||
type: string | ||
succeededPodCount: | ||
description: Succeeded replicas of the pods involved in the OperationJob | ||
format: int32 | ||
type: integer | ||
targetDetails: | ||
description: Operation details of the target pods | ||
items: | ||
properties: | ||
message: | ||
description: message displays detail of reason | ||
type: string | ||
name: | ||
description: name of the target pod | ||
type: string | ||
progress: | ||
description: operation progress of target pod | ||
type: string | ||
reason: | ||
description: reason for current operation progress | ||
type: string | ||
type: object | ||
type: array | ||
totalPodCount: | ||
description: Replicas of the pods involved in the OperationJob | ||
format: int32 | ||
type: integer | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} |
Oops, something went wrong.