Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add kuperator charts #55

Merged
merged 1 commit into from
Aug 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions charts/kuperator
8 changes: 8 additions & 0 deletions versions/kuperator/0.5.3/Chart.yaml
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.
21 changes: 21 additions & 0 deletions versions/kuperator/0.5.3/templates/NOTES.txt
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! ^_^

Large diffs are not rendered by default.

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: {}
Loading
Loading