/*
Copyright 2017 The Volcano Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

package v1alpha1

const (
	// TaskSpecKey task spec key used in pod annotation
	TaskSpecKey = "volcano.sh/task-spec"
	// TaskIndex is task index of each spec in annotation / labels
	TaskIndex = "volcano.sh/task-index"
	// JobNameKey job name key used in pod annotation / labels
	JobNameKey = "volcano.sh/job-name"
	// TaskPartitionID task partition id key used in pod annotation / labels
	TaskPartitionID = "volcano.sh/partition-id"
	// QueueNameKey queue name key used in pod annotation / labels
	QueueNameKey = "volcano.sh/queue-name"
	// JobNamespaceKey job namespace key
	JobNamespaceKey = "volcano.sh/job-namespace"
	// DefaultTaskSpec default task spec value
	DefaultTaskSpec = "default"
	// JobVersion job version key used in pod annotation
	JobVersion = "volcano.sh/job-version"
	// JobTypeKey job type key used in labels
	JobTypeKey = "volcano.sh/job-type"
	// JobRetryCountKey job retry count key used in pod annotation
	JobRetryCountKey = "volcano.sh/job-retry-count"
	// PodgroupNamePrefix podgroup name prefix
	PodgroupNamePrefix = "podgroup-"
	// PodTemplateKey type specify a equivalence pod class
	PodTemplateKey = "volcano.sh/template-uid"
	// JobForwardingKey job forwarding key used in job annotation
	JobForwardingKey = "volcano.sh/job-forwarding"
	// ForwardClusterKey cluster key used in pod annotation
	ForwardClusterKey = "volcano.sh/forward-cluster"
	// OrginalNameKey annotation key for resource name
	OrginalNameKey = "volcano.sh/burst-name"
	// BurstToSiloClusterAnnotation labels key for resource only in silo cluster
	BurstToSiloClusterAnnotation = "volcano.sh/silo-resource"
	// CronJobScheduledTimestampAnnotation records the intended scheduled timestamp for a job triggered by a CronJob.
	CronJobScheduledTimestampAnnotation = "volcano.sh/cronjob-scheduled-timestamp"
)
