# Functions
CleanupSecurityGroup deletes the AWS EKS managed security group, which otherwise doesn't get cleaned up when destroying the EKS cluster.
ConfigureKubectlForEks adds a new context to the kubeconfig located at the given path that can authenticate with the EKS cluster referenced by the given ARN.
DrainASG will cordon and drain all the instances associated with the given ASGs at the time of running.
GetAsgByName will lookup an AutoScalingGroup that matches the given name.
GetOIDCThumbprint will retrieve the thumbprint of the root CA for the OIDC Provider identified by the issuer URL.
No description provided by the author
NewLookupError constructs a new LookupError object that can be used to return an error related to a look up error.
No description provided by the author
No description provided by the author
RollOutDeployment will perform a zero downtime roll out of the current launch configuration associated with the provided ASG in the provided EKS cluster.
ScheduleCoredns adds or removes the compute-type annotation from the coredns deployment resource.
SyncClusterComponents will perform the steps described in https://docs.aws.amazon.com/eks/latest/userguide/update-cluster.html There are three core applications on an EKS cluster:
- kube-proxy - coredns - VPC CNI Plugin
Each of these is managed in Kubernetes as DaemonSet, Deployment, and DaemonSet respectively.
VerifyCluster verifies that the cluster exists, and that the Kubernetes api server is up and accepting traffic.
# Structs
ASG represents the Auto Scaling Group currently being worked on.
CoreComponentUnexpectedConfigurationErr error is returned when the EKS core components are in an unexpected configuration, such as a different number of containers.
CouldNotFindLoadBalancerErr is returned when the given ELB can not be found.
CouldNotMeetASGCapacityError represents an error related to waiting for ASG to reach desired capacity.
DeployState is a basic state machine representing current state of eks deploy subcommand.
EKSClusterNotReady is returned when the EKS cluster is detected to not be in the ready state.
EKSClusterReadyTimeoutError is returned when we time out waiting for an EKS cluster to be ready.
LookupError represents an error related to looking up data on an object.
MultipleLookupErrors represents multiple errors found while looking up a resource.
MultipleTerminateInstanceErrors represents multiple errors found while terminating instances.
NetworkInterfaceDeletedTimeoutError is returned when we time out waiting for a network interface to be deleted.
NetworkInterfaceDetachedTimeoutError is returned when we time out waiting for a network interface to be detached.
NoPeerCertificatesError is returned when we couldn't find any TLS peer certificates for the provided URL.
No description provided by the author
SkipComponentsConfig represents the components that should be skipped in the sync command.
No description provided by the author
UnsupportedEKSVersion is returned when the Kubernetes version of the EKS cluster is not supported.
# Type aliases
No description provided by the author