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

allow additional overrides #10

Open
sgarlick987 opened this issue Dec 4, 2024 · 1 comment
Open

allow additional overrides #10

sgarlick987 opened this issue Dec 4, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@sgarlick987
Copy link

Hi, I had a use case around overriding some additional config when duplicating pods.

The background is that we currently use kubectl debug --copy-from for creating rails consoles for engineers to debug with instead of asking them to exec into running pods which may cause disruption if they use more resources than allocated. Our setup specifically has a deployment of one replica that is running a idle rails console, which engineers then copy from when wanting to get into a console and debug. This has a few problems.

  1. Since deployments don't support restartPolicy Never when the engineer exits their debug pod it restarts and continues to run after they've finished.
  2. Since the pod they clone from is idle, we want to keep its resource usage set as low as possible, but currently it has to be set to a reasonable amount of memory for them to work with

Would being able to override good additions to duplik8s? Thanks.

@Telemaco019 Telemaco019 added the enhancement New feature or request label Dec 14, 2024
@Telemaco019
Copy link
Owner

Hi @sgarlick987, thanks for the feedback! Good idea, being able to override the spec of the duplicate Pod does sound useful. I’ll take a look into it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants