Skip to content

Investigate the use of CRD sub-resources. #643

Closed

Description

@mattmoor

IIRC K8s 1.10 added support for "status" sub-resources in CRDs.

There are a variety of places this is useful to us, including updateStatus in each of the controllers, and (likely) the validation logic in the webhook.

Let's scout this functionality in M4, and if useful adopt.

See also this issue, which tracks a 1.10 update.

Activity

  1. added
    kind/feature
    area/API
    on Apr 13, 2018
  2. added this to the milestone on Apr 13, 2018
  3. grantr commented on Apr 13, 2018

    @grantr
    Contributor

    I also think the Scale sub-resource would be a useful addition to revisions as a standard way for autoscalers to effect scaling. This gives the revision controller the option of modifying or ignoring the request, unlike the alternative of autoscaling the deployment directly.

  4. mattmoor commented on Apr 13, 2018

    @mattmoor
    ContributorAuthor

    Yes perhaps, although I'm not sure the form that takes is appropriate for us?

    I think the payload is a single integer (foggy recollection of things people told me), which feels like the kind of thing we have been avoiding in the spec, since that feels like "how many servers" and we're after "serverless".

    That said, I could see this being useful to force Reserve -> Active with some minimum "concurrent request" capacity in anticipation of load spikes beyond our capacity to hyperscale up (e.g. if more cluster capacity is needed).

    cc @josephburnett for this discussion, but let's track that with a separate issue since it involves a bit of design and specification.

  5. grantr commented on Apr 13, 2018

    @grantr
    Contributor

    It's less about users and more about implementors of autoscaling strategies. But you're right, off-topic, plus @josephburnett is out until Tuesday and I don't want to start any official discussions without him. 😃 This document in the team drive has more details if anyone is interested.

  6. mattmoor commented on Apr 17, 2018

    @mattmoor
    ContributorAuthor

    /assign @grantr

  7. modified the milestones: , on Apr 18, 2018
  8. mattmoor commented on Apr 18, 2018

    @mattmoor
    ContributorAuthor

    Moving to M5, since the GKE 1.10 alpha clusters have been showing some issues. I don't think the importance of this has diminished, but I'm less optimistic that we'll be able to make the switch to 1.10 smoothly in M4.

  9. mattmoor commented on May 24, 2018

    @mattmoor
    ContributorAuthor

    /assign @dprotaso @bsnchan

    Since they have a PR. I believe this is blocked on 1.10, which is coming in hot for M5 (it is GA in GKE, but some of our monitoring stuff has issues with it). I'm not particularly optimistic that this will land.

  10. removed this from the milestone on May 24, 2018
  11. 25 remaining items

  12. mattmoor commented on Mar 19, 2019

    @mattmoor
    ContributorAuthor

    /milestone Serving 0.6
    PRs for 0.5 scope are in 0.5 now, so moving this to 0.6 to track remaining work.

  13. mattmoor commented on Apr 26, 2019

    @mattmoor
    ContributorAuthor

    @dprotaso Do you plan to do the 0.6 portion of this?

  14. dprotaso commented on Apr 29, 2019

    @dprotaso
    Member

    @dprotaso Do you plan to do the 0.6 portion of this?

    Oh yeah

  15. dprotaso commented on May 6, 2019

    @dprotaso
    Member

    /close

  16. knative-prow-robot commented on May 6, 2019

    @knative-prow-robot
    Contributor

    @dprotaso: Closing this issue.

    Details

    In response to this:

    /close

    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.

  17. dprotaso commented on May 6, 2019

    @dprotaso
    Member

    it is done.

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

Metadata

Metadata

Assignees

Labels

area/APIkind/feature

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions