Skip to content

0.3.0 Type Definitions for KubeDirectorConfig

Joel Baxter edited this page Nov 15, 2019 · 1 revision

This is the KubeDirectorConfig definition for KubeDirector v0.3.0. For other versions, see the main page.

KubeDirectorConfig is a representation of an administrative configuration set for KubeDirector. Currently only a global configuration (affecting all KubeDirector-managed virtual clusters) is supported; that KubeDirectorConfig resource must be named "kd-global-config" and placed in the same namespace as the KubeDirector deployment.

KubeDirectorConfigSpec

Field Description
defaultStorageClassName
string
Name of the storage class to use for a role that requests persistent storage but does not specify a storage class, instead of using the K8s default storage class. Optional.
defaultServiceType
string
Name of the service type to use for a virtual cluster that does not specify a service type. May be "ClusterIP", "NodePort", or "LoadBalancer". Optional: defaults to "LoadBalancer".
nativeSystemdSupport
boolean
Whether the K8s platform natively supports systemd inside virtual cluster members, without additional action required from KubeDirector. This should be set true if K8s is running in a RHEL or CentOS environment (OS version 7.2 or later), but should usually be false for K8s in a typical "cloud" environment. Optional: defaults to false.
requiredSecretPrefix
string
A prefix that must match against a secret's name before a KubeDirectorCluster can mount that secret. Optional: if unspecified, no such check is performed.

KubeDirectorConfigStatus

Field Description
state
string
Overall state of the config. May be "creating" or "ready".
generationUID
string
A UID that changes each time the status object changes. Used internally by KubeDirector.

KubeDirectorConfig

Field Description
apiVersion
string
Must be "kubedirector.bluedata.io/v1alpha1".
kind
string
Must be "KubeDirectorConfig".
metadata
ObjectMeta
The metadata.name property must have the value "kd-global-config".
spec
KubeDirectorConfigSpec
status
KubeDirectorConfigStatus
Read-only. Do not specify status when creating or updating the resource. Can be read directly as a "status" sub-resource of the KubeDirectorConfig resource.
You can’t perform that action at this time.