Documentation ¶
Overview ¶
Package jobs_pi a simple pi Pod with Job. Replace https://github.com/aws/aws-k8s-tester/tree/v1.5.9/eks/jobs-pi.
Index ¶
Constants ¶
View Source
const ( DefaultMinimumNodes int = 1 DefaultCompletes int32 = 10 DefaultParallels int32 = 10 )
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"` // Completes is the desired number of successfully finished pods. Completes int32 `json:"completes"` // Parallels is the the maximum desired number of pods the // job should run at any given time. Parallels int32 `json:"parallels"` }
func NewDefault ¶
func NewDefault() *Config
func (*Config) ValidateAndSetDefaults ¶
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
k8s-tester-jobs-pi
k8s-tester-jobs-pi installs Kubernetes Jobs Pi tester.
|
k8s-tester-jobs-pi installs Kubernetes Jobs Pi tester. |
Click to show internal directories.
Click to hide internal directories.