API Reference

Packages

dr.astronetes.io/v1alpha1

Package v1alpha1 contains API Schema definitions for the dr v1alpha1 API group

Resource Types

BucketRef

Appears in:

FieldDescription
name stringBucket name
namespace stringBucket namespace
objectPrefix stringObjectPrefix to contain the objects for this recovery plan

ClusterRef

Appears in:

FieldDescription
name stringCluster name
namespace stringCluster namespace

Components

Appears in:

FieldDescription
eventsListener EventsListenerEventsListener configuration
processor ProcessorProcessor configuration
reconciler ReconcilerReconciler configuration
restorer ReconcilerRestorer configuration
synchronizer SynchronizerSynchronizer configuration
nats NatsNats configuration
redis RedisRedis configuration
metricsExporter MetricsExporterRedis configuration

ContainerSelector

Underlying type: struct{Name string “json:"name"”; Type ContainerSelectorType “json:"type"”}

Appears in:

EventsListener

Appears in:

FieldDescription
logLevel stringLog level debug;info;warm;error;panic;fatal
imagePullPolicy PullPolicyEventsListener ImagePullPolicy
resources ResourceRequirementsResources to be assigned to EventsListener

ExecutionPlanResource

Appears in:

FieldDescription
group stringResource group
version stringResource version
resource stringResource
patchOptions PatchOpts
fromPatch PatchOperation arrayList of JSONPatch operations to apply to the resources
operations Operation array
fromOriginal FromOriginalFromOriginal to apply to the resources

Filters

Appears in:

FieldDescription
selector LabelSelectorFilter the resources to be processed by Selector
namespaceSelector LabelSelectorFilter the resources to be processed by Namespace’s Selector

FromOriginal

FromOriginal resources are cloned in Bucket

Appears in:

FieldDescription
enabled boolean

ManagedCluster

ManagedCluster is the Schema for the managedclusters API

Appears in:

FieldDescription
apiVersion stringdr.astronetes.io/v1alpha1
kind stringManagedCluster
metadata ObjectMetaRefer to Kubernetes API documentation for fields of metadata.
spec ManagedClusterSpec

ManagedClusterList

ManagedClusterList contains a list of ManagedCluster

FieldDescription
apiVersion stringdr.astronetes.io/v1alpha1
kind stringManagedClusterList
metadata ListMetaRefer to Kubernetes API documentation for fields of metadata.
items ManagedCluster array

ManagedClusterSpec

ManagedClusterSpec defines the desired state of ManagedCluster

Appears in:

FieldDescription
secretRef SecretRefReference to the secret that stores the cluster Kubeconfig

MetricsExporter

Appears in:

FieldDescription
logLevel stringLog level debug;info;warm;error;panic;fatal
imagePullPolicy PullPolicyMetricsExporter ImagePullPolicy
resources ResourceRequirementsResources to be assigned to MetricsExporter

Nats

Appears in:

FieldDescription
imagePullPolicy PullPolicyNats ImagePullPolicy
resources ResourceRequirementsResources to be assigned to Nats

Observability

Appears in:

FieldDescription
interval Duration
enabledV1 boolean
enabledV2 boolean

OnAddStrategy

Underlying type: string

Appears in:

OnDeleteStrategy

Underlying type: string

Appears in:

OnUpdateStrategy

Underlying type: string

Appears in:

Op

Underlying type: string

Op types

Appears in:

Operation

Appears in:

FieldDescription
op OpEnvVar
filters OperationFilters
env EnvVar

OperationFilters

Appears in:

FieldDescription
containerSelector ContainerSelectorFilter the resources to be processed by Selector

PatchOperation

Appears in:

FieldDescription
op string
path string
value JSON

PatchOpts

Appears in:

FieldDescription
skipIfNotFoundOnDelete booleanSkipIfNotFoundOnDelete determines if errors should be ignored when trying to remove an field that doesn’t exist.

Processor

Appears in:

FieldDescription
concurrentTasks integerNumber of concurrent tasks
replicas integerNumber of replicas
logLevel stringLog level debug;info;warm;error;panic;fatal
imagePullPolicy PullPolicyProcessor ImagePullPolicy
resources ResourceRequirementsResources to be assigned to Processor

Reconciler

Appears in:

FieldDescription
concurrentTasks integerNumber of concurrent tasks
replicas integerNumber of replicas
logLevel stringLog level debug;info;warn;error;panic;fatal
imagePullPolicy PullPolicyReconciler ImagePullPolicy
resources ResourceRequirementsResources to be assigned to Reconciler

Reconciliation

Appears in:

FieldDescription
resyncPeriod DurationTime between reconciliation processes

RecoveryBucket

RecoveryBucket is the Schema for the recoverybuckets API

Appears in:

FieldDescription
apiVersion stringdr.astronetes.io/v1alpha1
kind stringRecoveryBucket
metadata ObjectMetaRefer to Kubernetes API documentation for fields of metadata.
spec RecoveryBucketSpec

RecoveryBucketList

RecoveryBucketList contains a list of RecoveryBucket

FieldDescription
apiVersion stringdr.astronetes.io/v1alpha1
kind stringRecoveryBucketList
metadata ListMetaRefer to Kubernetes API documentation for fields of metadata.
items RecoveryBucket array

RecoveryBucketSpec

RecoveryBucketSpec defines the desired state of RecoveryBucket

Appears in:

FieldDescription
endpoint stringBucket endpoint
bucketName stringBucket name
secretRef SecretRefReference to the secret that stores the bucket credentials

RecoveryExecutionJob

RecoveryExecutionJob is the Schema for the recoveryexecutionjobs API

Appears in:

FieldDescription
apiVersion stringdr.astronetes.io/v1alpha1
kind stringRecoveryExecutionJob
metadata ObjectMetaRefer to Kubernetes API documentation for fields of metadata.
spec RecoveryExecutionJobSpec

RecoveryExecutionJobList

RecoveryExecutionJobList contains a list of RecoveryExecutionJob

FieldDescription
apiVersion stringdr.astronetes.io/v1alpha1
kind stringRecoveryExecutionJobList
metadata ListMetaRefer to Kubernetes API documentation for fields of metadata.
items RecoveryExecutionJob array

RecoveryExecutionJobSpec

RecoveryExecutionJobSpec defines the desired state of RecoveryExecutionJob

Appears in:

FieldDescription
recoveryExecutionPlanRef RecoveryExecutionPlanRefReference to the RecoveryExecutionPlan
retries integerRetries

RecoveryExecutionPlan

RecoveryExecutionPlan is the Schema for the recoveryexecutionplans API

Appears in:

FieldDescription
apiVersion stringdr.astronetes.io/v1alpha1
kind stringRecoveryExecutionPlan
metadata ObjectMetaRefer to Kubernetes API documentation for fields of metadata.
spec RecoveryExecutionPlanSpec

RecoveryExecutionPlanList

RecoveryExecutionPlanList contains a list of RecoveryExecutionPlan

FieldDescription
apiVersion stringdr.astronetes.io/v1alpha1
kind stringRecoveryExecutionPlanList
metadata ListMetaRefer to Kubernetes API documentation for fields of metadata.
items RecoveryExecutionPlan array

RecoveryExecutionPlanRef

Appears in:

FieldDescription
name stringRecoveryExecutionPlan name
namespace stringRecoveryExecutionPlan namespace

RecoveryExecutionPlanSpec

RecoveryExecutionPlanSpec defines the desired state of RecoveryExecutionPlan

Appears in:

FieldDescription
recoveryPlan RecoveryPlanRefRecoveryPlan origin
kubeconfigSecretRef SecretRefSecret for Kubeconfig
licenseSecretRef SecretRefSecret for the license
bucketRef BucketRefBucket used to clone the original state of the resources
sourceClusterID string
destinationClusterID string
resources ExecutionPlanResource arrayResources to recover

RecoveryPlan

RecoveryPlan is the Schema for the recoveryplans API

Appears in:

FieldDescription
apiVersion stringdr.astronetes.io/v1alpha1
kind stringRecoveryPlan
metadata ObjectMetaRefer to Kubernetes API documentation for fields of metadata.
spec RecoveryPlanSpec

RecoveryPlanList

RecoveryPlanList contains a list of RecoveryPlan

FieldDescription
apiVersion stringdr.astronetes.io/v1alpha1
kind stringRecoveryPlanList
metadata ListMetaRefer to Kubernetes API documentation for fields of metadata.
items RecoveryPlan array

RecoveryPlanRef

Appears in:

FieldDescription
name stringName of the recovery plan
namespace stringNamespace of the recovery plan

RecoveryPlanSpec

RecoveryPlanSpec defines the desired state of RecoveryPlan

Appears in:

FieldDescription
suspend booleanSuspend the process to synchronize to the destination cluster
forceNamespaceCreation booleanForceNamespaceCreation If true, the namespace will be created in case of it doesn’t exist, otherwise the resource will be omitted
ignoreNamespaces string arrayInclude kube-system namespace
sourceClusterRef ClusterRefSource cluster
destinationClusterRef ClusterRefDestination cluster
bucketRef BucketRefBucket used to clone the original state of the resources
components ComponentsList of components configurations to be applied to the Kubesync services deployed
resources Resource arrayResources to synchronize
reconciliation ReconciliationReconciliation process
observability ObservabilityReconciliation process

RecoveryProcess

Appears in:

FieldDescription
patchOptions PatchOpts
fromPatch PatchOperation arrayList of JSONPatch operations to apply to the resources
operations Operation array
fromOriginal FromOriginal

Redis

Appears in:

FieldDescription
imagePullPolicy PullPolicyRedis ImagePullPolicy
resources ResourceRequirementsResources to be assigned to Redis

Resource

Appears in:

FieldDescription
group stringResource group
version stringResource version
resource stringResource
transformation TransformationTransformation to apply to the resources
strategy StrategyStrategy to apply to apply the recover plan
filters FiltersResource selection filters
recoveryProcess RecoveryProcessRecovery plan configuration

SecretRef

Appears in:

FieldDescription
name stringSecret name
namespace stringSecret namespace

Strategy

Strategy to be applied for the recovery plan

Appears in:

FieldDescription
onDelete OnDeleteStrategy
onAdd OnAddStrategy
onUpdate OnUpdateStrategy

Synchronizer

Appears in:

FieldDescription
concurrentTasks integerNumber of concurrent tasks
replicas integerNumber of replicas
logLevel stringLog level debug;info;warm;error;panic;fatal
imagePullPolicy PullPolicySynchronizer ImagePullPolicy
resources ResourceRequirementsResources to be assigned to Synchronizer

Transformation

Appears in:

FieldDescription
patchOptions PatchOpts
patch PatchOperation arrayList of JSONPatch operations to apply to the resources
operations Operation array