-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update upstream specifications to their latest version
- Loading branch information
Showing
226 changed files
with
95,792 additions
and
4,857 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
134 changes: 134 additions & 0 deletions
134
crd-catalog/apecloud/kubeblocks/apps.kubeblocks.io/v1/clusterdefinitions.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,134 @@ | ||
apiVersion: "apiextensions.k8s.io/v1" | ||
kind: "CustomResourceDefinition" | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: "v0.14.0" | ||
labels: | ||
app.kubernetes.io/name: "kubeblocks" | ||
name: "clusterdefinitions.apps.kubeblocks.io" | ||
spec: | ||
group: "apps.kubeblocks.io" | ||
names: | ||
categories: | ||
- "kubeblocks" | ||
kind: "ClusterDefinition" | ||
listKind: "ClusterDefinitionList" | ||
plural: "clusterdefinitions" | ||
shortNames: | ||
- "cd" | ||
singular: "clusterdefinition" | ||
scope: "Cluster" | ||
versions: | ||
- additionalPrinterColumns: | ||
- description: "topologies" | ||
jsonPath: ".status.topologies" | ||
name: "Topologies" | ||
type: "string" | ||
- description: "status phase" | ||
jsonPath: ".status.phase" | ||
name: "STATUS" | ||
type: "string" | ||
- jsonPath: ".metadata.creationTimestamp" | ||
name: "AGE" | ||
type: "date" | ||
name: "v1" | ||
schema: | ||
openAPIV3Schema: | ||
description: "ClusterDefinition defines the topology for databases or storage systems,\noffering a variety of topological configurations to meet diverse deployment needs and scenarios.\n\n\nIt includes a list of Components, each linked to a ComponentDefinition, which enhances reusability and reduce redundancy.\nFor example, widely used components such as etcd and Zookeeper can be defined once and reused across multiple ClusterDefinitions,\nsimplifying the setup of new systems.\n\n\nAdditionally, ClusterDefinition also specifies the sequence of startup, upgrade, and shutdown for Components,\nensuring a controlled and predictable management of component lifecycles." | ||
properties: | ||
apiVersion: | ||
description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore 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.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" | ||
type: "string" | ||
metadata: | ||
type: "object" | ||
spec: | ||
description: "ClusterDefinitionSpec defines the desired state of ClusterDefinition." | ||
properties: | ||
topologies: | ||
description: "Topologies defines all possible topologies within the cluster." | ||
items: | ||
description: "ClusterTopology represents the definition for a specific cluster topology." | ||
properties: | ||
components: | ||
description: "Components specifies the components in the topology." | ||
items: | ||
description: "ClusterTopologyComponent defines a Component within a ClusterTopology." | ||
properties: | ||
compDef: | ||
description: "Specifies the exact name, name prefix, or regular expression pattern for matching the name of the ComponentDefinition\ncustom resource (CR) that defines the Component's characteristics and behavior.\n\n\nThe system selects the ComponentDefinition CR with the latest version that matches the pattern.\nThis approach allows:\n\n\n1. Precise selection by providing the exact name of a ComponentDefinition CR.\n2. Flexible and automatic selection of the most up-to-date ComponentDefinition CR\n\t by specifying a name prefix or regular expression pattern.\n\n\nOnce set, this field cannot be updated." | ||
maxLength: 64 | ||
type: "string" | ||
name: | ||
description: "Defines the unique identifier of the component within the cluster topology.\nIt follows IANA Service naming rules and is used as part of the Service's DNS name.\nThe name must start with a lowercase letter, can contain lowercase letters, numbers,\nand hyphens, and must end with a lowercase letter or number.\n\n\nCannot be updated once set." | ||
maxLength: 16 | ||
pattern: "^[a-z]([a-z0-9\\-]*[a-z0-9])?$" | ||
type: "string" | ||
required: | ||
- "compDef" | ||
- "name" | ||
type: "object" | ||
maxItems: 128 | ||
minItems: 1 | ||
type: "array" | ||
default: | ||
description: "Default indicates whether this topology serves as the default configuration.\nWhen set to true, this topology is automatically used unless another is explicitly specified." | ||
type: "boolean" | ||
name: | ||
description: "Name is the unique identifier for the cluster topology.\nCannot be updated." | ||
maxLength: 32 | ||
type: "string" | ||
orders: | ||
description: "Specifies the sequence in which components within a cluster topology are\nstarted, stopped, and upgraded.\nThis ordering is crucial for maintaining the correct dependencies and operational flow across components." | ||
properties: | ||
provision: | ||
description: "Specifies the order for creating and initializing components.\nThis is designed for components that depend on one another. Components without dependencies can be grouped together.\n\n\nComponents that can be provisioned independently or have no dependencies can be listed together in the same stage,\nseparated by commas." | ||
items: | ||
type: "string" | ||
type: "array" | ||
terminate: | ||
description: "Outlines the order for stopping and deleting components.\nThis sequence is designed for components that require a graceful shutdown or have interdependencies.\n\n\nComponents that can be terminated independently or have no dependencies can be listed together in the same stage,\nseparated by commas." | ||
items: | ||
type: "string" | ||
type: "array" | ||
update: | ||
description: "Update determines the order for updating components' specifications, such as image upgrades or resource scaling.\nThis sequence is designed for components that have dependencies or require specific update procedures.\n\n\nComponents that can be updated independently or have no dependencies can be listed together in the same stage,\nseparated by commas." | ||
items: | ||
type: "string" | ||
type: "array" | ||
type: "object" | ||
required: | ||
- "components" | ||
- "name" | ||
type: "object" | ||
maxItems: 128 | ||
minItems: 1 | ||
type: "array" | ||
type: "object" | ||
status: | ||
description: "ClusterDefinitionStatus defines the observed state of ClusterDefinition" | ||
properties: | ||
message: | ||
description: "Provides additional information about the current phase." | ||
type: "string" | ||
observedGeneration: | ||
description: "Represents the most recent generation observed for this ClusterDefinition." | ||
format: "int64" | ||
type: "integer" | ||
phase: | ||
description: "Specifies the current phase of the ClusterDefinition. Valid values are `empty`, `Available`, `Unavailable`.\nWhen `Available`, the ClusterDefinition is ready and can be referenced by related objects." | ||
enum: | ||
- "Available" | ||
- "Unavailable" | ||
type: "string" | ||
topologies: | ||
description: "Topologies this ClusterDefinition supported." | ||
type: "string" | ||
type: "object" | ||
type: "object" | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} |
Oops, something went wrong.