--- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.9.0 creationTimestamp: null name: xstorefollowers.polardbx.aliyun.com spec: group: polardbx.aliyun.com names: kind: XStoreFollower listKind: XStoreFollowerList plural: xstorefollowers shortNames: - xf singular: xstorefollower scope: Namespaced versions: - additionalPrinterColumns: - jsonPath: .status.phase name: PHASE type: string - jsonPath: .status.message name: MESSAGE type: string name: v1 schema: openAPIV3Schema: description: XStoreFollower is used create a learner node of the xstore 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: properties: fromPodName: description: FromPodName represents the name of the pod which is used as the backup source type: string local: default: false description: build the FromPod locally type: boolean nodeName: description: NodeName is the dest Node to build the follower on type: string role: default: follower enum: - learner - logger - follower type: string targetPodName: description: PodTemplate represents the configuration of pod which affect the resource schedule. type: string xStoreName: description: XStoreName represents the name of xstore which the follower belongs to type: string type: object status: properties: backupJobName: description: BackupJobName represents the name of the back job type: string currentJobName: description: CurrentJobName represents the name of the current job type: string currentJobTask: description: CurrentJobTask represents the task name of the current job type: string electionWeight: description: ElectionWeight represents the election weight of target pod type: integer flowFlags: description: FlowFlags represent flow flags items: properties: name: type: string value: type: boolean type: object type: array message: description: Message show some message about the current step type: string phase: description: Phase represents the running phase of the task type: string rebuildPodName: description: RebuildPodName represents the temporary pod name. type: string restoreJobName: description: RestoreJobName represents the name of the restore job type: string targetNodeName: description: RebuildNodeName represent the new node name of the pod type: string targetPodName: description: TargetPodName represents the target pod name type: string toCleanHostPathVolume: description: ToCleanHostPathVolume represents the host path volume that needs to be clean properties: dataSize: description: Size of the data volume. format: int64 type: integer host: description: Host or node name if the volume is bound to some node. type: string hostPath: description: Data HostPath of the file/dir. type: string logHostPath: description: Log HostPath of the file/dir type: string logSize: description: Size of the log volume. format: int64 type: integer pod: description: Pod if the volume is bound to some pod. type: string size: description: Size of the volume. format: int64 type: integer type: description: Type of the host path. type: string type: object type: object type: object served: true storage: true subresources: {}