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

fixup scalability test logs #2239

Merged
merged 2 commits into from
Jun 17, 2021

Conversation

spiffxp
Copy link
Member

@spiffxp spiffxp commented Jun 17, 2021

Part of #1310 (comment)

Followup to #2229

Started by noticing an improper binding in an audit PR #2234 (comment)

Then I noticed we were using a terraform resource that overwrites existing policy, so I added back my best guess for existing policy

Now I'm beginning to think this bucket should actually go live over in kubernetes-public since this is effectively another results bucket

@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Jun 17, 2021
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: spiffxp

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 area/prow Setting up or working with prow in general, prow.k8s.io, prow build clusters sig/testing Categorizes an issue or PR as relevant to SIG Testing. approved Indicates a PR has been approved by an approver from all required OWNERS files. wg/k8s-infra size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jun 17, 2021
@spiffxp
Copy link
Member Author

spiffxp commented Jun 17, 2021

What the bucket looks like

# $ gsutil iam get gs://sig-scalability-logs | yq -y
bindings:
  - members:
      - projectEditor:kubernetes-jenkins
      - projectOwner:kubernetes-jenkins
    role: roles/storage.legacyBucketOwner
  - members:
      - allUsers
    role: roles/storage.legacyBucketReader
  - members:
      - serviceAccount:prow-build@k8s-infra-prow-build.iam.gserviceaccount.com
    role: roles/storage.objectAdmin
etag: CAU

How it's used in kubernetes/test-infra

$ rg sig-scalability-logs
config/jobs/kubernetes/sig-testing/kubetest-canaries.yaml
180:      - --logexporter-gcs-path=gs://sig-scalability-logs/$(JOB_NAME)/$(BUILD_ID)
281:      - --logexporter-gcs-path=gs://sig-scalability-logs/$(JOB_NAME)/$(BUILD_ID)

config/jobs/kubernetes/sig-scalability/sig-scalability-release-blocking-jobs.yaml
46:      - --logexporter-gcs-path=gs://sig-scalability-logs/$(JOB_NAME)/$(BUILD_ID)
129:      - --logexporter-gcs-path=gs://sig-scalability-logs/$(JOB_NAME)/$(BUILD_ID)
215:      - --logexporter-gcs-path=gs://sig-scalability-logs/$(JOB_NAME)/$(BUILD_ID)

So, thoughts:

  • yes, I think this should live in kubernetes-public (until/unless we decide there should be a different GCP project for ~ci generated logs and artifacts across the whole kubernetes project)
  • IMO this should have been hooked up to gcsweb.k8s.io, so we'll do that for both buckets

@spiffxp
Copy link
Member Author

spiffxp commented Jun 17, 2021

I've deployed the changes in adca451 via terraform apply already, so I won't rebase that commit away. I plan on marking this as ready once I've moved over to kubernetes-public.

@spiffxp
Copy link
Member Author

spiffxp commented Jun 17, 2021

/hold
So it's looking like I might not finish this by today, in which case it probably makes more sense to have what is deployed get merged. Removing the WIP label, I'll leave the /hold for @ameukam to decide if it's better to leave this open or not.

But I would rather see a PR to change to gs://k8s-infra-sig-scalability-logs in kubernetes-public before anything else is changed to rely on this bucket as-is.

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jun 17, 2021
@spiffxp spiffxp changed the title [wip] fixup scalability test logs fixup scalability test logs Jun 17, 2021
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jun 17, 2021
@ameukam
Copy link
Member

ameukam commented Jun 17, 2021

/hold
So it's looking like I might not finish this by today, in which case it probably makes more sense to have what is deployed get merged. Removing the WIP label, I'll leave the /hold for @ameukam to decide if it's better to leave this open or not.

But I would rather see a PR to change to gs://k8s-infra-sig-scalability-logs in kubernetes-public before anything else is changed to rely on this bucket as-is.

The bucket is empty and unused for the moment. It can be deleted and recreated in kubernetes-public. I'll take care of that in a followup PR.

@ameukam
Copy link
Member

ameukam commented Jun 17, 2021

/lgtm
/hold cancel

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jun 17, 2021
@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 17, 2021
@k8s-ci-robot k8s-ci-robot merged commit 872f67a into kubernetes:main Jun 17, 2021
@k8s-ci-robot k8s-ci-robot added this to the v1.22 milestone Jun 17, 2021
@spiffxp spiffxp deleted the fixup-scalability-logs branch June 17, 2021 20:01
ameukam added a commit to ameukam/k8s.io that referenced this pull request Jun 17, 2021
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/prow Setting up or working with prow in general, prow.k8s.io, prow build clusters area/terraform Terraform modules, testing them, writing more of them, code in infra/gcp/clusters/ cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. sig/testing Categorizes an issue or PR as relevant to SIG Testing. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants