Documentation ¶
Overview ¶
Package configmaps a simple pi Pod with Job. Replace https://github.com/aws/aws-k8s-tester/tree/v1.5.9/eks/configmaps.
Index ¶
Constants ¶
View Source
const ( DefaultMinimumNodes int = 1 DefaultObjects int = 10 DefaultObjectSize int = 10 * 1024 // 10 KB )
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"` // Namespace to create test resources. Namespace string `json:"namespace"` // Objects is the desired number of objects to create. Objects int `json:"objects"` // ObjectSize is the size in bytes per object. ObjectSize int `json:"object_size"` LatencySummary latency.Summary `json:"latency_summary" read-only:"true"` }
func NewDefault ¶
func NewDefault() *Config
func (*Config) ValidateAndSetDefaults ¶
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
k8s-tester-configmaps
k8s-tester-configmaps installs Kubernetes configmaps tester.
|
k8s-tester-configmaps installs Kubernetes configmaps tester. |
Click to show internal directories.
Click to hide internal directories.