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 new bottlerocket settings for Kubernetes settings support #31

Merged

Conversation

mitalipaygude
Copy link
Collaborator

@mitalipaygude mitalipaygude commented Jun 1, 2024

What this PR does / why we need it:
Adds support for configuring the following Kubernetes settings on Bottlerocket. All settings that Bottlerocket offers here for Kubelet Configuration are added in this PR (except for serverTLSBootstrap).

   bottlerocket:
      kubernetes:
        clusterDomain: "cluster.local"
        containerLogMaxFiles: 10000
.
.
.
.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

@mitalipaygude mitalipaygude changed the title Add br settings ✨ Add new bottlerocket settings for Kubernetes settings support Jun 4, 2024
@mitalipaygude mitalipaygude force-pushed the add_br_settings branch 3 times, most recently from 6a15c09 to 5cf793f Compare June 10, 2024 18:20
@@ -5,7 +5,11 @@ package bottlerocket
const (
kubernetesInitTemplate = `{{ define "kubernetesInitSettings" -}}
[settings.kubernetes]
Copy link
Collaborator

Choose a reason for hiding this comment

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

this is getting difficult to follow
Could we explore the option to use structs and marshal them to toml?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@abhay-krishna
Copy link
Owner

/lgtm
/approve

@abhay-krishna abhay-krishna merged commit 1875473 into abhay-krishna:eks-a-release-1.6 Jun 11, 2024
6 of 7 checks passed
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.

3 participants