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

Backport upstream changes to watch cache enablement #16398

Merged
merged 3 commits into from
Sep 26, 2017

Commits on Sep 18, 2017

  1. UPSTREAM: 52112: Allow watch cache disablement per type

    Backport the change that allows a global default watch cache size as
    well as being able to disable an individual watch cache item
    smarterclayton committed Sep 18, 2017
    Configuration menu
    Copy the full SHA
    25e81b6 View commit details
    Browse the repository at this point in the history
  2. React to changes in watch cache initialization

    Remove some complexity in RESTOptionsGetter and add default watch cache
    sizes for resources that are read by nodes.
    smarterclayton committed Sep 18, 2017
    Configuration menu
    Copy the full SHA
    929dc82 View commit details
    Browse the repository at this point in the history
  3. Disable the watch cache for most resources by default

    Any resource named by the heuristics gets a watch cache by default.
    Admins can restore the previous behavior by setting
    `--default-watch-cache-size` to a positive integer. This reduces the
    amount of total memory allocated on large cluster significantly at minor
    cost in CPU on the etcd process and an increase in network bandwidth to
    etcd.
    smarterclayton committed Sep 18, 2017
    Configuration menu
    Copy the full SHA
    01aeb23 View commit details
    Browse the repository at this point in the history