-
Notifications
You must be signed in to change notification settings - Fork 105
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
redundant configmap patch operations #90
Comments
I suppose kube-mgmt could perform a |
"updates are only sent when there's a watch event..." AFAICT there's a full resync that happens every minute: kube-mgmt/pkg/configmap/configmap.go Line 146 in 191879e
.. which corresponds to the audit logs in my cluster; and the update is hitting the apiserver, even when there are no configmap changes. |
from the
|
ah, @jdef you're right...sorry, it's been a while since I've looked at this code. Feel free to submit a patch if you like. |
I would, but I already have a stack of aging (~1yr) OSS patches that have
yet to clear our legal department. As much as I'd like to patch this myself
in OPA upstream, I'm afraid that I'll be unable to do so until corporate
red tape has cleared.
I would be grateful if someone in the OPA community could spend 15m on this
- thanks!
…On Tue, Mar 16, 2021 at 8:57 AM Torin Sandall ***@***.***> wrote:
ah, @jdef <https://github.com/jdef> you're right...sorry, it's been a
while since I've looked at this code.
Feel free to submit a patch if you like.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#90 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAR5KLB537GCWK7J5IDG24TTD5IT3ANCNFSM4ZEJIXHA>
.
--
James DeFelice
585.241.9488 (voice)
650.649.6071 (fax)
|
/cc @pires |
Was this resolved by a PR? If so, mind linking to it?
…On Sat, May 7, 2022, 1:13 AM Ievgenii Shepeliuk ***@***.***> wrote:
Closed #90 <#90>.
—
Reply to this email directly, view it on GitHub
<#90 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAR5KLG3A35A7NBXM3WCJJ3VIX3WXANCNFSM4ZEJIXHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
The links are just above your comment. |
Heh, thanks. Was looking at the email thread. Should have checked GH
directly
On Sat, May 7, 2022, 10:52 AM Ievgenii Shepeliuk ***@***.***>
wrote:
… Was this resolved by a PR? If so, mind linking to it?
… <#m_9087902201560492211_>
On Sat, May 7, 2022, 1:13 AM Ievgenii Shepeliuk *@*.*> wrote: Closed #90
<#90> <#90
<#90>>. — Reply to
this email directly, view it on GitHub <#90 (comment)
<#90 (comment)>>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAR5KLG3A35A7NBXM3WCJJ3VIX3WXANCNFSM4ZEJIXHA
<https://github.com/notifications/unsubscribe-auth/AAR5KLG3A35A7NBXM3WCJJ3VIX3WXANCNFSM4ZEJIXHA>
. You are receiving this because you were mentioned.Message ID: @.*>
The links are just above your comment.
—
Reply to this email directly, view it on GitHub
<#90 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAR5KLFNW7ZOJMTAPHXZSE3VIZ7TBANCNFSM4ZEJIXHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
kube-mgmt/pkg/configmap/configmap.go
Line 250 in 191879e
there appears to be no check on the configmap annotations here, to only issue a PATCH to apiserver if the desired value is different than the current. i started investigating this because our OPA policies rarely change, yet I see PATCH requests constantly issued to apiserver. this appears to, perhaps, be part of the problem.
The text was updated successfully, but these errors were encountered: