-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from KusionStack/230329-operating-0.3.0
release operating 0.3.0 chart
- Loading branch information
Showing
16 changed files
with
7,212 additions
and
2 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
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 |
---|---|---|
@@ -1 +1 @@ | ||
../versions/operating/0.2.0 | ||
../versions/operating/0.3.0 |
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: operating | ||
description: Helm chart for KusionStack Operating | ||
version: 0.3.0 | ||
appVersion: 0.3.0 | ||
home: https://KusionStack.io | ||
sources: | ||
- https://github.com/KusionStack/operating |
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 operating kusionstack/operating --version 0.3.0 --set sharding.enabled=true | ||
|
||
|
||
KusionStack Operating v0.3.0 installed successfully. | ||
Welcome! ^_^ |
598 changes: 598 additions & 0 deletions
598
versions/operating/0.3.0/templates/crd/apps.kusionstack.io_collasets.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
5,486 changes: 5,486 additions & 0 deletions
5,486
versions/operating/0.3.0/templates/crd/apps.kusionstack.io_poddecorations.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
443 changes: 443 additions & 0 deletions
443
versions/operating/0.3.0/templates/crd/apps.kusionstack.io_podtransitionrules.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
56 changes: 56 additions & 0 deletions
56
versions/operating/0.3.0/templates/crd/apps.kusionstack.io_resourcecontexts.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,56 @@ | ||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.10.0 | ||
creationTimestamp: null | ||
name: resourcecontexts.apps.kusionstack.io | ||
spec: | ||
group: apps.kusionstack.io | ||
names: | ||
kind: ResourceContext | ||
listKind: ResourceContextList | ||
plural: resourcecontexts | ||
shortNames: | ||
- rc | ||
singular: resourcecontext | ||
scope: Namespaced | ||
versions: | ||
- name: v1alpha1 | ||
schema: | ||
openAPIV3Schema: | ||
description: ResourceContext is the Schema for the resourcecontext 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: ResourceContextSpec defines the desired state of ResourceContext | ||
properties: | ||
contexts: | ||
items: | ||
properties: | ||
data: | ||
additionalProperties: | ||
type: string | ||
type: object | ||
id: | ||
type: integer | ||
required: | ||
- id | ||
type: object | ||
type: array | ||
type: object | ||
type: object | ||
served: true | ||
storage: true |
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,107 @@ | ||
{{- if .Values.namespaceEnabled -}} | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
labels: | ||
{{- toYaml .Values.commonLabels | nindent 4 }} | ||
control-plane: {{ .Values.controlPlane }} | ||
name: {{ .Values.namespace }} | ||
{{- end }} | ||
|
||
{{- if .Values.sharding.isDemo }} | ||
--- | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: demo-0a | ||
--- | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: demo-0b | ||
--- | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: demo-0c | ||
--- | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: demo-0d | ||
--- | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: demo-0e | ||
--- | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: demo-0f | ||
--- | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: demo-0g | ||
--- | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: demo-0o | ||
--- | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: demo-0p | ||
--- | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: demo-0q | ||
--- | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: demo-0r | ||
--- | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: demo-0s | ||
--- | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: demo-0t | ||
--- | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: demo-0u | ||
--- | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: demo-0v | ||
--- | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: demo-0w | ||
--- | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: demo-0x | ||
--- | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: demo-0y | ||
--- | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: demo-0z | ||
{{- end }} |
Oops, something went wrong.