cluster

package
v1.38.0 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2023 License: Apache-2.0 Imports: 2 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) 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 cluster CPU capacity for at least
	Threshold                  int `json:"threshold"`                  // amount of requested CPU is above
}

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) 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 cluster memory capacity for at least
	Threshold                  int `json:"threshold"`                  // amount of requested memory is above
}

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 MonitoringIssues

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

func (*MonitoringIssues) MarshalHCL

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

func (*MonitoringIssues) Schema

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

func (*MonitoringIssues) UnmarshalHCL

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

type MonitoringIssuesConfig

type MonitoringIssuesConfig struct {
	ObservationPeriodInMinutes int `json:"observationPeriodInMinutes"` // within the last
	SamplePeriodInMinutes      int `json:"samplePeriodInMinutes"`      // monitoring is not available for at least
}

func (*MonitoringIssuesConfig) MarshalHCL

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

func (*MonitoringIssuesConfig) Schema

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

func (*MonitoringIssuesConfig) UnmarshalHCL

func (me *MonitoringIssuesConfig) 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) 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 schedulable pod capacity for at least
	Threshold                  int `json:"threshold"`                  // number of running pods 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) 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"`      // cluster 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"`
	MonitoringIssues         *MonitoringIssues         `json:"monitoringIssues"`
	PodsSaturation           *PodsSaturation           `json:"podsSaturation"`
	ReadinessIssues          *ReadinessIssues          `json:"readinessIssues"` // Alerts if cluster has not been ready 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