Documentation ¶
Index ¶
- Constants
- func IsSchedulableOnFargate(profiles []*api.FargateProfile) bool
- func IsScheduledOnFargate(clientSet kubeclient.Interface) (bool, error)
- func ScheduleOnFargate(clientSet kubeclient.Interface) error
- func WaitForScheduleOnFargate(clientSet kubeclient.Interface, retryPolicy retry.Policy) error
Constants ¶
View Source
const ( // Namespace is the Kubernetes namespace under which CoreDNS lives. Namespace = "kube-system" // Name is the name of the Kubernetes Deployment object for CoreDNS. Name = "coredns" // ComputeTypeAnnotationKey is the key of the annotation driving CoreDNS' // scheduling. ComputeTypeAnnotationKey = "eks.amazonaws.com/compute-type" )
Variables ¶
This section is empty.
Functions ¶
func IsSchedulableOnFargate ¶
func IsSchedulableOnFargate(profiles []*api.FargateProfile) bool
IsSchedulableOnFargate analyzes the provided profiles to determine whether EKS' coredns deployment should be scheduled onto Fargate.
func IsScheduledOnFargate ¶
func IsScheduledOnFargate(clientSet kubeclient.Interface) (bool, error)
IsScheduledOnFargate checks if EKS' coredns is scheduled onto Fargate.
func ScheduleOnFargate ¶
func ScheduleOnFargate(clientSet kubeclient.Interface) error
ScheduleOnFargate modifies EKS' coredns deployment so that it can be scheduled on Fargate.
func WaitForScheduleOnFargate ¶
func WaitForScheduleOnFargate(clientSet kubeclient.Interface, retryPolicy retry.Policy) error
WaitForScheduleOnFargate waits for coredns to be scheduled on Fargate. It will wait until it has detected that the scheduling has been successful, or until the retry policy times out, whichever happens first.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.