Applying the AWS ConfigMap to Enable Worker Nodes to Join the Cluster
You must apply the AWS ConfigMap
so that the worker nodes can join your EKS cluster.
- Connect to the bastion host.
- Unpack the file
arcsight-platform-cloud-installer-XX.X.X.XXX.zip
located in the directory/aws-scripts/objectdefs.
- From the unpacked file, open the file
cm-aws-auth.yaml
in any text editor. -
Replace the placeholder
${WORKERS_ROLE_ARN}
with theRole ARN
value from your AWS worksheet, and then save your changes. TheConfigMap
will then resemble the following example:apiVersion: v1 kind: ConfigMap metadata: name: aws-auth namespace: kube-system data: mapRoles: - rolearn: arn:aws:iam::115370811111:role/srgdemo-workernodes-svc-role username: system:node:{{EC2PrivateDNSName}} groups: - system:bootstrappers - system:nodes
-
On the bastion, run the following command:
kubectl apply -f cm-aws-auth.yaml
This command will output:
configmap/aws-auth created.
-
Next Step: Create and Configure Worker Nodes