Documentation ¶
Overview ¶
Package nlb_guestbook installs a simple guestbook application with NLB. Replace https://github.com/aws/aws-k8s-tester/tree/v1.5.9/eks/nlb-guestbook.
Index ¶
Constants ¶
View Source
const ( DefaultMinimumNodes int = 1 DefaultDeploymentReplicas int32 = 2 )
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:"-"` ELB2API elbv2iface.ELBV2API `json:"-"` AccountID string `json:"account_id" read-only:"true"` Partition string `json:"partition"` Region string `json:"region"` // 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"` // DeploymentNodeSelector is configured to overwrite existing node selector // for hello world deployment. If left empty, tester sets default selector. DeploymentNodeSelector map[string]string `json:"deployment_node_selector"` // DeploymentReplicas is the number of replicas to deploy using "Deployment" object. DeploymentReplicas int32 `json:"deployment_replicas"` // ELBARN is the ARN of the ELB created from the service. ELBARN string `json:"elb_arn" read-only:"true"` // ELBName is the name of the ELB created from the service. ELBName string `json:"elb_name" read-only:"true"` // ELBURL is the host name for guestbook service. ELBURL string `json:"elb_url" read-only:"true"` }
func NewDefault ¶
func NewDefault() *Config
func (*Config) ValidateAndSetDefaults ¶
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
k8s-tester-nlb-guestbook
k8s-tester-nlb-guestbook installs Kubernetes NLB guestbook tester.
|
k8s-tester-nlb-guestbook installs Kubernetes NLB guestbook tester. |
Click to show internal directories.
Click to hide internal directories.