{"id":41111754,"url":"https://github.com/jonmosco/argo-learning-env","last_synced_at":"2026-01-22T16:03:19.686Z","repository":{"id":332791218,"uuid":"1129714251","full_name":"jonmosco/argo-learning-env","owner":"jonmosco","description":"Argo Learning Lab","archived":false,"fork":false,"pushed_at":"2026-01-15T15:03:16.000Z","size":24,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-15T18:20:50.444Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jonmosco.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-07T13:33:41.000Z","updated_at":"2026-01-15T15:03:21.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/jonmosco/argo-learning-env","commit_stats":null,"previous_names":["jonmosco/argo-learning-env"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/jonmosco/argo-learning-env","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonmosco%2Fargo-learning-env","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonmosco%2Fargo-learning-env/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonmosco%2Fargo-learning-env/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonmosco%2Fargo-learning-env/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonmosco","download_url":"https://codeload.github.com/jonmosco/argo-learning-env/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonmosco%2Fargo-learning-env/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28635919,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T15:01:31.228Z","status":"ssl_error","status_checked_at":"2026-01-21T14:42:58.942Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-22T16:02:38.725Z","updated_at":"2026-01-22T16:03:19.665Z","avatar_url":"https://github.com/jonmosco.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Argo Learning Lab (Quick \u0026 Dirty)\n\nThis repo provides a \"one-command\" setup for a local Kubernetes environment running the full Argo suite (**ArgoCD**, **Workflows**, **Events**, and **Rollouts**). It uses **Kind** (Kubernetes in Podman/Docker) and pre-configures port forwarding so you don't have to manage `kubectl port-forward` sessions.\n\n## Prerequisites\n\n* **Container Engine:** [Docker](https://docs.docker.com/get-docker/) **OR** [Podman](https://podman.io/getting-started/installation)\n* [Kind](https://www.google.com/search?q=https://kind.sigs.k8s.io/docs/user/quick-start/%23installation)\n* [Kubectl](https://kubernetes.io/docs/tasks/tools/)\n\n## Quick Start\n\n### Single Cluster (Hub Only)\n\n1. **Clone this repo:**\n\n    ```bash\n    git clone \u003cyour-repo-url\u003e\n    cd \u003cyour-repo-name\u003e\n    ```\n\n2. **Spin up the hub cluster:**\n\n    ```bash\n    chmod +x argo-lab.sh\n    ./argo-lab.sh up\n    ```\n\n3. **Access the UIs:**\n\n* **ArgoCD:** [https://localhost:8080](https://localhost:8080) (User: `admin`)\n* **Workflows:** [http://localhost:2746](http://localhost:2746)\n* **Rollouts:** Run `kubectl argo rollouts dashboard`\n\n### Multicluster (Hub + Spoke)\n\nFor learning multicluster deployments with ArgoCD:\n\n1. **Spin up both hub and spoke clusters:**\n\n    ```bash\n    ./argo-lab.sh up-multi\n    ```\n\n2. **Register the spoke cluster with hub ArgoCD:**\n\n    The script will print instructions. Either use the CLI:\n\n    ```bash\n    kubectl config use-context kind-argo-learning-hub\n    argocd cluster add kind-argo-learning-spoke\n    ```\n\n    Or register via the ArgoCD UI at [https://localhost:8080/settings/clusters](https://localhost:8080/settings/clusters).\n\n3. **Access the UIs:**\n\n* **Hub ArgoCD:** [https://localhost:8080](https://localhost:8080) (controls both clusters)\n* **Hub Workflows:** [http://localhost:2746](http://localhost:2746)\n* **Spoke App:** [http://localhost:8888](http://localhost:8888) (example app port)\n\n## Project Structure\n\n* `argo-kind-config-hub.yaml`: Hub cluster definition with ArgoCD, Workflows, and Rollouts port mappings.\n* `argo-kind-config-spoke.yaml`: Spoke cluster definition (no Argo components—managed by hub).\n* `argo-lab.sh`: The automation script that handles cluster creation, namespace setup, app installation, and service patching.\n\n## Commands\n\n| Command | Action |\n| --- | --- |\n| `./argo-lab.sh up` | Creates hub cluster and installs all Argo components. |\n| `./argo-lab.sh up-multi` | Creates hub and spoke clusters for multicluster learning. |\n| `./argo-lab.sh down` | Deletes the hub cluster. |\n| `./argo-lab.sh down-multi` | Deletes both hub and spoke clusters. |\n| `./argo-lab.sh info` | Re-prints hub cluster connection info and password. |\n| `./argo-lab.sh help` | Shows usage and available commands. |\n\n## Notes\n\n* **SSL Warning:** When opening ArgoCD, your browser will show an SSL warning (due to self-signed certs).\n* **Auth:** Argo Workflows is configured in `server` auth mode for easy learning (no login token required).\n* **Rollouts CLI:** The `kubectl argo rollouts` commands require the [kubectl-argo-rollouts plugin](https://argo-rollouts.readthedocs.io/en/stable/installation/); install it before running the dashboard.\n* **For Podman users:**  Ensure your Podman machine is started and the `KIND_EXPERIMENTAL_PROVIDER` env variable is set if using older versions of Kind.\n\n```bash\npodman machine start\nexport KIND_EXPERIMENTAL_PROVIDER=podman\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonmosco%2Fargo-learning-env","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonmosco%2Fargo-learning-env","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonmosco%2Fargo-learning-env/lists"}