Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add block mappings to customize volume size #67

Merged
merged 8 commits into from
Jun 23, 2023

Conversation

thepoppingone
Copy link
Contributor

@thepoppingone thepoppingone commented Jun 21, 2023

Current default for bottlerocket is
https://karpenter.sh/v0.27/concepts/node-templates/#bottlerocket

apiVersion: karpenter.k8s.aws/v1alpha1
kind: AWSNodeTemplate
spec:
  blockDeviceMappings:
    # Root device
    - deviceName: /dev/xvda
      ebs:
        volumeSize: 4Gi
        volumeType: gp3
        encrypted: true
    # Data device: Container resources such as images and logs
    - deviceName: /dev/xvdb
      ebs:
        volumeSize: 20Gi
        volumeType: gp3
        encrypted: true

Which is insufficient for some workloads

Copy link
Contributor

@shisheng10 shisheng10 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@thepoppingone thepoppingone merged commit 7b4bcfd into main Jun 23, 2023
5 checks passed
@thepoppingone thepoppingone deleted the add-block-device-mappings branch July 1, 2023 02:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants