package
0.10.0-rc.4-depUpgrades
Repository: https://github.com/datadog/extendeddaemonset.git
Documentation: pkg.go.dev
# Functions
CannotStart returns true if the Pod is currently experiencing abnormal start condition.
CreatePodFromDaemonSetReplicaSet use to create a Pod from a ReplicaSet instance and a specific Node name.
GetContainerStatus extracts the status of container "name" from "statuses".
GetExistingContainerStatus extracts the status of container "name" from "statuses".
GetNodeNameFromPod returns the NodeName from Pod spec.
GetPodCondition extracts the provided condition from the given status and returns that.
GetPodConditionFromList extracts the provided condition from the given list of condition and returns the index of the condition and the condition.
GetPodReadyCondition extracts the pod ready condition from the given status and returns that.
HasPodSchedulerIssue returns true if a pod remained unscheduled for more than 10 minutes or if it stayed in `Terminating` state for longer than its grace period.
HighestRestartCount checks if a pod in the Canary deployment is restarting This returns the count and the "reason" for the pod with the most restarts.
IsCannotStartReason returns true for a reason that is considered an abnormal cannot start condition.
IsEvicted returns whether the status corresponds to an evicted pod.
IsPodAvailable returns true if a pod is available; false otherwise.
IsPodReady returns true if a pod is ready; false otherwise.
IsPodReadyConditionTrue returns true if a pod is ready; false otherwise.
IsPodScheduled return true if it is already assigned to a Node.
MostRecentRestart returns the most recent restart time for a pod or the time.
PendingCreate returns true if the Pod is pending create (may be an eventually resolving state).
SortPodByCreationTime return the pods sorted by creation time from the newer to the older.
UpdatePodCondition updates existing pod condition or creates a new one.
# Constants
DaemonsetClusterAutoscalerPodAnnotationKey use to inform the cluster-autoscaler that a pod should be considered as a DaemonSet pod.
# Variables
StandardDaemonSetTolerations contains the tolerations that the EDS controller should add to all pods it manages.