CRD
CruiseControlOperation

CruiseControlOperation CRD schema reference (group kafka.banzaicloud.io)

CruiseControlOperation

📖 Browse this schema interactively: doc.crds.dev

CruiseControlOperation is the Schema for the cruiseControlOperation API.

Full name:
cruisecontroloperations.kafka.banzaicloud.io
Group:
kafka.banzaicloud.io
Singular name:
cruisecontroloperation
Plural name:
cruisecontroloperations
Scope:
Namespaced
Versions:
v1alpha1

Version v1alpha1

Properties

.apiVersion

string

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

.kind

string

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

.metadata

object

.spec

object

CruiseControlOperationSpec defines the desired state of CruiseControlOperation.

.spec.errorPolicy

string

ErrorPolicy defines how failed Cruise Control operation should be handled. When it is “retry”, the Koperator re-executes the failed task in every 30 sec (by default). When it is “ignore”, the Koperator handles the failed task as completed.

.spec.ttlSecondsAfterFinished

integer

When TTLSecondsAfterFinished is specified, the created and finished (completed successfully or completedWithError and errorPolicy: ignore) cruiseControlOperation custom resource will be deleted after the given time elapsed. When it is 0 then the resource is going to be deleted instantly after the operation is finished. When it is not specified the resource is not going to be removed. Value can be only zero and positive integers

.status

object

CruiseControlOperationStatus defines the observed state of CruiseControlOperation.

.status.currentTask

object

CruiseControlTask defines the observed state of the Cruise Control user task.

.status.currentTask.errorMessage

string

.status.currentTask.finished

string

.status.currentTask.httpRequest

string

HTTPRequest is a Cruise Control user task HTTP request.

.status.currentTask.httpResponseCode

integer

.status.currentTask.id

string

.status.currentTask.operation

string Required

Operation defines the Cruise Control operation kind.

.status.currentTask.parameters

object

Parameters defines the configuration of the operation.

.status.currentTask.started

string

.status.currentTask.state

string

State is the current state of the Cruise Control user task.

.status.currentTask.summary

object

Summary of the Cruise Control user task execution proposal.

.status.errorPolicy

string Required

ErrorPolicyType defines methods of handling Cruise Control user task errors.

.status.failedTasks

array

.status.failedTasks[*]

object

CruiseControlTask defines the observed state of the Cruise Control user task.

.status.failedTasks[*].errorMessage

string

.status.failedTasks[*].finished

string

.status.failedTasks[*].httpRequest

string

HTTPRequest is a Cruise Control user task HTTP request.

.status.failedTasks[*].httpResponseCode

integer

.status.failedTasks[*].id

string

.status.failedTasks[*].operation

string Required

Operation defines the Cruise Control operation kind.

.status.failedTasks[*].parameters

object

Parameters defines the configuration of the operation.

.status.failedTasks[*].started

string

.status.failedTasks[*].state

string

State is the current state of the Cruise Control user task.

.status.failedTasks[*].summary

object

Summary of the Cruise Control user task execution proposal.

.status.retryCount

integer Required