/*
 * Copyright (c) 2024 Huawei Technologies Co., Ltd.
 * openFuyao is licensed under Mulan PSL v2.
 * You can use this software according to the terms and conditions of the Mulan PSL v2.
 * You may obtain a copy of Mulan PSL v2 at:
 *          http://license.coscl.org.cn/MulanPSL2
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PSL v2 for more details.
 */

// Package constant contains shared constants for the MCO many-core scheduler system.
package constant

// MCO annotation / label prefix.
const (
	MCOAnnotationPrefix = "mco.many-core.io"
)

// Kata 节点标签
const (
	// kata-deploy 注册 runtime handler 后设置的标签
	KataRuntimeLabel = "katacontainers.io/kata-runtime"
	// MCO kata-deploy 在 kata-check 通过后设置的标签,表示节点已验证可运行 Kata VM
	KataReadyLabel = "mco.many-core.io/kata-ready"
)

// Pod labels for workload type classification (reserved, not yet used in scheduling).
const (
	// WorkloadTypeLabel is an optional label users can set on Pods.
	// Values: "online" | "offline".
	WorkloadTypeLabel = "mco.many-core.io/workload-type"
)

// Analyzer gRPC service discovery.
const (
	// AnalyzerDefaultAddr is the default gRPC address for the Analyzer service.
	AnalyzerDefaultAddr = "mco-analyzer.mco-system.svc.cluster.local:50051"
)

// MCO system namespace.
const (
	// MCOSystemNamespace is the namespace where MCO components are deployed.
	MCOSystemNamespace = "mco-system"
)