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

platform: add Akamai to the tested platforms #567

Merged
merged 8 commits into from
Dec 12, 2024

Conversation

tormath1
Copy link
Contributor

@tormath1 tormath1 commented Nov 28, 2024

In this PR we add Akamai to the Mantle tested platforms.

How to use

# set the token and get an image
AKAMAI_TOKEN=...
wget https://beta.release.flatcar-linux.net/amd64-usr/current/flatcar_production_akamai_image.bin.gz

# upload the image
AKAMAI_IMAGE_ID=$(./bin/ore akamai --akamai-token "${AKAMAI_TOKEN}" \
  create-image --file ./flatcar_production_akamai_image.bin.gz --name my-image
)
2024-12-03 10:18:32.495823 I | platform/api/akamai: Uploading image file: flatcar_production_akamai_image.bin.gz
2024-12-03 10:19:19.293890 I | platform/api/akamai: Image uploaded with ID: private/28753425 - waiting to be ready

# run the test
./bin/kola \
  --board=amd64-usr \
  --parallel 1 \
  --platform akamai \
  --akamai-token "${AKAMAI_TOKEN}" \
  --akamai-image "${AKAMAI_IMAGE_ID}" \
  --akamai-region "us-ord" \
  --akamai-type g6-standard-2
  run \
  --keys --key /home/tormath1/.ssh/id_rsa.pub \
  kubeadm.v1.31.0.flannel.base
=== RUN   kubeadm.v1.31.0.flannel.base
=== RUN   kubeadm.v1.31.0.flannel.base/node_readiness
=== RUN   kubeadm.v1.31.0.flannel.base/nginx_deployment
=== RUN   kubeadm.v1.31.0.flannel.base/NFS_deployment
--- PASS: kubeadm.v1.31.0.flannel.base (395.45s)
    --- PASS: kubeadm.v1.31.0.flannel.base/node_readiness (8.52s)
    --- PASS: kubeadm.v1.31.0.flannel.base/nginx_deployment (9.86s)
    --- PASS: kubeadm.v1.31.0.flannel.base/NFS_deployment (21.86s)
PASS, output in _kola_temp/akamai-2024-12-03-1100-78885

NOTE

The garbage collection is not yet fully functional: the filtering on the image does not work (it returns all the images), it has been raised on the Akamai side.

@tormath1 tormath1 self-assigned this Nov 28, 2024
@tormath1 tormath1 force-pushed the tormath1/akamai branch 3 times, most recently from d5d4bd0 to dfb631d Compare December 3, 2024 10:58
@tormath1 tormath1 marked this pull request as ready for review December 3, 2024 10:59
@tormath1 tormath1 requested a review from a team December 3, 2024 11:00
cmd/ore/akamai/akamai.go Outdated Show resolved Hide resolved
platform/api/akamai/instance.go Show resolved Hide resolved
Signed-off-by: Mathieu Tortuyaux <[email protected]>
Signed-off-by: Mathieu Tortuyaux <[email protected]>
Signed-off-by: Mathieu Tortuyaux <[email protected]>
Signed-off-by: Mathieu Tortuyaux <[email protected]>
Signed-off-by: Mathieu Tortuyaux <[email protected]>
This does not work on Akamai.

Signed-off-by: Mathieu Tortuyaux <[email protected]>
@tormath1 tormath1 merged commit af7d6c1 into flatcar-master Dec 12, 2024
2 checks passed
@tormath1 tormath1 deleted the tormath1/akamai branch December 12, 2024 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants