pub struct RivvenClusterSpec {Show 22 fields
pub replicas: i32,
pub version: String,
pub image: Option<String>,
pub image_pull_policy: String,
pub image_pull_secrets: Vec<String>,
pub storage: StorageSpec,
pub resources: Option<ResourceRequirements>,
pub config: BrokerConfig,
pub tls: TlsSpec,
pub metrics: MetricsSpec,
pub affinity: Option<Affinity>,
pub node_selector: BTreeMap<String, String>,
pub tolerations: Vec<Toleration>,
pub pod_disruption_budget: PdbSpec,
pub service_account: Option<String>,
pub pod_annotations: BTreeMap<String, String>,
pub pod_labels: BTreeMap<String, String>,
pub env: Vec<EnvVar>,
pub liveness_probe: ProbeSpec,
pub readiness_probe: ProbeSpec,
pub security_context: Option<PodSecurityContext>,
pub container_security_context: Option<SecurityContext>,
}Expand description
RivvenCluster custom resource definition
Represents a Rivven distributed event streaming cluster deployment. The operator watches these resources and reconciles the actual cluster state to match the desired specification.
Fields§
§replicas: i32Number of broker replicas (1-100)
version: StringRivven version to deploy (must match semver pattern)
image: Option<String>Container image (overrides version-based default) Must be a valid container image reference
image_pull_policy: StringImage pull policy (Always, IfNotPresent, Never)
image_pull_secrets: Vec<String>Image pull secrets (max 10 secrets)
storage: StorageSpecStorage configuration
resources: Option<ResourceRequirements>Resource requirements (CPU, memory)
config: BrokerConfigBroker configuration parameters
tls: TlsSpecTLS configuration
metrics: MetricsSpecMetrics configuration
affinity: Option<Affinity>Pod affinity/anti-affinity rules
node_selector: BTreeMap<String, String>Node selector for pod scheduling (max 20 selectors)
tolerations: Vec<Toleration>Tolerations for pod scheduling
pod_disruption_budget: PdbSpecPod disruption budget configuration
service_account: Option<String>Service account name (must be valid K8s name)
pod_annotations: BTreeMap<String, String>Additional pod annotations (max 50)
pod_labels: BTreeMap<String, String>Additional pod labels (max 20)
env: Vec<EnvVar>Environment variables (validated for security)
liveness_probe: ProbeSpecLiveness probe configuration
readiness_probe: ProbeSpecReadiness probe configuration
security_context: Option<PodSecurityContext>Security context for pods
container_security_context: Option<SecurityContext>Container security context
Implementations§
Source§impl RivvenClusterSpec
impl RivvenClusterSpec
Trait Implementations§
Source§impl Clone for RivvenClusterSpec
impl Clone for RivvenClusterSpec
Source§fn clone(&self) -> RivvenClusterSpec
fn clone(&self) -> RivvenClusterSpec
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RivvenClusterSpec
impl Debug for RivvenClusterSpec
Source§impl<'de> Deserialize<'de> for RivvenClusterSpec
impl<'de> Deserialize<'de> for RivvenClusterSpec
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl JsonSchema for RivvenClusterSpec
impl JsonSchema for RivvenClusterSpec
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read moreSource§impl Serialize for RivvenClusterSpec
impl Serialize for RivvenClusterSpec
Source§impl Validate for RivvenClusterSpec
impl Validate for RivvenClusterSpec
Source§impl<'v_a> ValidateArgs<'v_a> for RivvenClusterSpec
impl<'v_a> ValidateArgs<'v_a> for RivvenClusterSpec
Auto Trait Implementations§
impl Freeze for RivvenClusterSpec
impl RefUnwindSafe for RivvenClusterSpec
impl Send for RivvenClusterSpec
impl Sync for RivvenClusterSpec
impl Unpin for RivvenClusterSpec
impl UnsafeUnpin for RivvenClusterSpec
impl UnwindSafe for RivvenClusterSpec
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more