apiVersion: bootstrap.cluster.x-k8s.io/v1beta1 kind: KubeadmConfigTemplate metadata: name: test-md-0-template-1234567890000 namespace: eksa-system spec: template: spec: joinConfiguration: nodeRegistration: criSocket: /var/run/containerd/containerd.sock taints: [] kubeletExtraArgs: eviction-hard: nodefs.available<0%,nodefs.inodesFree<0%,imagefs.available<0% cgroup-driver: cgroupfs tls-cipher-suites: TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 files: - content: | [plugins."io.containerd.grpc.v1.cri".registry.mirrors] [plugins."io.containerd.grpc.v1.cri".registry.mirrors."public.ecr.aws"] endpoint = ["https://1.2.3.4:1234/v2/eks-anywhere"] owner: root:root path: "/etc/containerd/config_append.toml" preKubeadmCommands: - cat /etc/containerd/config_append.toml >> /etc/containerd/config.toml - systemctl daemon-reload - systemctl restart containerd --- apiVersion: cluster.x-k8s.io/v1beta1 kind: MachineDeployment metadata: name: test-md-0 namespace: eksa-system spec: clusterName: test replicas: 3 selector: matchLabels: null template: spec: bootstrap: configRef: apiVersion: bootstrap.cluster.x-k8s.io/v1beta1 kind: KubeadmConfigTemplate name: test-md-0-template-1234567890000 namespace: eksa-system clusterName: test infrastructureRef: apiVersion: infrastructure.cluster.x-k8s.io/v1beta1 kind: DockerMachineTemplate name: test-md-0-1234567890000 namespace: eksa-system version: v1.21.2-eks-1-21-4 --- apiVersion: infrastructure.cluster.x-k8s.io/v1beta1 kind: DockerMachineTemplate metadata: name: test-md-0-1234567890000 namespace: eksa-system spec: template: spec: extraMounts: - containerPath: /var/run/docker.sock hostPath: /var/run/docker.sock customImage: public.ecr.aws/l0g8r8j6/kubernetes-sigs/kind/node:v1.21.2-eks-d-1-21-4-eks-a-v0.0.0-dev-build.158 ---