Documentation
¶
Overview ¶
Package ng implements EKS worker nodes with a custom AMI.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Logger *zap.Logger
LogWriter io.Writer
Stopc chan struct{}
EKSConfig *eksconfig.Config
K8SClient k8s_client.EKS
IAMAPIV2 *aws_iam_v2.Client
EC2APIV2 *aws_ec2_v2.Client
SSMAPIV2 *aws_ssm_v2.Client
ASGAPIV2 *aws_asg_v2.Client
}
Config defines Node Group configuration.
type Tester ¶
type Tester interface {
// Name returns the name of the tester.
Name() string
// Create creates EKS "Node Group", and waits for completion.
Create() error
// Delete deletes all EKS "Node Group" resources.
Delete() error
// FetchLogs fetches logs from all worker nodes.
FetchLogs() error
// DownloadClusterLogs dumps all logs to artifact directory.
// Let default kubetest log dumper handle all artifact uploads.
// See https://github.com/kubernetes/test-infra/pull/9811/files#r225776067.
DownloadClusterLogs(artifactDir string) error
}
Tester implements EKS "Node Group" for "kubetest2" Deployer. ref. https://github.com/kubernetes/test-infra/blob/master/kubetest2/pkg/types/types.go ref. https://docs.aws.amazon.com/eks/latest/userguide/create-managed-node-group.html ref. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-nodegroup.html
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package autoscaler implements various auto-scaler.
|
Package autoscaler implements various auto-scaler. |
|
Package wait implements node waiter.
|
Package wait implements node waiter. |
Click to show internal directories.
Click to hide internal directories.