nodeadm

module
v0.0.0-...-0794b14 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: MIT-0

README

nodeadm

Initializes a node in an EKS cluster.


Usage

To initialize a node:

nodeadm init

Note This happens automatically, via a systemd service, on AL2023-based EKS AMI's.


Configuration

nodeadm uses a YAML configuration schema that will look familiar to Kubernetes users.

This is an example of the minimum required parameters:

---
apiVersion: node.eks.aws/v1alpha1
kind: NodeConfig
spec:
  cluster:
    name: my-cluster
    apiServerEndpoint: https://example.com
    certificateAuthority: Y2VydGlmaWNhdGVBdXRob3JpdHk=
    cidr: 10.100.0.0/16

You'll typically provide this configuration in your EC2 instance's user data, either as-is or embedded within a MIME multi-part document:

MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="BOUNDARY"

--BOUNDARY
Content-Type: application/node.eks.aws

---
apiVersion: node.eks.aws/v1alpha1
kind: NodeConfig
spec: ...

--BOUNDARY--

A different source for the configuration object can be specified with the --config-source flag.

The API reference documentation contains the details of the configuration types.

Directories

Path Synopsis
api
v1alpha1
+kubebuilder:object:generate=true +groupName=node.eks.aws +kubebuilder:validation:Optional
+kubebuilder:object:generate=true +groupName=node.eks.aws +kubebuilder:validation:Optional
cmd
internal
api
+kubebuilder:object:generate=true +groupName=node.eks.aws
+kubebuilder:object:generate=true +groupName=node.eks.aws
api/bridge
Package bridge translates between internal and external API types.
Package bridge translates between internal and external API types.
cli

Jump to

Keyboard shortcuts

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