Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OrchestratorType ¶
type OrchestratorType string
OrchestratorType is the underlying container orchestrator type
const ( // TKGS is the VMware Tanzu Kubernetes Grid Service TKGS OrchestratorType = "TKGS" // OpenShift is the RedHat Openshift Container Platform OpenShift OrchestratorType = "OpenShift" // GKE is the Google Kubernetes Engine Service GKE OrchestratorType = "GKE" // EKS is the Amazon Elastic Kubernetes Service EKS OrchestratorType = "EKS" // AKS is the Azure Kubernetes Service AKS OrchestratorType = "AKS" // OKE is the Oracle Kubernetes Service OKE OrchestratorType = "OKE" // Ezmeral is the HPE Ezmeral Data Fabric Ezmeral OrchestratorType = "Ezmeral" // RKE is the Rancker Kubernetes Engine RKE OrchestratorType = "RKE" // K8s is the upstream Kubernetes Distribution K8s OrchestratorType = "Kubernetes" // Unknown distribution type Unknown OrchestratorType = "Unknown" )
func GetOrchestratorType ¶
func GetOrchestratorType(k8sClient client.Client) (OrchestratorType, error)
GetOrchestratorType checks the container orchestrator by looking for specific node labels that identify TKGS, OpenShift, or CSP-specific Kubernetes distributions.
Click to show internal directories.
Click to hide internal directories.