Documentation ¶
Overview ¶
Package metrics_server a simple metrics server. Replace https://github.com/aws/aws-k8s-tester/blob/v1.5.9/eks/metrics-server/metrics-server.go.
Index ¶
Constants ¶
View Source
const DefaultMinimumNodes int = 1
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(cfg *Config) k8s_tester.Tester
Types ¶
type Config ¶
type Config struct { Enable bool `json:"enable"` Prompt bool `json:"-"` Stopc chan struct{} `json:"-"` Logger *zap.Logger `json:"-"` LogWriter io.Writer `json:"-"` Client client.Client `json:"-"` // MinimumNodes is the minimum number of Kubernetes nodes required for installing this addon. MinimumNodes int `json:"minimum_nodes"` }
func NewDefault ¶
func NewDefault() *Config
func (*Config) ValidateAndSetDefaults ¶
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
k8s-tester-metrics-server
k8s-tester-metrics-server installs Kubernetes metrics-server tester.
|
k8s-tester-metrics-server installs Kubernetes metrics-server tester. |
Click to show internal directories.
Click to hide internal directories.