Skip to content

Add client billing event support#47

Merged
tamalsaha merged 2 commits intomasterfrom
clientbill
Feb 2, 2025
Merged

Add client billing event support#47
tamalsaha merged 2 commits intomasterfrom
clientbill

Conversation

@tamalsaha
Copy link
Member

No description provided.

}
podresources := make([]corev1alpha1.ComputeResource, 0, len(podList.Items))
for _, pod := range podList.Items {
pr := corev1alpha1.ComputeResource{
Copy link
Member

Choose a reason for hiding this comment

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

We will need pod uid to track auto scaling pods.

for _, pvc := range pvcList.Items {
if pvc.Status.Phase == core.ClaimBound {
pvcresources = append(pvcresources, corev1alpha1.StorageResource{
Name: pvc.Name,
Copy link
Member

Choose a reason for hiding this comment

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

Also need uid to track pvc with same name.

Copy link
Member

@ArnobKumarSaha ArnobKumarSaha Jan 28, 2025

Choose a reason for hiding this comment

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

We never do pvc deletion from operators. If someone delete it manually, thats seperate thing. So, may be only pod uid is enough

tamalsaha and others added 2 commits February 2, 2025 21:50
Signed-off-by: Tamal Saha <tamal@appscode.com>
Signed-off-by: Arnob kumar saha <arnob@appscode.com>
@tamalsaha tamalsaha marked this pull request as ready for review February 2, 2025 15:50
@tamalsaha tamalsaha merged commit 69870d3 into master Feb 2, 2025
3 checks passed
@tamalsaha tamalsaha deleted the clientbill branch February 2, 2025 15:51
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