Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
ebeaty-cisco committed Dec 5, 2024
1 parent 2c55e58 commit a21578a
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion modules/aws/node/templates/user-data.tftpl
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="BOUNDARY"

--BOUNDARY
Content-Type: text/x-shellscript; charset="us-ascii"

#!/bin/bash
%{~ if xrd_bootstrap }
HUGEPAGES_GB=${hugepages_gb} ISOLATED_CORES=${isolated_cores} /etc/xrd/bootstrap.sh
%{~ endif }
${additional_user_data}

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

---
apiVersion: node.eks.aws/v1alpha1
kind: NodeConfig
Expand All @@ -13,4 +28,6 @@ spec:
%{~ for flag in kubelet_flags }
- ${flag}
%{~ endfor }
%{~ endif }
%{~ endif }

--BOUNDARY--

0 comments on commit a21578a

Please sign in to comment.