KafkaCluster is the Schema for the KafkaClusters API. Manages a Kafka cluster within Yandex.Cloud.
Type
CRD
Group
mdb.yandex-cloud.jet.crossplane.io
Version
v1alpha1
apiVersion: mdb.yandex-cloud.jet.crossplane.io/v1alpha1
kind: KafkaCluster
KafkaClusterSpec defines the desired state of KafkaCluster
No description provided.
Configuration of the Kafka cluster. The structure is documented below.
Access policy to the Kafka cluster. The structure is documented below.
Configuration of the Kafka subcluster. The structure is documented below.
User-defined settings for the Kafka cluster. The structure is documented below.
No description provided.
No description provided.
Resources allocated to hosts of the ZooKeeper subcluster. The structure is documented below.
List of availability zones.
Reference to a Folder in resourcemanager to populate folderId.
Policies for referencing.
Selector for a Folder in resourcemanager to populate folderId.
Policies for selection.
A list of IDs of the host groups to place VMs of the cluster on.
Reference to a Network in vpc to populate networkId.
Policies for referencing.
Selector for a Network in vpc to populate networkId.
Policies for selection.
Security group ids, to which the Kafka cluster belongs.
References to SecurityGroup in vpc to populate securityGroupIds.
Policies for referencing.
Selector for a list of SecurityGroup in vpc to populate securityGroupIds.
Policies for selection.
IDs of the subnets, to which the Kafka cluster belongs.
References to Subnet in vpc to populate subnetIds.
Policies for referencing.
Selector for a list of Subnet in vpc to populate subnetIds.
Policies for selection.
(Deprecated) To manage topics, please switch to using a separate resource type yandex_mdb_kafka_topic.
User-defined settings for the topic. The structure is documented below.
(Deprecated) To manage users, please switch to using a separate resource type yandex_mdb_kafka_user.
Set of permissions granted to the user. The structure is documented below.
Set of hosts, to which this permission grants access to.
THIS IS A BETA FIELD. It will be honored unless the Management Policies feature flag is disabled. InitProvider holds the same fields as ForProvider, with the exception of Identifier and other resource reference fields. The fields that are in InitProvider are merged into ForProvider when the resource is created. The same fields are also added to the terraform ignore_changes hook, to avoid updating them after creation. This is useful for fields that are required on creation, but we do not desire to update them after creation, for example because of an external controller is managing them, like an autoscaler.
Configuration of the Kafka cluster. The structure is documented below.
Access policy to the Kafka cluster. The structure is documented below.
Configuration of the Kafka subcluster. The structure is documented below.
User-defined settings for the Kafka cluster. The structure is documented below.
No description provided.
No description provided.
Resources allocated to hosts of the ZooKeeper subcluster. The structure is documented below.
List of availability zones.
Reference to a Folder in resourcemanager to populate folderId.
Policies for referencing.
Selector for a Folder in resourcemanager to populate folderId.
Policies for selection.
A list of IDs of the host groups to place VMs of the cluster on.
Reference to a Network in vpc to populate networkId.
Policies for referencing.
Selector for a Network in vpc to populate networkId.
Policies for selection.
Security group ids, to which the Kafka cluster belongs.
References to SecurityGroup in vpc to populate securityGroupIds.
Policies for referencing.
Selector for a list of SecurityGroup in vpc to populate securityGroupIds.
Policies for selection.
IDs of the subnets, to which the Kafka cluster belongs.
References to Subnet in vpc to populate subnetIds.
Policies for referencing.
Selector for a list of Subnet in vpc to populate subnetIds.
Policies for selection.
(Deprecated) To manage topics, please switch to using a separate resource type yandex_mdb_kafka_topic.
User-defined settings for the topic. The structure is documented below.
(Deprecated) To manage users, please switch to using a separate resource type yandex_mdb_kafka_user.
Set of permissions granted to the user. The structure is documented below.
Set of hosts, to which this permission grants access to.
THIS IS A BETA FIELD. It is on by default but can be opted out through a Crossplane feature flag. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. This field is planned to replace the DeletionPolicy field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. If both are custom, the DeletionPolicy field will be ignored. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md
ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.
Policies for referencing.
PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.
WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.
KafkaClusterStatus defines the observed state of KafkaCluster.
No description provided.
Configuration of the Kafka cluster. The structure is documented below.
Access policy to the Kafka cluster. The structure is documented below.
Configuration of the Kafka subcluster. The structure is documented below.
User-defined settings for the Kafka cluster. The structure is documented below.
No description provided.
No description provided.
Resources allocated to hosts of the ZooKeeper subcluster. The structure is documented below.
List of availability zones.
A list of IDs of the host groups to place VMs of the cluster on.
Security group ids, to which the Kafka cluster belongs.
IDs of the subnets, to which the Kafka cluster belongs.
(Deprecated) To manage topics, please switch to using a separate resource type yandex_mdb_kafka_topic.
User-defined settings for the topic. The structure is documented below.
(Deprecated) To manage users, please switch to using a separate resource type yandex_mdb_kafka_user.
Set of permissions granted to the user. The structure is documented below.
Set of hosts, to which this permission grants access to.
Conditions of the resource.
kafka-conn-cluster
apiVersion: mdb.yandex-cloud.jet.crossplane.io/v1alpha1
kind: KafkaCluster
metadata:
name: kafka-conn-cluster
spec:
forProvider:
config:
- kafka:
- kafkaConfig:
- compressionType: COMPRESSION_TYPE_ZSTD
resources:
- diskSize: 16
diskTypeId: network-hdd
resourcePresetId: s2.micro
version: "2.8"
zones:
- ru-central1-a
name: kafka-conn-cluster
networkIdRef:
name: example-net
subnetIdsRefs:
- name: example-subnet-a
kafka-cluster
apiVersion: mdb.yandex-cloud.jet.crossplane.io/v1alpha1
kind: KafkaCluster
metadata:
annotations:
uptest.upbound.io/pre-delete-hook: testhooks/delete-kafka-deps.sh
name: kafka-cluster
spec:
forProvider:
config:
- assignPublicIp: false
brokersCount: 1
kafka:
- kafkaConfig:
- compressionType: COMPRESSION_TYPE_ZSTD
defaultReplicationFactor: "1"
logFlushIntervalMessages: "1024"
logFlushIntervalMs: "1000"
logFlushSchedulerIntervalMs: "1000"
logRetentionBytes: "1073741824"
logRetentionHours: "168"
logRetentionMinutes: "10080"
logRetentionMs: "86400000"
logSegmentBytes: "134217728"
messageMaxBytes: "1048588"
numPartitions: "10"
offsetsRetentionMinutes: "10080"
replicaFetchMaxBytes: "1048576"
saslEnabledMechanisms:
- SASL_MECHANISM_SCRAM_SHA_256
- SASL_MECHANISM_SCRAM_SHA_512
sslCipherSuites:
- TLS_DHE_RSA_WITH_AES_128_CBC_SHA
- TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256
resources:
- diskSize: 32
diskTypeId: network-ssd
resourcePresetId: s2.micro
schemaRegistry: false
version: "2.8"
zones:
- ru-central1-a
environment: PRESTABLE
name: kafka-cluster
networkIdRef:
name: example-net
subnetIdsRefs:
- name: example-subnet-a
writeConnectionSecretToRef:
name: kafka-conn
namespace: default