Skip to content

#166: Added script that runs 42's image in a local Kubernetes cluster#167

Merged
ericstoneking merged 2 commits intoericstoneking:masterfrom
haisamido:issue_166
May 12, 2025
Merged

#166: Added script that runs 42's image in a local Kubernetes cluster#167
ericstoneking merged 2 commits intoericstoneking:masterfrom
haisamido:issue_166

Conversation

@haisamido
Copy link
Collaborator

@haisamido haisamido commented May 9, 2025

Issue(s):

#166 : add capability to run 42 docker/podman image in a local Kubernetes cluster. Remote Kubernetes will also be possible at some point.

This ticket has no impact on 42's native code base

Overview:

Added script that runs 42's image in a local Kubernetes cluster via podman-desktop and kind. This capability will ultimately be needed for nos3 instantiations on Kubernetes clusters.

Verify

run ./containers/kubernetes/kubernetes.sh

Expected Results:

Within about 180 seconds, after ./containers/kubernetes/kubernetes.sh is started you'll be able to view 42 in a vnc webserver via http://localhost:30080/vnc.html and then click on Connect and be able to see
Screenshot 2025-05-09 at 7 59 53 PM

Dependencies:

  1. podman
  2. podman-desktop
  3. kubectl
  4. kind installed in podman desktop

Optional

  1. k9s

k9s view:

Screenshot 2025-05-09 at 7 56 29 PM

Known issue(s)

ERROR: invalid tag "ghcr.io/ericstoneking/42:167/merge": invalid reference format which will be fixed in #168 and has no impact on 42's code base.

@haisamido haisamido self-assigned this May 9, 2025
@haisamido haisamido changed the title #166: Added script that runs 42's image in a kubernetes cluster #166: Added script that runs 42's image in a local Kubernetes cluster May 10, 2025
@haisamido haisamido added the kind label May 10, 2025
@haisamido haisamido requested a review from ericstoneking May 10, 2025 00:14
@haisamido haisamido linked an issue May 10, 2025 that may be closed by this pull request
@ericstoneking ericstoneking merged commit 7f44119 into ericstoneking:master May 12, 2025
3 of 4 checks passed
@haisamido haisamido deleted the issue_166 branch May 19, 2025 14:20
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.

add capability to run 42 docker/podman image in kubernetes cluster

2 participants

Comments