Documentation
¶
Overview ¶
Package hollownodes implements hollow nodes.
ref. https://github.com/kubernetes/kubernetes/blob/master/pkg/kubemark/hollow_kubelet.go ref. https://github.com/kubernetes/kubernetes/blob/master/pkg/kubemark/hollow_proxy.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 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) NodeGroup
CreateNodeGroup creates a new hollow node group.
type NodeGroupConfig ¶
type NodeGroupConfig struct {
Logger *zap.Logger
Stopc chan struct{}
Client k8s_client.EKS
Nodes int
NodeNamePrefix string
NodeLabels map[string]string
MaxOpenFiles int64
// Remote is true if run in remote nodes (inside Pod).
Remote bool
}
NodeGroupConfig is the hollow nodes configuration.
Click to show internal directories.
Click to hide internal directories.