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

Don't deploy visibility by default #1746

Merged

Conversation

trasc
Copy link
Contributor

@trasc trasc commented Feb 16, 2024

What type of PR is this?

/kind bug

What this PR does / why we need it:

Don't deploy visibility by default to avoid

E0216 16:57:43.448953  907490 memcache.go:287] couldn't get resource list for visibility.kueue.x-k8s.io/v1alpha1: the server is currently unable to handle the request
E0216 16:57:43.451994  907490 memcache.go:121] couldn't get resource list for visibility.kueue.x-k8s.io/v1alpha1: the server is currently unable to handle the request

in older k8s versions.

Which issue(s) this PR fixes:

Fixes #1519

Special notes for your reviewer:

Does this PR introduce a user-facing change?

Kueue visibility API is no longer installed by default. Users can install it via helm or applying the visibility-api.yaml artifact.

@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. kind/bug Categorizes issue or PR as related to a bug. labels Feb 16, 2024
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Feb 16, 2024
Copy link

netlify bot commented Feb 16, 2024

Deploy Preview for kubernetes-sigs-kueue canceled.

Name Link
🔨 Latest commit e24adfe
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-sigs-kueue/deploys/65d615bd2eddf400083b2563

charts/kueue/values.yaml Outdated Show resolved Hide resolved
@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Feb 19, 2024
charts/kueue/templates/_helpers.tpl Outdated Show resolved Hide resolved
charts/kueue/templates/visibility/apiservice.yaml Outdated Show resolved Hide resolved
Copy link
Contributor

@mimowo mimowo left a comment

Choose a reason for hiding this comment

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

LGTM, just one more nit
/assign @tenzen-y

charts/kueue/templates/_helpers.tpl Outdated Show resolved Hide resolved
Copy link
Member

@tenzen-y tenzen-y left a comment

Choose a reason for hiding this comment

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

Basically lgtm. I confirmed that this should work fine in the following:

# The default values.yaml
$ helm template ./charts/kueue --values ./charts/kueue/values.yaml | grep APIService
# No output
# The default values.yaml with the `VisibilityOnDemand`.
# ...
# controllerManager:
#   featureGates:
#     - name: VisibilityOnDemand
#       enabled: true
# ...
$ helm template ./charts/kueue --values ./charts/kueue/values.yaml | grep -A2 APIService
kind: APIService
metadata:
  name: v1alpha1.visibility.kueue.x-k8s.io

charts/kueue/templates/_helpers.tpl Outdated Show resolved Hide resolved
charts/kueue/templates/_helpers.tpl Outdated Show resolved Hide resolved
charts/kueue/templates/_helpers.tpl Outdated Show resolved Hide resolved
charts/kueue/templates/visibility/apiservice.yaml Outdated Show resolved Hide resolved
charts/kueue/templates/visibility/role_binding.yaml Outdated Show resolved Hide resolved
charts/kueue/templates/visibility/service.yaml Outdated Show resolved Hide resolved
hack/update-helm.sh Outdated Show resolved Hide resolved
@tenzen-y
Copy link
Member

I left lgtm on @mimowo
/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: tenzen-y, trasc

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

The pull request process is described here

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 21, 2024
@tenzen-y
Copy link
Member

/cherry-pick release-0.6

@k8s-infra-cherrypick-robot

@tenzen-y: once the present PR merges, I will cherry-pick it on top of release-0.6 in a new PR and assign it to you.

In response to this:

/cherry-pick release-0.6

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.

@trasc
Copy link
Contributor Author

trasc commented Feb 21, 2024

/test all

@tenzen-y
Copy link
Member

/test all

Prow EKS cluster seems to be down.
https://kubernetes.slack.com/archives/CCK68P2Q2/p1708527057849979

@trasc
Copy link
Contributor Author

trasc commented Feb 21, 2024

/test all

@mimowo
Copy link
Contributor

mimowo commented Feb 22, 2024

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 22, 2024
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: eb12c7c82f19b112c851e3763d4be211594c082c

@k8s-ci-robot k8s-ci-robot merged commit 7ed44be into kubernetes-sigs:main Feb 22, 2024
14 checks passed
@k8s-ci-robot k8s-ci-robot added this to the v0.7 milestone Feb 22, 2024
@k8s-infra-cherrypick-robot

@tenzen-y: new pull request created: #1764

In response to this:

/cherry-pick release-0.6

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.

@alculquicondor
Copy link
Contributor

/release-note-edit

Kueue visibility API is no longer installed by default. Users can install it via helm or applying the visibility-api.yaml artifact.

@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. and removed release-note-none Denotes a PR that doesn't merit a release note. labels Mar 7, 2024
@trasc trasc deleted the visibility-no-default-deployment branch March 12, 2024 08:53
vsoch pushed a commit to researchapps/kueue that referenced this pull request Apr 18, 2024
* Don't deploy visibility by default

* Review Remarks

* Review Remarks

* Review Remarks
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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/bug Categorizes issue or PR as related to a bug. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. 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.

Failed to get resource list for visibility.kueue.x-k8s.io/v1alpha1
6 participants