Documentation ¶
Index ¶
Constants ¶
View Source
const ( CmdName = "edge-health" TopologyZone = "superedgehealth/topology-zone" HealthCheckUnitsKey = "check-units" HealthCheckUnitEnable = "unit-internal-check" EdgeHealthConfigMapName = "edge-health-config" HmacConfig = "hmac-config" HmacKey = "hmackey" // if without hmac-config configmap and without hmackey, it will use default hmac key DefaultHmacKey = "hSZbJsKAVmWTxRPi" MasterLabel = "node-role.kubernetes.io/master" TokenFile = "/var/run/secrets/kubernetes.io/serviceaccount/token" ReListTime = 2 * time.Minute DefaultNamespace = "kube-system" )
Variables ¶
View Source
var ( Namespace string PodName string PodIP string NodeName string NodeIP string ClientSet *kubernetes.Clientset // watch node only use metadata client, it will reduce a lot of apiserver bandwidth MetadataClientSet metadata.Interface )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.