pub struct KubernetesOrchestratorConfig {
pub context: String,
pub scheduler_name: Option<String>,
pub service_labels: BTreeMap<String, String>,
pub service_node_selector: BTreeMap<String, String>,
pub service_account: Option<String>,
pub image_pull_policy: KubernetesImagePullPolicy,
pub aws_external_id_prefix: Option<AwsExternalIdPrefix>,
pub coverage: bool,
pub ephemeral_volume_storage_class: Option<String>,
pub service_fs_group: Option<i64>,
}
Expand description
Configures a KubernetesOrchestrator
.
Fields§
§context: String
The name of a Kubernetes context to use, if the Kubernetes configuration is loaded from the local kubeconfig.
scheduler_name: Option<String>
The name of a non-default Kubernetes scheduler to use, if any.
service_labels: BTreeMap<String, String>
Labels to install on every service created by the orchestrator.
service_node_selector: BTreeMap<String, String>
Node selector to install on every service created by the orchestrator.
service_account: Option<String>
The service account that each service should run as, if any.
image_pull_policy: KubernetesImagePullPolicy
The image pull policy to set for services created by the orchestrator.
aws_external_id_prefix: Option<AwsExternalIdPrefix>
An AWS external ID prefix to use when making AWS operations on behalf of the environment.
coverage: bool
Whether to use code coverage mode or not. Always false for production.
ephemeral_volume_storage_class: Option<String>
The Kubernetes StorageClass to use for the ephemeral volume attached to services that request disk.
If unspecified, the orchestrator will refuse to create services that request disk.
service_fs_group: Option<i64>
The optional fs group for service’s pods’ securityContext
.
Trait Implementations§
source§impl Clone for KubernetesOrchestratorConfig
impl Clone for KubernetesOrchestratorConfig
source§fn clone(&self) -> KubernetesOrchestratorConfig
fn clone(&self) -> KubernetesOrchestratorConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for KubernetesOrchestratorConfig
impl Send for KubernetesOrchestratorConfig
impl Sync for KubernetesOrchestratorConfig
impl Unpin for KubernetesOrchestratorConfig
impl UnwindSafe for KubernetesOrchestratorConfig
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> FutureExt for T
impl<T> FutureExt for T
source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request
source§impl<T, U> OverrideFrom<Option<&T>> for Uwhere
U: OverrideFrom<T>,
impl<T, U> OverrideFrom<Option<&T>> for Uwhere
U: OverrideFrom<T>,
source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> ProgressEventTimestamp for T
impl<T> ProgressEventTimestamp for T
source§impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
source§fn into_rust(self) -> Result<R, TryFromProtoError>
fn into_rust(self) -> Result<R, TryFromProtoError>
RustType::from_proto
.source§fn from_rust(rust: &R) -> P
fn from_rust(rust: &R) -> P
RustType::into_proto
.