Documentation
¶
Overview ¶
Package userdata provides a way to generate ec2 instance userdata.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NodeInput ¶
type NodeInput struct {
ClusterName string
KubeletExtraArgs map[string]string
ContainerRuntime *string
DNSClusterIP *string
DockerConfigJSON *string
APIRetryAttempts *int
PauseContainerAccount *string
PauseContainerVersion *string
UseMaxPods *bool
// NOTE: currently the IPFamily/ServiceIPV6Cidr isn't exposed to the user.
// TODO (richardcase): remove the above comment when IPV6 / dual stack is implemented.
IPFamily *string
ServiceIPV6Cidr *string
PreBootstrapCommands []string
PostBootstrapCommands []string
BootstrapCommandOverride *string
Files []eksbootstrapv1.File
DiskSetup *eksbootstrapv1.DiskSetup
Mounts []eksbootstrapv1.MountPoints
Users []eksbootstrapv1.User
NTP *eksbootstrapv1.NTP
}
NodeInput defines the context to generate a node user data.
func (*NodeInput) BootstrapCommand ¶
BootstrapCommand returns the bootstrap command to be used on a node instance.
func (*NodeInput) DockerConfigJSONEscaped ¶
DockerConfigJSONEscaped returns the DockerConfigJSON escaped for use in cloud-init.
Click to show internal directories.
Click to hide internal directories.