kompose icon indicating copy to clipboard operation
kompose copied to clipboard

[Feature]: Support HPA configuration

Open AhmedGrati opened this issue 1 year ago • 10 comments

What would you like to be added?

I would like to introduce scalability features, by working on the basic version of the HPA, minReplicas, maxReplicas, cpu, and memory metrics.

Why is this needed?

Make users' life easier when it comes to deploying production-ready applications, using the scalability features.

AhmedGrati avatar Apr 16 '23 22:04 AhmedGrati

@hangyan @cdrage your input is really valuable.

AhmedGrati avatar Apr 16 '23 22:04 AhmedGrati

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot avatar Jul 15 '23 23:07 k8s-triage-robot

/remove-lifecycle stale

AhmedGrati avatar Jul 15 '23 23:07 AhmedGrati

@AhmedGrati I 100% agree on adding this, but is there the Compose equivalent in the spec for this? Or should we throw all of this into labels (like we already do?).

Or even the CLI?

I'm curious what you're thinking

cdrage avatar Jul 17 '23 12:07 cdrage

I'm thinking about labels to customize the HPA configuration at the container level, which offers more customization and flexibility. Do you have other suggestions?

AhmedGrati avatar Jul 17 '23 12:07 AhmedGrati

I was thinking labels too.. As we cannot use deploy section from compose really since it's meant for cloud-based deployment.. The best way would probably just to use labels as we already are able to configure replica size, etc.

cdrage avatar Jul 17 '23 12:07 cdrage

/assign

aiyijing avatar Jul 17 '23 15:07 aiyijing

It‘s easy to implement,but i need to think about it😄

aiyijing avatar Jul 17 '23 15:07 aiyijing

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot avatar Jan 24 '24 17:01 k8s-triage-robot

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle rotten
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

k8s-triage-robot avatar Feb 23 '24 17:02 k8s-triage-robot

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Reopen this issue with /reopen
  • Mark this issue as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/close not-planned

k8s-triage-robot avatar Mar 24 '24 17:03 k8s-triage-robot

@k8s-triage-robot: Closing this issue, marking it as "Not Planned".

In response to this:

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Reopen this issue with /reopen
  • Mark this issue as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/close not-planned

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

k8s-ci-robot avatar Mar 24 '24 17:03 k8s-ci-robot