Documentation
¶
Overview ¶
Package vkMachinery contains the logic required to forge a new virtualKubelet instance and all related objects
Index ¶
Constants ¶
const ( VKCertsRootPath = "/etc/virtual-kubelet/certs" VKCertsVolumeName = "virtual-kubelet-crt" VKClusterRoleName = "liqo-virtual-kubelet-local" )
VKCertsRootPath defines the path where VK certificates are stored.
const CRBPrefix = "liqo-virtual-kubelet-"
CRBPrefix -> the prefix used to create the virtual kubelet cluster role binding name.
const DeploymentName = "virtual-kubelet"
DeploymentName -> the name of the virtual kubelet deployment.
const ServiceAccountName = "virtual-kubelet"
ServiceAccountName -> the name of the service account leveraged by the virtual kubelet.
Variables ¶
var CertLocation = filepath.Join(VKCertsRootPath, "server.crt")
CertLocation defines the path where the VK Certificate is stored.
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 CsrLabels = map[string]string{
"virtual-kubelet.liqo.io/csr": "true",
}
CsrLabels defines the labels attached to the CSR resource.
var CsrLocation = filepath.Join(VKCertsRootPath, "server.csr")
CsrLocation defines the path where the VK CSR is stored.
var KeyLocation = filepath.Join(VKCertsRootPath, "server-key.pem")
KeyLocation defines the path where the VK Key file is stored.
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 csr contains the logic required to generate, create and approve Certificate Signing Requests (CSR) for the Virtual Kubelet instances.
|
Package csr contains the logic required to generate, create and approve Certificate Signing Requests (CSR) for the Virtual Kubelet instances. |
Package forge contains the logic required to generate the virtual kubelet resources.
|
Package forge contains the logic required to generate the virtual kubelet resources. |