package
1.6.6
Repository: https://github.com/aws/aws-k8s-tester.git
Documentation: pkg.go.dev

# Functions

AddAnnotationsToDaemonSet adds annotations to a daemonset.
GetExpectedNodeENIs takes in the node's internal IP and waits until the expected number of ENIs are ready and returns them.
GetNodeInternalIP gets a node's internal IP address.
GetTesterPodNodeName gets the node name in which the pod runs on.
GetTestNodes gets the nodes that are not running the tests TODO handle node status.
NodeCoreDNSCount returns the number of KubeDNS or CoreDNS pods running on the node.
ReplaceNodeASGInstances terminates instances for given nodes, waits for new instances to be ready in their autoscaling groups, and waits for the new nodes to be ready This requires an IAM policy with EC2 autoscaling:TerminateInstanceInAutoScalingGroup.
UpdateDaemonSetEnvVars updates a daemonset with updated environment variables.
UpdateDaemonSetLabels updates labels for a daemonset.
WaitForASGDesiredCapacity ensures the autoscaling groups have the requested desired capacity and the nodes become ready This requires an IAM policy with EC2 autoscaling:UpdateAutoScalingGroup to update the max size.
WaitForASGInstancesAndNodesReady waits for ASG instances and nodes to be ready.