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

Use shared informers for secrets, services, and service accounts #14086

Merged
merged 11 commits into from
May 26, 2017

Conversation

smarterclayton
Copy link
Contributor

Consolidate existing informers into shared informers.

The upstream token controller may need mutationcache

[test]

@smarterclayton smarterclayton force-pushed the secret_reuse branch 3 times, most recently from aca19b0 to 123cdd2 Compare May 6, 2017 01:18
// set.
func (c *NamespaceSecurityDefaultsController) allocate(ns *kapi.Namespace) error {
tx := &tx{}
defer tx.Rollback()
Copy link
Contributor

Choose a reason for hiding this comment

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

These defers do not need to run before uid allocation.

@smarterclayton
Copy link
Contributor Author

smarterclayton commented May 6, 2017 via email

@smarterclayton smarterclayton force-pushed the secret_reuse branch 4 times, most recently from 87a9065 to a564213 Compare May 9, 2017 05:15
@smarterclayton
Copy link
Contributor Author

[test]

@smarterclayton
Copy link
Contributor Author

smarterclayton commented May 10, 2017 via email

@stevekuznetsov
Copy link
Contributor

@smarterclayton #14122 re[test]

@smarterclayton
Copy link
Contributor Author

[test] super happy that this is mostly going green

@smarterclayton
Copy link
Contributor Author

smarterclayton commented May 11, 2017 via email

@smarterclayton
Copy link
Contributor Author

smarterclayton commented May 12, 2017 via email

@smarterclayton
Copy link
Contributor Author

smarterclayton commented May 12, 2017 via email

@smarterclayton
Copy link
Contributor Author

smarterclayton commented May 12, 2017 via email

@deads2k
Copy link
Contributor

deads2k commented May 12, 2017

Can I simply port EtcdMutationCache upstream and replace this?

Yes

@smarterclayton
Copy link
Contributor Author

smarterclayton commented May 12, 2017 via email

@smarterclayton smarterclayton force-pushed the secret_reuse branch 4 times, most recently from 63931d7 to 4473de2 Compare May 14, 2017 00:59
@smarterclayton
Copy link
Contributor Author

[test] various weirdnesses

@smarterclayton
Copy link
Contributor Author

smarterclayton commented May 14, 2017 via email

@openshift-bot openshift-bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label May 17, 2017
@smarterclayton
Copy link
Contributor Author

[test]

k8s-github-robot pushed a commit to kubernetes/kubernetes that referenced this pull request May 21, 2017
Automatic merge from submit-queue

Move the remaining controllers to shared informers

Completes work done in 1.6 to move the last two hold outs to shared informers - tokens controller and scheduler. Adds a few more tools to allow informer reuse (like filtering the informer, or maintaining a mutation cache).

The mutation cache is identical to #45838 and will be removed when that merges

@ncdc @deads2k extracted from openshift/origin#14086
@smarterclayton
Copy link
Contributor Author

[test]

@smarterclayton
Copy link
Contributor Author

smarterclayton commented May 24, 2017 via email

@smarterclayton
Copy link
Contributor Author

Going to split into upstream stuff and downstream stuff.

@smarterclayton
Copy link
Contributor Author

verbal lgtm from david, putting this in the queue to close the p0 memory regression in 3.6

[merge][severity: blocker]

@openshift-bot
Copy link
Contributor

Evaluated for origin merge up to 2695251

@smarterclayton
Copy link
Contributor Author

[test]

@smarterclayton
Copy link
Contributor Author

[test] boltdb panic

@openshift-bot
Copy link
Contributor

Evaluated for origin test up to 2695251

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin/1761/) (Base Commit: 39be52c)

@openshift-bot
Copy link
Contributor

openshift-bot commented May 26, 2017

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_request_origin/811/) (Base Commit: 69de7d3) (Extended Tests: blocker) (Image: devenv-rhel7_6275)

@openshift-bot openshift-bot merged commit 77cd0d1 into openshift:master May 26, 2017
akhilerm pushed a commit to akhilerm/apimachinery that referenced this pull request Sep 20, 2022
Automatic merge from submit-queue

Move the remaining controllers to shared informers

Completes work done in 1.6 to move the last two hold outs to shared informers - tokens controller and scheduler. Adds a few more tools to allow informer reuse (like filtering the informer, or maintaining a mutation cache).

The mutation cache is identical to #45838 and will be removed when that merges

@ncdc @deads2k extracted from openshift/origin#14086

Kubernetes-commit: 336fb2f508a62514a7d3744c46543db816277c3a
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.

6 participants