-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
} | ||
podresources := make([]corev1alpha1.ComputeResource, 0, len(podList.Items)) | ||
for _, pod := range podList.Items { | ||
pr := corev1alpha1.ComputeResource{ |
There was a problem hiding this comment.
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, |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
Signed-off-by: Tamal Saha <[email protected]>
Signed-off-by: Arnob kumar saha <[email protected]>
No description provided.