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 client billing event support #47

Merged
merged 2 commits into from
Feb 2, 2025
Merged

Add client billing event support #47

merged 2 commits into from
Feb 2, 2025

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: Arnob kumar saha <[email protected]>
@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
4 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