labels

package
v0.0.0-...-fa7f690 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 3 more Imports: 0 Imported by: 0

Documentation

Overview

Package labels contains all labels provided by vineyard-operator for users

Index

Constants

View Source
const (

	// VineyardAppLabel is the special label key for vineyard application
	VineyardAppLabel = "app.vineyard.io/name"

	// VineyardRoleLabel is the label key for vineyardd role
	VineyardRoleLabel = "app.vineyard.io/role"

	// SchedulingEnabledLabel is the label key for enabling scheduling
	SchedulingEnabledLabel = "scheduling.v6d.io/enabled"

	// VineyardObjectJobLabel is the label key to indicate the job of the vineyard object
	VineyardObjectJobLabel = "k8s.v6d.io/job"

	// VineyardJobName is the pod group name
	VineyardJobName = "scheduling.k8s.v6d.io/job"
	// VineyardJobReplica is the replication of pods in this job.
	VineyardJobReplica = "scheduling.k8s.v6d.io/replica"
	// VineyarddNamespace is the namespace of vineyardd
	VineyarddNamespace = "scheduling.k8s.v6d.io/vineyardd-namespace"
	// VineyarddName is the name of the vineyardd
	VineyarddName = "scheduling.k8s.v6d.io/vineyardd"
	// WorkloadReplicas is the replicas of workload, for dask repartition here
	WorkloadReplicas = "scheduling.k8s.v6d.io/replicas"

	// AssemblyEnabledLabel is the label for assembly, and inject the assembly container when setting true
	AssemblyEnabledLabel = "assembly.v6d.io/enabled"
	// RepartitionEnabledLabel is the label for repartition, and inject the repartition container when setting true
	RepartitionEnabledLabel = "repartition.v6d.io/enabled"

	// SidecarEnableLabel is the label key for enabling sidecar injection
	SidecarEnableLabel = "sidecar-injection"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL