Documentation ¶
Overview ¶
Package vkMachinery contains the logic required to forge a new virtualKubelet instance and all related objects
Index ¶
Constants ¶
const CRBPrefix = "liqo-node-"
CRBPrefix -> the prefix used to create the virtual kubelet cluster role binding name.
const ContainerName = "virtual-kubelet"
ContainerName -> the name of the container used to run the virtual kubelet.
const LocalClusterRoleName = "liqo-virtual-kubelet-local"
LocalClusterRoleName represents the name of the local cluster role associated with the virtual kubelet.
const MetricsAddress = ":8080"
MetricsAddress is the default address used to expose metrics.
const ServiceAccountName = "virtual-kubelet"
ServiceAccountName -> the name of the service account leveraged by the virtual kubelet.
Variables ¶
var ClusterRoleBindingLabels = map[string]string{
"app.kubernetes.io/managed-by": "advertisementoperator",
}
ClusterRoleBindingLabels are the static labels that are set on every ClusterRoleBinding managed by the Advertisement Operator.
var KubeletBaseLabels = map[string]string{
"app.kubernetes.io/name": "virtual-kubelet",
"app.kubernetes.io/instance": "virtual-kubelet",
"app.kubernetes.io/managed-by": "advertisementoperator",
"app.kubernetes.io/component": "virtual-kubelet",
"app.kubernetes.io/part-of": "liqo",
}
KubeletBaseLabels are the static labels that are set on every VirtualKubelet.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package forge contains the logic required to generate the virtual kubelet resources.
|
Package forge contains the logic required to generate the virtual kubelet resources. |
Package utils contains some utility functions used by the virtual node controller.
|
Package utils contains some utility functions used by the virtual node controller. |