Fleet API reference
Packages:
fleet.kurator.dev/v1alpha1
Package v1alpha1 contains API Schema definitions for the fleet v1alpha1 API group
Resource Types:Fleet
Fleet represents a group of clusters, it is to consistently manage a group of clusters.
| Field | Description | ||||
|---|---|---|---|---|---|
apiVersionstring |
fleet.kurator.dev/v1alpha1
|
||||
kindstring |
Fleet
|
||||
metadataKubernetes meta/v1.ObjectMeta |
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||
specFleetSpec |
|
||||
statusFleetStatus |
BackupConfig
(Appears on: PluginConfig)
BackupConfig defines the configuration for backups.
| Field | Description |
|---|---|
chartChartConfig |
(Optional)
Chart defines the helm chart configuration of the backup engine. The default value is: |
storageBackupStorage |
Storage provides details on where the backup data should be stored. |
extraArgsKubernetes /apiextensions/v1.JSON |
(Optional)
ExtraArgs provides the extra chart values for the backup engine chart. For example, use the following configuration to change the image tag or pull policy: |
BackupStorage
(Appears on: BackupConfig)
| Field | Description |
|---|---|
locationBackupStorageLocation |
Location specifies where the backup data will be stored. |
secretNamestring |
The structure of the secret varies depending on the object storage provider:
|
BackupStorageLocation
(Appears on: BackupStorage)
| Field | Description |
|---|---|
bucketstring |
Bucket specifies the storage bucket name. |
providerstring |
Provider specifies the storage provider type (e.g., aws, huaweicloud, gcp, azure). |
endpointstring |
Endpoint provides the endpoint URL for the storage. |
regionstring |
(Optional)
Region specifies the region of the storage. |
configmap[string]string |
(Optional)
Config is a map for additional provider-specific configurations. # region: # s3ForcePathStyle: # s3Url: # kmsKeyId: # resourceGroup: # The ID of the subscription containing the storage account, if different from the cluster’s subscription. (Azure only) # subscriptionId: # storageAccount: # publicUrl: # Name of the GCP service account to use for this backup storage location. Specify the # service account here if you want to use workload identity instead of providing the key file.(GCP only) # serviceAccount: # Option to skip certificate validation or not if insecureSkipTLSVerify is set to be true, the client side should set the # flag. For Velero client Command like velero backup describe, velero backup logs needs to add the flag –insecure-skip-tls-verify # insecureSkipTLSVerify: |
ChartConfig
(Appears on: BackupConfig, Config, DistributedStorageConfig, FlaggerConfig, GrafanaConfig, KyvernoConfig, PrometheusConfig, SubMarinerOperatorConfig, ThanosConfig)
| Field | Description |
|---|---|
repositorystring |
(Optional)
Repository defines the repository of chart. Default value depends on the kind of the component. |
namestring |
(Optional)
Name defines the name of the chart. Default value depends on the kind of the component. |
versionstring |
(Optional)
Version defines the version of the chart. Default value depends on the kind of the component. |
Config
(Appears on: FlaggerConfig)
| Field | Description |
|---|---|
chartChartConfig |
(Optional)
Chart defines the helm chart config of the TrafficRoutingProvider. For Example, using the following configuration to change the version of nginx installed. |
extraArgsKubernetes /apiextensions/v1.JSON |
(Optional)
ExtraArgs is the set of extra arguments for TrafficRoutingProvider’s chart. You can pass in values according to your needs. For Example, using the following configuration to change the port that Prometheus uses to scrape metrics. |
Device
(Appears on: StorageDeviceSelection)
Device represents a disk to use in the cluster
| Field | Description |
|---|---|
namestring |
(Optional) |
configmap[string]string |
(Optional) |
DistributedStorage
(Appears on: DistributedStorageConfig)
| Field | Description |
|---|---|
dataDirHostPathstring |
(Optional)
The path on the host where config and data can be persisted. If the storagecluster is deleted, please clean up the configuration files in this file path. e.g. /var/lib/rook |
monitorMonSpec |
(Optional)
Monitor is the daemon that monitors the status of the ceph cluster. Responsible for collecting cluster information, updating cluster information, and publishing cluster information. Including monmap, osdmap, PGmap, mdsmap, etc. A spec for mon related options |
managerMgrSpec |
(Optional)
Manager is the daemon runs alongside monitor daemon,to provide additional monitoring and interfaces to external monitoring and management systems. A spec for mgr related options |
storageStorageScopeSpec |
(Optional)
A spec for available storage in the cluster and how it should be used |
DistributedStorageConfig
(Appears on: PluginConfig)
| Field | Description |
|---|---|
chartChartConfig |
(Optional)
Chart defines the helm chart configuration of the distributed storage engine. The default value is: |
storageDistributedStorage |
Storage provides detailed settings for unified distributed storage. |
extraArgsKubernetes /apiextensions/v1.JSON |
(Optional)
ExtraArgs provides the extra chart values for rook chart. For example, use the following configuration to change the pull policy: |
Endpoints
([]string alias)
(Appears on: FleetStatus)
FlaggerConfig
(Appears on: PluginConfig)
| Field | Description |
|---|---|
chartChartConfig |
(Optional)
Chart defines the helm chart config of the flagger. default value is |
extraArgsKubernetes /apiextensions/v1.JSON |
(Optional)
ExtraArgs is the set of extra arguments for flagger chart. For Example, using following configuration to change replica count. |
trafficRoutingProviderProvider |
TrafficRoutingProvider defines traffic routing provider.
And Kurator will install flagger in trafficRoutingProvider’s namespace
For example, If you use |
publicTestloaderbool |
PublicTestloader defines whether to install the publictestloader or not. In addition to the public testloader you can configure here, you can also specify a private testloader in the Application.Spec.SyncPolicies.Rollout.TestLoader |
configConfig |
(Optional)
ProviderConfig defines the helm configuration for the TrafficRoutingProvider.
You can pass in a custom helm configuration to install the TrafficRoutingProvider
And default value is in |
FleetPhase
(string alias)
(Appears on: FleetStatus)
FleetSpec
(Appears on: Fleet)
FleetSpec defines the desired state of the fleet
| Field | Description |
|---|---|
clusters[]Kubernetes core/v1.ObjectReference |
Clusters represents the clusters that would be registered to the fleet. |
pluginPluginConfig |
(Optional)
Plugin defines the plugins that would be installed in the fleet. |
FleetStatus
(Appears on: Fleet)
FleetStatus defines the observed state of the fleet
| Field | Description |
|---|---|
credentialSecretstring |
CredentialSecret is the secret name that holds credentials used for accessing the fleet control plane. |
phaseFleetPhase |
(Optional)
Phase represents the current phase of fleet. E.g. Pending, Running, Terminating, Failed, Ready, etc. |
reasonstring |
(Optional)
A brief CamelCase message indicating details about why the fleet is in this state. |
pluginEndpointsmap[ string ][ Endpoints ] |
PluginEndpoints is the endpoints of the plugins. |
readyClustersint32 |
Total number of ready clusters, ready to deploy . |
unReadyClustersint32 |
Total number of unready clusters, not ready for use. |
GrafanaConfig
(Appears on: PluginConfig)
| Field | Description |
|---|---|
chartChartConfig |
(Optional)
Chart defines the helm chart config of the grafana. default value is |
extraArgsKubernetes /apiextensions/v1.JSON |
(Optional)
ExtraArgs is the set of extra arguments for Grafana chart. For Example, using following configuration to change replica count. |
KyvernoConfig
(Appears on: PolicyConfig)
| Field | Description |
|---|---|
chartChartConfig |
(Optional)
Chart defines the helm chart config of the kyverno. default value is |
podSecurityPodSecurityPolicy |
(Optional)
PodSecurity defines the pod security configuration for the kyverno. |
extraArgsKubernetes /apiextensions/v1.JSON |
(Optional)
ExtraArgs is the set of extra arguments for Kyverno chart. For Example, using following configuration to change image pull policy. |
MetricConfig
(Appears on: PluginConfig)
| Field | Description |
|---|---|
thanosThanosConfig |
Thanos defines the configuration for the thanos querier and store gateway. |
prometheusPrometheusConfig |
Prometheus defines the configuration for the prometheus installation in the clusters observed by the thanos, by default thanos sidecar will be installed in thanos sidecar mode. |
MgrSpec
(Appears on: DistributedStorage)
| Field | Description |
|---|---|
countint |
(Optional)
Count is the number of manager to run Default is two, one for use and one for standby. |
annotationsmap[string]string |
(Optional)
The annotation-related configuration to add/set on each Pod related object. Including Pod, Deployment. |
labelsmap[string]string |
(Optional)
The label-related configuration to add/set on each Pod related object. Including Pod, Deployment. |
placementPlacement |
(Optional)
The placement-related configuration to pass to kubernetes (affinity, node selector, tolerations). |
MonSpec
(Appears on: DistributedStorage)
| Field | Description |
|---|---|
countint |
(Optional)
Count is the number of Ceph monitors. Default is three and preferably an odd number. |
annotationsmap[string]string |
(Optional)
The annotation-related configuration to add/set on each Pod related object. Including Pod, Deployment. |
labelsmap[string]string |
(Optional)
Similar to Annotation, but more graphical than Annotation. The label-related configuration to add/set on each Pod related object. Including Pod, Deployment. |
placementPlacement |
(Optional)
The placement-related configuration to pass to kubernetes (affinity, node selector, tolerations). |
Node
(Appears on: StorageScopeSpec)
Each individual node can specify configuration to override the cluster level settings and defaults. If a node does not specify any configuration then it will inherit the cluster level settings.
| Field | Description |
|---|---|
namestring |
(Optional)
Name should match its kubernetes.io/hostname label |
StorageDeviceSelectionStorageDeviceSelection |
(Members of Specify which storage drives the osd deployed in this node can manage. |
ObjectStoreConfig
(Appears on: ThanosConfig)
| Field | Description |
|---|---|
secretNamestring |
SecretName is the name of the secret that holds the object store configuration.
The path of object store configuration must be |
Placement
(Appears on: MgrSpec, MonSpec)
Placement is the placement for an object
| Field | Description |
|---|---|
nodeAffinityKubernetes core/v1.NodeAffinity |
(Optional)
NodeAffinity is a group of node affinity scheduling rules |
podAffinityKubernetes core/v1.PodAffinity |
(Optional)
PodAffinity is a group of inter pod affinity scheduling rules |
podAntiAffinityKubernetes core/v1.PodAntiAffinity |
(Optional)
PodAntiAffinity is a group of inter pod anti affinity scheduling rules |
tolerations[]Kubernetes core/v1.Toleration |
(Optional)
The pod this Toleration is attached to tolerates any taint that matches
the triple |
topologySpreadConstraints[]Kubernetes core/v1.TopologySpreadConstraint |
(Optional)
TopologySpreadConstraint specifies how to spread matching pods among the given topology |
PluginConfig
(Appears on: FleetSpec)
| Field | Description |
|---|---|
metricMetricConfig |
(Optional)
Metric defines the configuration for the monitoring system installation and metrics collection.. |
grafanaGrafanaConfig |
(Optional)
Grafana defines the configuration for the grafana installation and observation. |
policyPolicyConfig |
Policy defines the configuration for the ploicy management. |
backupBackupConfig |
Backup defines the configuration for the backup engine(Velero). |
distributedStorageDistributedStorageConfig |
DistributedStorage define the configuration for the distributed storage(Implemented with Rook) |
flaggerFlaggerConfig |
Flagger defines the configuration for the kurator rollout engine. |
submarinerSubMarinerOperatorConfig |
SubMarinerOperator defines the configuration for the kurator network management. |
PodSecurityPolicy
(Appears on: KyvernoConfig)
| Field | Description |
|---|---|
standardstring |
(Optional)
Standard defines the pod security standard. More details: https://kubernetes.io/docs/concepts/security/pod-security-standards |
severitystring |
(Optional)
Severity indicates policy check result criticality in a policy report. |
validationFailureActionstring |
(Optional)
ValidationFailureAction indicates the action to take when a pod creation fails to validate. For more info https://kyverno.io/docs/writing-policies/validate/#validation-failure-action |
PolicyConfig
(Appears on: PluginConfig)
| Field | Description |
|---|---|
kyvernoKyvernoConfig |
(Optional)
Kyverno defines the configuration for the kyverno installation and policy management. |
PrometheusConfig
(Appears on: MetricConfig)
| Field | Description |
|---|---|
chartChartConfig |
(Optional)
Chart defines the helm chart config of the prometheus. default value is |
nodeExporterPrometheusExporterConfig |
(Optional)
NodeExporter defines the configuration for the node exporter. |
kubeStateMetricsPrometheusExporterConfig |
(Optional)
KubeStateMetrics defines the configuration for the kube-state-metrics. |
extraArgsKubernetes /apiextensions/v1.JSON |
(Optional)
ExtraArgs is the set of extra arguments for Prometheus chart. For Example, using following configuration to create a ServiceMonitor to monitor prometheus itself. |
PrometheusExporterConfig
(Appears on: PrometheusConfig)
| Field | Description |
|---|---|
enabledbool |
Enabled indicates whether the exporters are enabled. |
Provider
(string alias)
(Appears on: FlaggerConfig)
Provider only can be istio now. TODO: add Linkerd, APP Mesh, NGINX, Kuma, Gateway, Gloo
StorageDeviceSelection
(Appears on: Node, StorageScopeSpec)
| Field | Description |
|---|---|
devices[]Device |
(Optional)
List of devices to use as storage devices
A list of individual device names belonging to this node to include in the storage cluster
e.g. |
StorageScopeSpec
(Appears on: DistributedStorage)
| Field | Description |
|---|---|
nodes[]Node |
(Optional) |
useAllNodesbool |
(Optional)
indicating if all nodes in the cluster should be used for storage according to the cluster level storage selection and configuration values. If individual nodes are specified under the nodes field, then useAllNodes must be set to false. |
StorageDeviceSelectionStorageDeviceSelection |
(Members of Select device information used by osd. For more information see the design of the selection below. |
SubMarinerOperatorConfig
(Appears on: PluginConfig)
| Field | Description |
|---|---|
chartChartConfig |
(Optional)
Chart defines the helm chart configuration of the submariner operator. The default value is |
extraArgsKubernetes /apiextensions/v1.JSON |
(Optional)
ExtraArgs is the set of extra arguments for submariner, and example will be provided in the future. |
brokerClusterstring |
(Optional)
BrokerCluster is the name of cluster in which the broker will be installed. If the broker cluster is not specified, the first cluster in the fleet will be used as the broker cluster. |
clusterCidrsmap[string]string |
ClusterCidrs records the clustercidr of each cluster. |
serviceCidrsmap[string]string |
ServiceCidrs records the servicecidr of each cluster. |
globalcidrsmap[string]string |
(Optional)
Globalcidrs records the globalcidr of each cluster in a virtual network Globalnet. Each cluster must use distinct globalCidr that don’t conflict or overlap with any other cluster If the globalcidr is not specified, Globalnet will be disabled. |
ThanosConfig
(Appears on: MetricConfig)
| Field | Description |
|---|---|
chartChartConfig |
(Optional)
Chart defines the helm chart config of the thanos. default value is |
objectStoreConfigObjectStoreConfig |
ObjectStoreConfig is the secret reference of the object store. Configuration must follow the definition of the thanos: https://thanos.io/tip/thanos/storage.md/. |
extraArgsKubernetes /apiextensions/v1.JSON |
(Optional)
ExtraArgs is the set of extra arguments for Thanos chart. For Example, using following configuration to enable query frontend. |
This page was automatically generated with gen-crd-api-reference-docs
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.