forked from moby/buildkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs/rootless: use Bottlerocket's API configurations
Bottlerocket favors API configurations instead of manual calls to configure sysctl knobs Signed-off-by: Arnaldo Garcia Rincon <[email protected]>
- Loading branch information
1 parent
deba876
commit bb2f10d
Showing
2 changed files
with
32 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
apiVersion: eksctl.io/v1alpha5 | ||
kind: ClusterConfig | ||
|
||
metadata: | ||
name: bottlerocket | ||
region: us-west-2 | ||
version: '1.27' | ||
|
||
nodeGroups: | ||
- name: buildkit | ||
desiredCapacity: 1 | ||
amiFamily: Bottlerocket | ||
iam: | ||
attachPolicyARNs: | ||
- arn:aws:iam::aws:policy/AmazonEKSWorkerNodePolicy | ||
- arn:aws:iam::aws:policy/AmazonEKS_CNI_Policy | ||
- arn:aws:iam::aws:policy/AmazonEC2ContainerRegistryReadOnly | ||
- arn:aws:iam::aws:policy/AmazonSSMManagedInstanceCore | ||
bottlerocket: | ||
settings: | ||
kernel: | ||
sysctl: | ||
# Adjust the value as needed | ||
"user.max_user_namespace": "16384" |