computegroups

package
v0.0.0-...-da8f381 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultCacheRootPath = "/opt/apache-doris/be/file_cache"
	//default cache storage size: unit=B
	DefaultCacheSize               int64 = 107374182400
	FileCachePathKey                     = "file_cache_path"
	FileCacheSubConfigPathKey            = "path"
	FileCacheSubConfigTotalSizeKey       = "total_size"
	DefaultLogPath                       = "/opt/apache-doris/be/log"
	LogPathKey                           = "LOG_DIR"
	LogStoreName                         = "be-log"
	StorageStorePreName                  = "be-storage"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DisaggregatedComputeGroupsController

type DisaggregatedComputeGroupsController struct {
	sc.DisaggregatedSubDefaultController
}

func (*DisaggregatedComputeGroupsController) ClearResources

func (dcgs *DisaggregatedComputeGroupsController) ClearResources(ctx context.Context, obj client.Object) (bool, error)

clear not configed cg resources, delete not configed cg status from ddc.status .

func (*DisaggregatedComputeGroupsController) ClearStatefulsetUnusedPVCs

ClearStatefulsetUnusedPVCs 1.delete unused pvc skip cluster is Suspend 2.delete unused pvc for statefulset 3.delete pvc if not used by any statefulset

func (*DisaggregatedComputeGroupsController) GetControllerName

func (dcgs *DisaggregatedComputeGroupsController) GetControllerName() string

func (*DisaggregatedComputeGroupsController) NewCGContainer

func (dcgs *DisaggregatedComputeGroupsController) NewCGContainer(ddc *dv1.DorisDisaggregatedCluster, cvs map[string]interface{}, cg *dv1.ComputeGroup) corev1.Container

func (*DisaggregatedComputeGroupsController) NewPodTemplateSpec

func (dcgs *DisaggregatedComputeGroupsController) NewPodTemplateSpec(ddc *dv1.DorisDisaggregatedCluster, selector map[string]string, cvs map[string]interface{}, cg *dv1.ComputeGroup) corev1.PodTemplateSpec

func (*DisaggregatedComputeGroupsController) NewStatefulset

func (dcgs *DisaggregatedComputeGroupsController) NewStatefulset(ddc *dv1.DorisDisaggregatedCluster, cg *dv1.ComputeGroup, cvs map[string]interface{}) *appv1.StatefulSet

func (*DisaggregatedComputeGroupsController) Sync

func (*DisaggregatedComputeGroupsController) UpdateComponentStatus

func (dcgs *DisaggregatedComputeGroupsController) UpdateComponentStatus(obj client.Object) error

Jump to

Keyboard shortcuts

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