Skip to content

Commit b664cb2

Browse files
authored
docs: add Bottlerocket section to rootless Podman
1 parent f825477 commit b664cb2

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

docs/admin/templates/extending-templates/docker-in-workspaces.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,24 @@ Before using Podman, please review the following documentation:
266266
> For more information around the requirements of rootless podman pods, see:
267267
> [How to run Podman inside of Kubernetes](https://www.redhat.com/sysadmin/podman-inside-kubernetes)
268268
269+
### Bottlerocket
270+
To use rootless Podman on [Bottlerocket](https://github.com/bottlerocket-os/bottlerocket) nodes requires enabling user namespaces on the node
271+
> [Github.com: Bottlerocket user namespace discussion](https://github.com/bottlerocket-os/bottlerocket/discussions/3318)
272+
273+
You can set this in the user data on the node. If using EKS with Karpenter you can set it in the EC2NodeClass like this:
274+
275+
```yaml
276+
apiVersion: karpenter.k8s.aws/v1
277+
kind: EC2NodeClass
278+
metadata:
279+
name: default
280+
spec:
281+
# ...
282+
userData: |
283+
[settings.kernel]
284+
sysctl = { "user.max_user_namespaces" = "65536" }
285+
```
286+
269287
## Privileged sidecar container
270288
271289
A

0 commit comments

Comments
 (0)