Documentation ¶
Overview ¶
Package hollownodes implements Hollow Nodes. ref. https://github.com/kubernetes/kubernetes/blob/master/pkg/kubemark/hollow_kubelet.go
The purpose is to make it easy to run on EKS. ref. https://github.com/kubernetes/kubernetes/blob/master/test/kubemark/start-kubemark.sh
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Logger *zap.Logger Stopc chan struct{} EKSConfig *eksconfig.Config K8SClient k8s_client.EKS ECRAPI ecriface.ECRAPI }
Config defines hollow nodes configuration.
type NodeGroup ¶
type NodeGroup interface { Start() error Stop() CheckNodes() (readyNodes []string, createdNodes []string, err error) }
NodeGroup represents a set of hollow node objects.
func CreateNodeGroup ¶
func CreateNodeGroup(cfg NodeGroupConfig) (ng NodeGroup, err error)
CreateNodeGroup creates a new hollow node group.
Click to show internal directories.
Click to hide internal directories.