-
Notifications
You must be signed in to change notification settings - Fork 4.7k
[WIP] kubetest2-kops: use ephemeral discovery store for AWS #17520
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
base: master
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@@ -70,6 +70,9 @@ func (d *deployer) Up() error { | |||
if err := d.aws.EnsureS3Bucket(ctx, d.stateStore(), false); err != nil { | |||
return err | |||
} | |||
if err := d.aws.EnsureS3Bucket(ctx, d.discoveryStore(), false); err != nil { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we want to make them public ? cc @rifelpet
if err := d.aws.EnsureS3Bucket(ctx, d.discoveryStore(), false); err != nil { | |
if err := d.aws.EnsureS3Bucket(ctx, d.discoveryStore(), true); err != nil { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The existing bucket (s3://k8s-kops-ci-prow
) is public, but I'm not sure if that's because it's required by tests or because we want boskos accounts to be able to read from this bucket. Also, do we need to migrate existing data from there?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIRC, It's a requirement for the tests and I don't think we need to migrate any data.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I confirm, data is irrelevant. If this is the discovery bucket, we need it to be public, or put CloudFront in front of it.
/test pull-kops-e2e-k8s-aws-cilium-1-33 |
/test pull-kops-aws-distro-al2023 |
@hakman The current state of CI don't prevent us to validate some aspects of the PR: :-P I0728 12:16:03.905852 16831 s3.go:127] Bucket k8s-infra-kops-state-4d6a-20250728120558 created successfully
I0728 12:16:04.427119 16831 s3.go:127] Bucket k8s-infra-kops-discovery-4d6a-20250728121603 created successfully Deleted cluster: "presubmit.test-cncf-aws.k8s.io"
I0728 12:19:33.040823 16831 s3.go:173] Bucket k8s-infra-kops-state-4d6a-20250728120558 deleted
I0728 12:19:33.294451 16831 s3.go:173] Bucket k8s-infra-kops-discovery-4d6a-20250728121603 deleted |
/test all |
f221500
to
6d03c5a
Compare
6d03c5a
to
76657d3
Compare
/test pull-kops-aws-distro-al2023 |
/test presubmit-kops-aws-boskos |
@xmudrii: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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-sigs/prow repository. I understand the commands that are listed here. |
Signed-off-by: Marko Mudrinić <[email protected]>
76657d3
to
826b8a1
Compare
/test pull-kops-aws-distro-al2023 |
This PR is a follow up on kubernetes/k8s.io#5127 to use an ephemeral discovery store/S3 bucket instead of a static one (
s3://k8s-kops-ci-prow
).Related to kubernetes/k8s.io#5127
cc @ameukam