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

[Umbrella issue] Building AWS infrastructure for registry.k8s.io #3568

Closed
3 of 4 tasks
ameukam opened this issue Mar 30, 2022 · 18 comments
Closed
3 of 4 tasks

[Umbrella issue] Building AWS infrastructure for registry.k8s.io #3568

ameukam opened this issue Mar 30, 2022 · 18 comments
Labels
area/artifacts Issues or PRs related to the hosting of release artifacts for subprojects area/infra Infrastructure management, infrastructure design, code in infra/ area/release-eng Issues or PRs related to the Release Engineering subproject kind/feature Categorizes issue or PR as related to a new feature. sig/k8s-infra Categorizes an issue or PR as relevant to SIG K8s Infra. sig/release Categorizes an issue or PR as relevant to SIG Release.
Milestone

Comments

@ameukam
Copy link
Member

ameukam commented Mar 30, 2022

Part of:

Follow up of:

Following AWS folx: kubernetes/registry.k8s.io#22 (comment).

The AWS infrastructure will mainly serve as a hosting environment for image layers of the container images produced by the Kubernetes Project. We should:

@ameukam ameukam added the sig/k8s-infra Categorizes an issue or PR as relevant to SIG K8s Infra. label Mar 30, 2022
@ameukam
Copy link
Member Author

ameukam commented Mar 31, 2022

cc @dims @jaypipes

cc @kubernetes/release-engineering

/kind feature
/area artifacts
/area infra
/area release-eng
/sig release

/milestone v1.24

@k8s-ci-robot k8s-ci-robot added kind/feature Categorizes issue or PR as related to a new feature. area/artifacts Issues or PRs related to the hosting of release artifacts for subprojects labels Mar 31, 2022
@k8s-ci-robot k8s-ci-robot added this to the v1.24 milestone Mar 31, 2022
@k8s-ci-robot k8s-ci-robot added area/infra Infrastructure management, infrastructure design, code in infra/ area/release-eng Issues or PRs related to the Release Engineering subproject sig/release Categorizes an issue or PR as relevant to SIG Release. labels Mar 31, 2022
@hh
Copy link
Member

hh commented Mar 31, 2022

Closing #3541 in favour of this new ticket.

but bringing some of the conversation forward:

Is there an agreed upon naming scheme?

I know that @eddiezane had reserved some buckets at some point @jaypipes. Might look into that, and how we might extend it to have -REGION or similar.

@hh
Copy link
Member

hh commented Mar 31, 2022

From the #k8s-infra-meeting yesterday:

AI : Create iam-role / CNCF specific for publication, the only thing with write permissions to these buckets. k8s-infra-writer

@ameukam
Copy link
Member Author

ameukam commented Apr 7, 2022

IMHO we should try to follow some aspects of the infrastructure created for @kubernetes/release-engineering: https://github.com/kubernetes/sig-release/blob/master/release-engineering/gcp.md #release-engineering .

  • Reuse the created account where we will do active development taking into consideration Copy images to AWS regions kubernetes-sigs/promo-tools#533 and can optionally be leveraged for e2e testing. It is not necessary to create one bucket per region; a single bucket per continent (asia, eu, us) would be enough for now.
  • Create a new production-only AWS account with only the buckets, roles, and groups required to host the container images. Only AWS organization administrators should access this account.

@riaankleinhans
Copy link
Contributor

riaankleinhans commented Apr 8, 2022

This PR address the teraform of S3 buckets:
#3605

@hh
Copy link
Member

hh commented Apr 11, 2022

I thought Jay had decided on a list of about 10 regions?

Also, let's ensure we put forward a similar document to https://github.com/kubernetes/sig-release/blob/master/release-engineering/gcp.md #release-engineering in the coming weeks.

@riaankleinhans
Copy link
Contributor

Correct determine which AWS regions should serve the image layers #38
The following regions should serve the image layers:

  • us-west-2
  • eu-west-1
  • us-east-1
  • eu-central-1
  • us-east-2
  • ap-southeast-1
  • us-west-1
  • ap-northeast-1
  • ap-south-1

@ameukam
Copy link
Member Author

ameukam commented May 12, 2022

/milestone v1.25

@k8s-ci-robot k8s-ci-robot modified the milestones: v1.24, v1.25 May 12, 2022
@ameukam
Copy link
Member Author

ameukam commented Aug 19, 2022

/milestone v.126

@k8s-ci-robot
Copy link
Contributor

@ameukam: The provided milestone is not valid for this repository. Milestones in this repository: [v1.24, v1.25, v1.26]

Use /milestone clear to clear the milestone.

In response to this:

/milestone v.126

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.

@ameukam
Copy link
Member Author

ameukam commented Aug 19, 2022

/milestone v1.26

@k8s-ci-robot k8s-ci-robot modified the milestones: v1.25, v1.26 Aug 19, 2022
@k8s-triage-robot
Copy link

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

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

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

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Nov 17, 2022
@ameukam
Copy link
Member Author

ameukam commented Nov 18, 2022

/remove-lifecycle rotten
/milestone v1.27

@k8s-ci-robot k8s-ci-robot removed this from the v1.26 milestone Nov 18, 2022
@k8s-ci-robot k8s-ci-robot added this to the v1.27 milestone Nov 18, 2022
@ameukam
Copy link
Member Author

ameukam commented Nov 18, 2022

/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Nov 18, 2022
@BobyMCbobs
Copy link
Member

[ ] Create a IAM role with permissions to write to the buckets

@ameukam, this was completed some time ago
cncf-infra/aws-infra#10

[ ] Create a user with access keys using the IAM role

we are using federated identity for authenticating
cncf-infra/aws-infra#15

@riaankleinhans
Copy link
Contributor

riaankleinhans commented Nov 20, 2022

Thanks @BobyMCbobs
@ameukam look like this is done. Should we close the issue or are there more TOD's to add to the issue?

@ameukam
Copy link
Member Author

ameukam commented Nov 25, 2022

/close

@k8s-ci-robot
Copy link
Contributor

@ameukam: Closing this issue.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/artifacts Issues or PRs related to the hosting of release artifacts for subprojects area/infra Infrastructure management, infrastructure design, code in infra/ area/release-eng Issues or PRs related to the Release Engineering subproject kind/feature Categorizes issue or PR as related to a new feature. sig/k8s-infra Categorizes an issue or PR as relevant to SIG K8s Infra. sig/release Categorizes an issue or PR as relevant to SIG Release.
Projects
Development

No branches or pull requests

6 participants