package
1.7.0-alpha.3
Repository: https://github.com/pingcap/tidb-operator.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
New initialize a new Label for components of tidb cluster.
NewBackup initialize a new Label for Jobs of bakcup.
NewBackupSchedule initialize a new Label for backups of backup schedule.
No description provided by the author
NewDM initialize a new Label for components of dm cluster.
No description provided by the author
NewInitializer initialize a new Label for Jobs of TiDB initializer.
No description provided by the author
No description provided by the author
NewRestore initialize a new Label for Jobs of restore.
No description provided by the author
No description provided by the author
PDMSLabel is the label for pd ms, identify the pd ms type.

# Constants

AnnBackupCloudSnapKey is the annotation key for backup metadata based cloud snapshot.
AnnDMMasterDeleteSlots is annotation key of dm-master delete slots.
AnnDMWorkerDeleteSlots is annotation key of dm-worker delete slots.
AnnEvictLeaderBeginTime is pod annotation key to indicate the begin time for evicting region leader.
AnnFailTiDBScheduler is for injecting a failure into the TiDB custom scheduler A pod with this annotation will produce an error when scheduled.
AnnForceUpgradeKey is tc annotation key to indicate whether force upgrade should be done.
AnnForceUpgradeVal is tc annotation value to indicate whether force upgrade should be done.
AnnHATopologyKey defines the High availability topology key.
AnnoOwnerGeneration store the generation of owner, for example, save generation of TC into tikv STS's annotation.
AnnoPrefixConfigMapNameBeforeDelete is the last used ConfigMap name before STS deleted.
AnnoTiFlash710KeepPortsKey is the annotation key to indicate whether the TiFlash v7.1.0+ keeps ports to avoid restart.
AnnPDDeferDeleting is pd pod annotation key in pod for defer for deleting pod.
AnnPDDeleteSlots is annotation key of pd delete slots.
AnnPodNameKey is pod name annotation key used in PV/PVC for synchronizing tidb cluster meta info.
AnnPVCDeferDeleting is pvc defer deletion annotation key used in PVC for defer deleting PVC.
AnnPVCPodScheduling is pod scheduling annotation key, it represents whether the pod is scheduling.
AnnPVCScaleInTime is pvc scaled in time key used in PVC for e2e test only.
AnnSchedulingDeleteSlots is annotation key of pd ms scheduling delete slots.
AnnSkipTLSWhenConnectTiDB describes whether skip TLS when connecting to TiDB Server.
AnnStsLastSyncTimestamp is sts annotation key to indicate the last timestamp the operator sync the sts.
AnnSysctlInit is pod annotation key to indicate whether configuring sysctls with init container.
AnnSysctlInitVal is pod annotation value to indicate whether configuring sysctls with init container.
AnnTiCDCDeleteSlots is annotation key of ticdc delete slots.
AnnTiCDCGracefulShutdownBeginTime is pod annotation key to indicate the begin time for graceful shutdown TiCDC.
AnnTiDBDeleteSlots is annotation key of tidb delete slots.
AnnTiDBPartition is pod annotation which TiDB pod should upgrade to.
AnnTiFlashDeleteSlots is annotation key of tiflash delete slots.
AnnTiflashMountCMInTiflashContainer is tiflash pod annotation key to indicate whether directly mount ConfigMap in tiflash container instead of init container for tiflash.
AnnTiKVDeleteSlots is annotation key of tikv delete slots.
AnnTiKVNoActiveStoreSince is the annotation key to indicate the time since a pod does not have a valid store Listed from store status, but has a store id in label.
AnnTiKVPartition is pod annotation which TiKV pod should upgrade to.
AnnTiKVVolumesReadyKey is the annotation key to indicate whether the TiKV volumes are ready.
AnnTiProxyDeleteSlots is annotation key of tiproxy delete slots.
AnnTSODeleteSlots is annotation key of pd ms tso delete slots.
ApplicationLabelKey is App label key.
AutoComponentLabelKey is label key used in autoscaling, it represents which component is auto scaled.
AutoInstanceLabelKey is label key used in autoscaling, it represents the autoscaler name.
AutoScalingGroupLabelKey describes the autoscaling group of the TiDB.
BackupJobLabelVal is backup job label value.
BackupLabelKey is backup key.
BackupProtectionFinalizer is the name of finalizer on backups or federation backups.
BackupScheduleGroupLabelKey is backup schedule group key.
BackupScheduleJobLabelVal is backup schedule job label value.
BackupScheduleLabelKey is backup schedule key.
BaseTCLabelKey is label key used for heterogeneous clusters to refer to its base TidbCluster.
CleanJobLabelVal is clean job label value.
ClusterIDLabelKey is cluster id label key.
ComponentLabelKey is Kubernetes recommended label key, it represents the component within the architecture.
DiscoveryLabelVal is Discovery label value.
DMMasterLabelVal is dm-master label value.
DMWorkerLabelVal is dm-worker label value.
GrafanaVal is Grafana label value.
InitJobLabelVal is TiDB initializer job label value.
InitLabelKey is the key for TiDB initializer.
InstanceLabelKey is Kubernetes recommended label key, it represents a unique name identifying the instance of an application It's set by helm when installing a release.
ManagedByLabelKey is Kubernetes recommended label key, it represents the tool being used to manage the operation of an application For resources managed by TiDB Operator, its value is always tidb-operator.
MemberIDLabelKey is member id label key.
NameLabelKey is Kubernetes recommended label key, it represents the name of the application.
NamespaceLabelKey is label key used in PV for easy querying.
NGMonitorLabelVal is ng-monitoring label value.
PDLabelVal is PD label value.
PDMSSchedulingLabelVal is pd microservice scheduling member type.
PDMSTSOLabelVal is pd microservice tso member type.
PrometheusVal is Prometheus label value.
PumpLabelVal is Pump label value.
RestoreJobLabelVal is restore job label value.
RestoreLabelKey is restore key.
RestoreWarmUpJobLabelVal is restore warmup job label value.
RestoreWarmUpLabelKey defines which pod the restore warms up.
StoreIDLabelKey is store id label key.
TiCDCLabelVal is TiCDC label value.
TiDBDashboardLabelVal is tidb-dashboard label value.
TiDBLabelVal is TiDB label value.
TiDBMonitorProtectionFinalizer is the name of finalizer on TidbMonitors.
TiDBMonitorVal is Monitor label value.
TiDBOperator is ManagedByLabelKey label value.
TiFlashLabelVal is TiFlash label value.
TiKVLabelVal is TiKV label value.
TiProxyLabelVal is TiProxy label value.
UsedByLabelKey indicate where it is used.
VolumeRestoreFederationFinalizer is the name of finalizer on federation restores.

# Type aliases

Label is the label field in metadata.