node

package
v1.59.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CpuRequestsSaturation

type CpuRequestsSaturation struct {
	Configuration *CpuRequestsSaturationConfig `json:"configuration,omitempty"` // Alert if
	Enabled       bool                         `json:"enabled"`                 // This setting is enabled (`true`) or disabled (`false`)
}

func (*CpuRequestsSaturation) HandlePreconditions added in v1.28.0

func (me *CpuRequestsSaturation) HandlePreconditions() error

func (*CpuRequestsSaturation) MarshalHCL

func (me *CpuRequestsSaturation) MarshalHCL(properties hcl.Properties) error

func (*CpuRequestsSaturation) Schema

func (me *CpuRequestsSaturation) Schema() map[string]*schema.Schema

func (*CpuRequestsSaturation) UnmarshalHCL

func (me *CpuRequestsSaturation) UnmarshalHCL(decoder hcl.Decoder) error

type CpuRequestsSaturationConfig

type CpuRequestsSaturationConfig struct {
	ObservationPeriodInMinutes int `json:"observationPeriodInMinutes"` // within the last
	SamplePeriodInMinutes      int `json:"samplePeriodInMinutes"`      // of node CPU capacity for at least
	Threshold                  int `json:"threshold"`                  // amount of requested CPU is higher than
}

func (*CpuRequestsSaturationConfig) MarshalHCL

func (me *CpuRequestsSaturationConfig) MarshalHCL(properties hcl.Properties) error

func (*CpuRequestsSaturationConfig) Schema

func (me *CpuRequestsSaturationConfig) Schema() map[string]*schema.Schema

func (*CpuRequestsSaturationConfig) UnmarshalHCL

func (me *CpuRequestsSaturationConfig) UnmarshalHCL(decoder hcl.Decoder) error

type MemoryRequestsSaturation

type MemoryRequestsSaturation struct {
	Configuration *MemoryRequestsSaturationConfig `json:"configuration,omitempty"` // Alert if
	Enabled       bool                            `json:"enabled"`                 // This setting is enabled (`true`) or disabled (`false`)
}

func (*MemoryRequestsSaturation) HandlePreconditions added in v1.28.0

func (me *MemoryRequestsSaturation) HandlePreconditions() error

func (*MemoryRequestsSaturation) MarshalHCL

func (me *MemoryRequestsSaturation) MarshalHCL(properties hcl.Properties) error

func (*MemoryRequestsSaturation) Schema

func (me *MemoryRequestsSaturation) Schema() map[string]*schema.Schema

func (*MemoryRequestsSaturation) UnmarshalHCL

func (me *MemoryRequestsSaturation) UnmarshalHCL(decoder hcl.Decoder) error

type MemoryRequestsSaturationConfig

type MemoryRequestsSaturationConfig struct {
	ObservationPeriodInMinutes int `json:"observationPeriodInMinutes"` // within the last
	SamplePeriodInMinutes      int `json:"samplePeriodInMinutes"`      // of node memory capacity for at least
	Threshold                  int `json:"threshold"`                  // amount of requested memory is higher than
}

func (*MemoryRequestsSaturationConfig) MarshalHCL

func (me *MemoryRequestsSaturationConfig) MarshalHCL(properties hcl.Properties) error

func (*MemoryRequestsSaturationConfig) Schema

func (*MemoryRequestsSaturationConfig) UnmarshalHCL

func (me *MemoryRequestsSaturationConfig) UnmarshalHCL(decoder hcl.Decoder) error

type NodeProblematicCondition added in v1.28.0

type NodeProblematicCondition struct {
	Configuration *NodeProblematicConditionConfig `json:"configuration,omitempty"` // Alert if
	Enabled       bool                            `json:"enabled"`                 // This setting is enabled (`true`) or disabled (`false`)
}

func (*NodeProblematicCondition) HandlePreconditions added in v1.28.0

func (me *NodeProblematicCondition) HandlePreconditions() error

func (*NodeProblematicCondition) MarshalHCL added in v1.28.0

func (me *NodeProblematicCondition) MarshalHCL(properties hcl.Properties) error

func (*NodeProblematicCondition) Schema added in v1.28.0

func (me *NodeProblematicCondition) Schema() map[string]*schema.Schema

func (*NodeProblematicCondition) UnmarshalHCL added in v1.28.0

func (me *NodeProblematicCondition) UnmarshalHCL(decoder hcl.Decoder) error

type NodeProblematicConditionConfig added in v1.28.0

type NodeProblematicConditionConfig struct {
	ObservationPeriodInMinutes int `json:"observationPeriodInMinutes"` // within the last
	SamplePeriodInMinutes      int `json:"samplePeriodInMinutes"`      // node has problematic conditions for at least
}

func (*NodeProblematicConditionConfig) MarshalHCL added in v1.28.0

func (me *NodeProblematicConditionConfig) MarshalHCL(properties hcl.Properties) error

func (*NodeProblematicConditionConfig) Schema added in v1.28.0

func (*NodeProblematicConditionConfig) UnmarshalHCL added in v1.28.0

func (me *NodeProblematicConditionConfig) UnmarshalHCL(decoder hcl.Decoder) error

type PodsSaturation

type PodsSaturation struct {
	Configuration *PodsSaturationConfig `json:"configuration,omitempty"` // Alert if
	Enabled       bool                  `json:"enabled"`                 // This setting is enabled (`true`) or disabled (`false`)
}

func (*PodsSaturation) HandlePreconditions added in v1.28.0

func (me *PodsSaturation) HandlePreconditions() error

func (*PodsSaturation) MarshalHCL

func (me *PodsSaturation) MarshalHCL(properties hcl.Properties) error

func (*PodsSaturation) Schema

func (me *PodsSaturation) Schema() map[string]*schema.Schema

func (*PodsSaturation) UnmarshalHCL

func (me *PodsSaturation) UnmarshalHCL(decoder hcl.Decoder) error

type PodsSaturationConfig

type PodsSaturationConfig struct {
	ObservationPeriodInMinutes int `json:"observationPeriodInMinutes"` // within the last
	SamplePeriodInMinutes      int `json:"samplePeriodInMinutes"`      // of node capacity for at least
	Threshold                  int `json:"threshold"`                  // number of pods running on node is higher than
}

func (*PodsSaturationConfig) MarshalHCL

func (me *PodsSaturationConfig) MarshalHCL(properties hcl.Properties) error

func (*PodsSaturationConfig) Schema

func (me *PodsSaturationConfig) Schema() map[string]*schema.Schema

func (*PodsSaturationConfig) UnmarshalHCL

func (me *PodsSaturationConfig) UnmarshalHCL(decoder hcl.Decoder) error

type ReadinessIssues

type ReadinessIssues struct {
	Configuration *ReadinessIssuesConfig `json:"configuration,omitempty"` // Alert if
	Enabled       bool                   `json:"enabled"`                 // This setting is enabled (`true`) or disabled (`false`)
}

func (*ReadinessIssues) HandlePreconditions added in v1.28.0

func (me *ReadinessIssues) HandlePreconditions() error

func (*ReadinessIssues) MarshalHCL

func (me *ReadinessIssues) MarshalHCL(properties hcl.Properties) error

func (*ReadinessIssues) Schema

func (me *ReadinessIssues) Schema() map[string]*schema.Schema

func (*ReadinessIssues) UnmarshalHCL

func (me *ReadinessIssues) UnmarshalHCL(decoder hcl.Decoder) error

type ReadinessIssuesConfig

type ReadinessIssuesConfig struct {
	ObservationPeriodInMinutes int `json:"observationPeriodInMinutes"` // within the last
	SamplePeriodInMinutes      int `json:"samplePeriodInMinutes"`      // node is not ready for at least
}

func (*ReadinessIssuesConfig) MarshalHCL

func (me *ReadinessIssuesConfig) MarshalHCL(properties hcl.Properties) error

func (*ReadinessIssuesConfig) Schema

func (me *ReadinessIssuesConfig) Schema() map[string]*schema.Schema

func (*ReadinessIssuesConfig) UnmarshalHCL

func (me *ReadinessIssuesConfig) UnmarshalHCL(decoder hcl.Decoder) error

type Settings

type Settings struct {
	CpuRequestsSaturation    *CpuRequestsSaturation    `json:"cpuRequestsSaturation"`
	MemoryRequestsSaturation *MemoryRequestsSaturation `json:"memoryRequestsSaturation"`
	NodeProblematicCondition *NodeProblematicCondition `json:"nodeProblematicCondition"`
	PodsSaturation           *PodsSaturation           `json:"podsSaturation"`
	ReadinessIssues          *ReadinessIssues          `json:"readinessIssues"` // Alerts if node has not been available for a given amount of time
	Scope                    *string                   `json:"-" scope:"scope"` // The scope of this setting (KUBERNETES_CLUSTER). Omit this property if you want to cover the whole environment.
}

func (*Settings) MarshalHCL

func (me *Settings) MarshalHCL(properties hcl.Properties) error

func (*Settings) Name

func (me *Settings) Name() string

func (*Settings) Schema

func (me *Settings) Schema() map[string]*schema.Schema

func (*Settings) UnmarshalHCL

func (me *Settings) UnmarshalHCL(decoder hcl.Decoder) error

Jump to

Keyboard shortcuts

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