consts

package
v0.0.0-...-b360ffd Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	YTRPCPortName = "rpc"

	YTMonitoringContainerPortName = "metrics"
	YTMonitoringServicePortName   = "ytsaurus-metrics"
	YTMonitoringPort              = 10000
)
View Source
const (
	DiscoveryRPCPort        = 9020
	DiscoveryMonitoringPort = 10020

	MasterRPCPort        = 9010
	MasterMonitoringPort = 10010

	SchedulerRPCPort        = 9011
	SchedulerMonitoringPort = 10011

	ControllerAgentRPCPort        = 9014
	ControllerAgentMonitoringPort = 10014

	DataNodeRPCPort        = 9012
	DataNodeMonitoringPort = 10012

	TabletNodeRPCPort        = 9022
	TabletNodeMonitoringPort = 10022

	ExecNodeRPCPort        = 9029
	ExecNodeMonitoringPort = 10029

	// TODO(zlobober): temporary until YT-20036.
	DataNodeSkynetPort   = 11012
	TabletNodeSkynetPort = 11022
	ExecNodeSkynetPort   = 11029

	RPCProxyRPCPort        = 9013
	RPCProxyMonitoringPort = 10013

	HTTPProxyRPCPort        = 9016
	HTTPProxyMonitoringPort = 10016
	HTTPProxyHTTPPort       = 80
	HTTPProxyHTTPSPort      = 443

	TCPProxyMonitoringPort = 10017

	QueryTrackerRPCPort        = 9028
	QueryTrackerMonitoringPort = 10028

	YQLAgentRPCPort        = 9019
	YQLAgentMonitoringPort = 10019

	QueueAgentRPCPort        = 9030
	QueueAgentMonitoringPort = 10030

	UIHTTPPort = 80

	StrawberryHTTPAPIPort = 80

	MasterCachesRPCPort        = 9018
	MasterCachesMonitoringPort = 10018
)
View Source
const (
	ConfigMountPoint           = "/config"
	ConfigTemplateMountPoint   = "/config_template"
	HTTPSSecretMountPoint      = "/config/https_secret"
	RPCSecretMountPoint        = "/config/rpc_secret"
	BusSecretMountPoint        = "/config/bus_secret"
	CABundleMountPoint         = "/config/ca_bundle"
	UIClustersConfigMountPoint = "/opt/app"
	UICustomConfigMountPoint   = "/opt/app/dist/server/configs/custom"
	UISecretsMountPoint        = "/opt/app/secrets"
	UIVaultMountPoint          = "/vault"
)
View Source
const (
	YTServerContainerName          = "ytserver"
	PostprocessConfigContainerName = "postprocess-config"
	PrepareLocationsContainerName  = "prepare-locations"
	PrepareSecretContainerName     = "prepare-secret"
	UIContainerName                = "yt-ui"
)
View Source
const (
	ClientConfigFileName = "client.yson"

	InitClusterScriptFileName       = "init-cluster.sh"
	PostprocessConfigScriptFileName = "postprocess-config.sh"

	UIClusterConfigFileName = "clusters-config.json"
	UISecretFileName        = "yt-interface-secret.json"
	CABundleFileName        = "ca.crt"
	TokenSecretKey          = "YT_TOKEN"
)
View Source
const (
	JobsContainerName = "jobs"

	ContainerdConfigVolumeName = "config-containerd"
	ContainerdConfigMountPoint = "/config/containerd"
	ContainerdSocketName       = "containerd.sock"
	ContainerdConfigFileName   = "containerd.toml"

	CRINamespace  = "yt"
	CRIBaseCgroup = "/yt"
)
View Source
const (
	ConfigTemplateVolumeName = "config-template"
	ConfigVolumeName         = "config"
	HTTPSSecretVolumeName    = "https-secret"
	RPCSecretVolumeName      = "rpc-secret"
	BusSecretVolumeName      = "bus-secret"
	CABundleVolumeName       = "ca-bundle"
	InitScriptVolumeName     = "init-script"
	UIVaultVolumeName        = "vault"
	UISecretsVolumeName      = "secrets"
)
View Source
const (
	YTComponentLabelDiscovery       string = "yt-discovery"
	YTComponentLabelMaster          string = "yt-master"
	YTComponentLabelScheduler       string = "yt-scheduler"
	YTComponentLabelControllerAgent string = "yt-controller-agent"
	YTComponentLabelDataNode        string = "yt-data-node"
	YTComponentLabelExecNode        string = "yt-exec-node"
	YTComponentLabelTabletNode      string = "yt-tablet-node"
	YTComponentLabelHTTPProxy       string = "yt-http-proxy"
	YTComponentLabelRPCProxy        string = "yt-rpc-proxy"
	YTComponentLabelTCPProxy        string = "yt-tcp-proxy"
	YTComponentLabelUI              string = "yt-ui"
	YTComponentLabelYqlAgent        string = "yt-yql-agent"
	YTComponentLabelClient          string = "yt-client"
	YTComponentLabelMasterCache     string = "yt-master-cache"
)
View Source
const AdminLoginSecret = "login"
View Source
const AdminPasswordSecret = "password"
View Source
const AdminTokenSecret = "token"
View Source
const ConditionHasPossibility = "HasPossibility"
View Source
const ConditionMasterExitReadOnlyPrepared = "MasterExitReadOnlyPrepared"
View Source
const ConditionMasterExitedReadOnly = "MasterExitedReadOnly"
View Source
const ConditionNoPossibility = "NoPossibility"
View Source
const ConditionNotNecessaryToUpdateOpArchive = "NotNecessaryToUpdateOpArchive"
View Source
const ConditionOpArchivePreparedForUpdating = "OpArchivePreparedForUpdating"
View Source
const ConditionOpArchiveUpdated = "OpArchiveUpdated"
View Source
const ConditionQTStatePreparedForUpdating = "QTStatePreparedForUpdating"
View Source
const ConditionQTStateUpdated = "QTStateUpdated"
View Source
const ConditionSafeModeDisabled = "SafeModeDisabled"
View Source
const ConditionSafeModeEnabled = "SafeModeEnabled"
View Source
const ConditionSnaphotsSaved = "SnaphotsSaved"
View Source
const ConditionSnapshotsBuildingStarted = "SnapshotsBuildingStarted"
View Source
const ConditionSnapshotsMonitoringInfoSaved = "SnapshotsMonitoringInfoSaved"
View Source
const ConditionTabletCellsRecovered = "TabletCellsRecovered"
View Source
const ConditionTabletCellsRemoved = "TabletCellsRemoved"
View Source
const ConditionTabletCellsRemovingStarted = "TabletCellsRemovingStarted"
View Source
const ConditionTabletCellsSaved = "TabletCellsSaved"
View Source
const DefaultAdminLogin = "admin"
View Source
const DefaultAdminPassword = "password"
View Source
const DefaultCABundlePath = "/etc/ssl/certs/ca-certificates.crt"
View Source
const DefaultHTTPProxyRole = "default"
View Source
const DefaultMedium = "default"
View Source
const DefaultName = "default"
View Source
const DefaultYqlTokenPath = "/usr/yql_agent_token"
View Source
const (
	HTTPSSecretUpdatePeriod = time.Second * 60
)
View Source
const MaxSlotLocationReserve = 10 << 30 // 10GiB
View Source
const MetrikaCounterFileName = "common.js"
View Source
const MetrikaCounterScript = `` /* 365-byte string literal not displayed */
View Source
const StartUID = 19500
View Source
const StrawberryControllerUserName = "robot-strawberry-controller"
View Source
const UIUserName = "robot-ui"
View Source
const YTComponentLabelName = "yt_component"
View Source
const YTMetricsLabelName = "yt_metrics"
View Source
const YqlUserName = "yql_agent"
View Source
const YtsaurusOperatorUserName = "robot-yt-k8s-operator"

Variables

This section is empty.

Functions

This section is empty.

Types

type ComponentType

type ComponentType string
const (
	ControllerAgentType      ComponentType = "ControllerAgent"
	DataNodeType             ComponentType = "DataNode"
	DiscoveryType            ComponentType = "Discovery"
	ExecNodeType             ComponentType = "ExecNode"
	HttpProxyType            ComponentType = "HttpProxy"
	MasterCacheType          ComponentType = "MasterCache"
	MasterType               ComponentType = "Master"
	QueryTrackerType         ComponentType = "QueryTracker"
	QueueAgentType           ComponentType = "QueueAgent"
	RpcProxyType             ComponentType = "RpcProxy"
	SchedulerType            ComponentType = "Scheduler"
	StrawberryControllerType ComponentType = "StrawberryController"
	TabletNodeType           ComponentType = "TabletNode"
	TcpProxyType             ComponentType = "TcpProxy"
	UIType                   ComponentType = "UI"
	YqlAgentType             ComponentType = "YqlAgent"
	YtsaurusClientType       ComponentType = "YtsaurusClient"
)

Jump to

Keyboard shortcuts

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