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

Add a dev env in Okteto #128

Merged
merged 7 commits into from
Feb 5, 2024
Merged

Add a dev env in Okteto #128

merged 7 commits into from
Feb 5, 2024

Conversation

sgalsaleh
Copy link
Member

Adds a dev environment for ttl.sh in Okteto.

Example:

$ docker pull busybox
Using default tag: latest
latest: Pulling from library/busybox
Digest: sha256:6d9ac9237a84afe1516540f40a0fafdc86859b2141954b4d643af7066d598b74
Status: Image is up to date for busybox:latest
docker.io/library/busybox:latest

$ docker tag busybox:latest ttl-registry-sgalsaleh.okteto.repldev.com/busybox:1m

$ docker push ttl-registry-sgalsaleh.okteto.repldev.com/busybox:1m
The push refers to repository [ttl-registry-sgalsaleh.okteto.repldev.com/busybox]
2e112031b4b9: Pushed 
1m: digest: sha256:d319b0e3e1745e504544e931cde012fc5470eba649acc8a7b3607402942e5db7 size: 527

Reaper logs from Okteto:

2024-02-05 16:11:00.06 UTCttl-reaper-7fc7f6d5bc-rjdfzttl-reaper -----> beginning to reap expired images
2024-02-05 16:11:00.06 UTCttl-reaper-7fc7f6d5bc-rjdfzttl-reaper    there are 1 total images to evaluate
2024-02-05 16:11:00.06 UTCttl-reaper-7fc7f6d5bc-rjdfzttl-reaper not  expiring busybox:1m for another ~1 minute(s)
2024-02-05 16:12:00.06 UTCttl-reaper-7fc7f6d5bc-rjdfzttl-reaper -----> beginning to reap expired images
2024-02-05 16:12:00.06 UTCttl-reaper-7fc7f6d5bc-rjdfzttl-reaper    there are 1 total images to evaluate
2024-02-05 16:12:00.10 UTCttl-reaper-7fc7f6d5bc-rjdfzttl-reaper expiring busybox:1m

okteto.yml Outdated Show resolved Hide resolved
divolgin
divolgin previously approved these changes Feb 5, 2024
@sgalsaleh sgalsaleh merged commit 7624fbf into main Feb 5, 2024
1 check passed
@sgalsaleh sgalsaleh deleted the dev-env branch February 5, 2024 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants