kubelet

package
v0.0.0-...-c7568dd Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: MIT-0 Imports: 31 Imported by: 0

Documentation

Index

Constants

View Source
const KubeletDaemonName = "kubelet"

Variables

View Source
var MaxPodsPerInstanceType map[string]int

Functions

func CalcMaxPods

func CalcMaxPods(awsRegion string, instanceType string) int32

CalcMaxPods handle the edge case when instance type is not present in MaxPodsPerInstanceType The behavior should align with AL2, which essentially is:

# of ENI * (# of IPv4 per ENI - 1) + 2

func GetKubeletVersion

func GetKubeletVersion() (string, error)

func GetKubeletVersionRaw

func GetKubeletVersionRaw() ([]byte, error)

func NewKubeletDaemon

func NewKubeletDaemon(daemonManager daemon.DaemonManager) daemon.Daemon

Types

This section is empty.

Jump to

Keyboard shortcuts

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