TFOperator custom resource¶
The resource of kind TFOperator
(TFO) is a custom resource (CR) defined by
a resource of kind CustomResourceDefinition
.
The CustomResourceDefinition
resource in Kubernetes uses the OpenAPI
Specification (OAS) version 2 to specify the schema of the defined resource.
The Kubernetes API outright rejects the resources that do not pass this schema
validation. Along with schema validation, TFOperator
uses
ValidatingAdmissionWebhook
for extended validations when a CR is created
or updated.
For the list of configuration options available to a cloud operator, refer to Tungsten Fabric configuration. Also, check out the Tungsten Fabric API Reference document of the MOSK version that your cluster has been deployed with.
TFOperator custom resource validation¶
Tungsten Fabric Operator uses ValidatingAdmissionWebhook
to validate
environment variables set to Tungsten Fabric components upon the TFOperator
object creation or update. The following validations are performed:
Environment variables passed to TF components containers
Mapping between
tfVersion
andtfImageTag
, if definedSchedule and data capacity format for
tf-dbBackup
If required, you can disable ValidatingAdmissionWebhook
through the
TFOperator
HelmBundle resource:
apiVersion: lcm.mirantis.com/v1alpha1
kind: HelmBundle
metadata:
name: tungstenfabric-operator
namespace: tf
spec:
releases:
- name: tungstenfabric-operator
values:
admission:
enabled: false
Environment variables |
TF components and containers |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|