Documentation ¶
Index ¶
Constants ¶
View Source
const ( // VirtualNodePrefix -> the prefix used to generate the virtual node name. VirtualNodePrefix = "liqo-" // VirtualKubeletPrefix -> the prefix used to generate the virtual kubelet deployment name. VirtualKubeletPrefix = "virtual-kubelet-" // ReflectedpodKey -> the key of the label added to reflected pods. ReflectedpodKey = "virtualkubelet.liqo.io/source-pod" // HomePodFinalizer -> the finalizer added to local pods when reflected. HomePodFinalizer = "virtual-kubelet.liqo.io/provider" // Clients configuration. HOME_CLIENT_QPS = 1000 HOME_CLIENTS_BURST = 5000 FOREIGN_CLIENT_QPS = 1000 FOREIGN_CLIENT_BURST = 5000 )
Variables ¶
This section is empty.
Functions ¶
func VirtualNodeName ¶ added in v0.3.1
func VirtualNodeName(cluster discoveryv1alpha1.ClusterIdentity) string
VirtualNodeName generates the virtual node name based on the cluster ID.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package forge groups the methods used to forge the Kubernetes object definitions for the reflection logic.
|
Package forge groups the methods used to forge the Kubernetes object definitions for the reflection logic. |
Package liqonodeprovider implements the VirtualKubelet NodeProvider interface, it manages the node status monitoring the status of the Liqo resources (i.e.
|
Package liqonodeprovider implements the VirtualKubelet NodeProvider interface, it manages the node status monitoring the status of the Liqo resources (i.e. |
Package provider contains methods implementing virtual-kubelet provider
|
Package provider contains methods implementing virtual-kubelet provider |
reflection
|
|
configuration
Package configuration implements the reflection logic for configmaps and secrets.
|
Package configuration implements the reflection logic for configmaps and secrets. |
exposition
Package exposition implements the reflection logic for services and endpointslices.
|
Package exposition implements the reflection logic for services and endpointslices. |
generic
Package generic implements the generic logic to reflect Kubernetes objects between the local and the remote cluster, for a set of resources and namespaces.
|
Package generic implements the generic logic to reflect Kubernetes objects between the local and the remote cluster, for a set of resources and namespaces. |
generic/fake
Package fake implements the reflector interfaces for testing purposes.
|
Package fake implements the reflector interfaces for testing purposes. |
manager
Package manager implements the generic logic to manage the resource reflection between the local and the remote cluster, for a set of resources and namespaces.
|
Package manager implements the generic logic to manage the resource reflection between the local and the remote cluster, for a set of resources and namespaces. |
namespacemap
Package namespacemap implements the logic to start and stop the reflection of resources for namespaces.
|
Package namespacemap implements the logic to start and stop the reflection of resources for namespaces. |
namespacemap/fake
Package fake implements a fake namespace start and stopper used for testing purpouses.
|
Package fake implements a fake namespace start and stopper used for testing purpouses. |
options
Package options implements the options to configure the reflection.
|
Package options implements the options to configure the reflection. |
storage
Package storage implements the reflection logic for persistentvolumeclaims.
|
Package storage implements the reflection logic for persistentvolumeclaims. |
workload
Package workload implements the reflection logic for pods.
|
Package workload implements the reflection logic for pods. |
roles
|
|
local
Package local defines the ClusterRole containing the permissions required by the virtual kubelet in the local cluster.
|
Package local defines the ClusterRole containing the permissions required by the virtual kubelet in the local cluster. |
remote
Package remote defines the ClusterRole containing the permissions required by the virtual kubelet in the remote cluster.
|
Package remote defines the ClusterRole containing the permissions required by the virtual kubelet in the remote cluster. |
Click to show internal directories.
Click to hide internal directories.