Skip to content

Watch the api configmap for the configuration and labeler - #8850

Merged
knative-prow-robot merged 2 commits into
knative:masterfrom
whaught:sync-configmap
Jul 31, 2020
Merged

knative-prow-robot merged 2 commits into
knative:masterfrom
whaught:sync-configmap

Conversation

@whaught

@whaught whaught commented Jul 30, 2020

Copy link
Copy Markdown
Contributor

Issue #8208

Proposed Changes

  • This allows the map of feature flags to get changes dynamically in these respective controllers.

@googlebot googlebot added the cla: yes Indicates the PR's author has signed the CLA. label Jul 30, 2020
@knative-prow-robot knative-prow-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jul 30, 2020

@knative-prow-robot knative-prow-robot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@whaught: 0 warnings.

Details

In response to this:

Issue #8208

Proposed Changes

  • This allows the map of feature flags to get changes dynamically in these respective controllers.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@whaught

whaught commented Jul 30, 2020

Copy link
Copy Markdown
Contributor Author

Question: How can a single controller watch more than one configMap store? This one bundles features, defaults, and autoscaling, but we will need GC to watch it along with the GC config. The Configuration reconciler doesn't have its own config, but does this preclude it in the future? Do we really even need changes to defaults/autoscaling which aren't used here?

@knative-prow-robot knative-prow-robot added the area/API API objects and controllers label Jul 30, 2020
@whaught

whaught commented Jul 30, 2020

Copy link
Copy Markdown
Contributor Author

/assign @vagababov @dprotaso

@vagababov vagababov left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

/lgtm
/approve

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 31, 2020
@knative-prow-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: vagababov, whaught

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow-robot knative-prow-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 31, 2020
@knative-test-reporter-robot

Copy link
Copy Markdown

The following jobs failed:

Test name Triggers Retries
pull-knative-serving-integration-tests 2020-07-31 01:57:44.795 +0000 UTC 1/3

Automatically retrying due to test flakiness...
/test pull-knative-serving-integration-tests

@knative-prow-robot
knative-prow-robot merged commit 41151a7 into knative:master Jul 31, 2020
@dprotaso

Copy link
Copy Markdown
Member

Question: How can a single controller watch more than one configMap store?

Given the framework looks like you'll need to some 'multi-store' shim that conforms to
https://github.com/knative/pkg/blob/d93ce78496d52cd7ae4f6af5f9ec0303080cf5d8/reconciler/configstore.go#L22-L25

This one bundles features, defaults, and autoscaling, but we will need GC to watch it along with the GC config. The Configuration reconciler doesn't have its own config, but does this preclude it in the future? Do we really even need changes to defaults/autoscaling which aren't used here?

We could start cleaning this up by splitting up the stores if we have that shim. Then each controller pics the stores it needs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. area/API API objects and controllers cla: yes Indicates the PR's author has signed the CLA. lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants