vkMachinery

package
v0.3.0-rc.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 2, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package vkMachinery contains the logic required to forge a new virtualKubelet instance and all related objects

Index

Constants

View Source
const (
	VKCertsRootPath   = "/etc/virtual-kubelet/certs"
	VKCertsVolumeName = "virtual-kubelet-crt"
	VKClusterRoleName = "liqo-virtual-kubelet-local"
)

VKCertsRootPath defines the path where VK certificates are stored.

Variables

View Source
var CertLocation = filepath.Join(VKCertsRootPath, "server.crt")

CertLocation defines the path where the VK Certificate is stored.

View Source
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.

View Source
var CsrLabels = map[string]string{
	"virtual-kubelet.liqo.io/csr": "true",
}

CsrLabels defines the labels attached to the CSR resource.

View Source
var CsrLocation = filepath.Join(VKCertsRootPath, "server.csr")

CsrLocation defines the path where the VK CSR is stored.

View Source
var KeyLocation = filepath.Join(VKCertsRootPath, "server-key.pem")

KeyLocation defines the path where the VK Key file is stored.

View Source
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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL