Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

github push hook causes kubectl to be run constantly #930

Closed
rade opened this issue Feb 5, 2018 · 2 comments
Closed

github push hook causes kubectl to be run constantly #930

rade opened this issue Feb 5, 2018 · 2 comments
Labels

Comments

@rade
Copy link
Contributor

rade commented Feb 5, 2018

Extracted from #926...

In the weaveworks sock shop cluster I observed fluxd running kubectl every few seconds. See #926 (comment)

@squaremo discovered that there was a github hook configured, and removing that stopped this behaviour.

What's puzzling here is that the underlying repo receives just ~1 commit a day, so the hook should not be triggered frequently.

One theory here is that flux is doing some git tagging when sync'ing, and that in turn is triggering the hook, which in turn would trigger more sync'ing.

@rade rade added the bug label Feb 5, 2018
@squaremo
Copy link
Member

squaremo commented Feb 5, 2018

One theory here is that flux is doing some git tagging when sync'ing, and that in turn is triggering the hook, which in turn would trigger more sync'ing.

Maybe, but the daemon doesn't attempt to push a new tag unless the head commit has changed, and I'd expect it to log that it was doing so. Maybe there's some corner case for this particular repo; one could try installing the hook for a fresh flux-example to see if it happens there too.

@squaremo
Copy link
Member

squaremo commented Feb 5, 2018

Also: this really belongs as a bug against the service, not here.

@rade rade closed this as completed Feb 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants