kubernetes / k8s.io

Code and configuration to manage Kubernetes project infrastructure, including various *.k8s.io sites
https://git.k8s.io/community/sig-k8s-infra
Apache License 2.0
690 stars 785 forks source link

AWS: migrate kOps away from CNCF account #5127

Open ameukam opened 1 year ago

ameukam commented 1 year ago

All kOps e2e tests currently run under the CNCF management account.

There should be migrated to the AWS Kubernetes organization or any community infrastructure.

Phase 1: Periodics jobs We should start with the periodics and migrate them on those build clusters:

It's not trivial to identify how a job belongs to a specific build cluster so they will be multiple tentatives

Phase 2: Presubmits & Postsubmits Once we have confidence that the periodics can run on the community infrastructure we can follow up with presubmits and postsubmits.

/assign @ameukam @justinsb /area aws /area infra/aws /priority important-soon /milestone v1.28

k8s-ci-robot commented 1 year ago

@ameukam: The label(s) area/aws cannot be applied, because the repository doesn't have them.

In response to [this](https://github.com/kubernetes/k8s.io/issues/5127): >All kOps e2e tests currently run under the CNCF management account. > >There should be migrated to the AWS Kubernetes organization. > >/assign @ameukam @justinsb >/area aws >/area infra/aws >/priority important-soon >/milestone v1.28 Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
ameukam commented 1 year ago

cc @jeefy

k8s-triage-robot commented 12 months ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

ameukam commented 12 months ago

/remove-lifecycle stale

ameukam commented 10 months ago

/milestone v1.29

ameukam commented 7 months ago

/milestone v1.30

ameukam commented 7 months ago

A public bucket is needed otherwise we will get:

error writing s3://k8s-kops-ci-prow-sandbox/discovery/e2e-kops-eks-sandbox-cilium-deb12.tests-kops-aws.k8s.io/.well-known/openid-configuration (with ACL="public-read"): AccessDenied: Access Denied

I created a new one with the aws cli using: https://kops.sigs.k8s.io/getting_started/aws/#cluster-oidc-store

$aws s3api create-bucket \
    --bucket k8s-kops-ci-prow-sandbox \
    --region us-east-2 \
    --object-ownership BucketOwnerPreferred \
    --create-bucket-configuration LocationConstraint=us-east-2
$aws s3api put-public-access-block \
    --bucket k8s-kops-ci-prow-sandbox \
    --public-access-block-configuration BlockPublicAcls=false,IgnorePublicAcls=false,BlockPublicPolicy=false,RestrictPublicBuckets=false
$aws s3api put-bucket-acl \
    --bucket k8s-kops-ci-prow-sandbox \
    --acl public-read
ameukam commented 2 months ago

/milestone v1.31