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

[Proposal] Add replicas/updatedReplicas/availableReplicas/unavailableReplicas to job status #142

Open
mdl-mhy opened this issue Aug 12, 2024 · 0 comments

Comments

@mdl-mhy
Copy link

mdl-mhy commented Aug 12, 2024

It'll be quite useful to add these information to those scalable objects. e.g.,

apiVersion: autoscaling.alibabacloud.com/v1beta1
kind: CronHorizontalPodAutoscaler
metadata:
  name: foo
  namespace: testing
spec:
  jobs:
  - name: job1
    schedule: 0 03 18 * * *
    targetSize: 1
  scaleTargetRef:
    apiVersion: apps/v1
    kind: Deployment
    name: dep1
status:
  conditions:
  - jobId: ee23a447-a173-43eb-a400-77398c4bc0f4
    lastProbeTime: "2024-08-11T10:03:00Z"
    message: xxxx
    name: job1
    runOnce: false
    schedule: 0 03 18 * * *
    state: Succeed
    targetSize: 1
  scaleTargetRef:
    apiVersion: apps/v1
    kind: Deployment
    name: dep1

image

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

No branches or pull requests

1 participant