{"id":16873008,"url":"https://github.com/fharper/workshops","last_synced_at":"2025-03-18T21:51:47.953Z","repository":{"id":222507500,"uuid":"757483569","full_name":"fharper/workshops","owner":"fharper","description":"Kubefirst workshops","archived":false,"fork":false,"pushed_at":"2024-05-08T16:00:57.000Z","size":25,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-16T02:47:34.647Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fharper.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2024-02-14T15:35:04.000Z","updated_at":"2024-05-08T16:01:00.000Z","dependencies_parsed_at":"2024-03-17T18:47:49.652Z","dependency_job_id":"e4bae423-ca96-4528-af7d-b285be4eec25","html_url":"https://github.com/fharper/workshops","commit_stats":null,"previous_names":["fharper/workshops"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fharper%2Fworkshops","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fharper%2Fworkshops/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fharper%2Fworkshops/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fharper%2Fworkshops/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fharper","download_url":"https://codeload.github.com/fharper/workshops/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244313580,"owners_count":20433008,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-10-13T15:18:29.650Z","updated_at":"2025-03-18T21:51:47.932Z","avatar_url":"https://github.com/fharper.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# workshops\n\nKubefirst workshops.\n\n## Argo CD Sync Waves\n\n### Create a k3d cluster\n\n```shell\nk3d cluster create kubefirst-demo --agents \"1\" --agents-memory \"4096m\"\n```\n\n### Install Argo CD\n\nTo simply install Argo CD, you can use `kubectl`.\n\n```shell\nkubectl create namespace argocd\nkubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml\n```\n\nWe suggest that you use our customization to bring back the app of apps sync wave Argo CD feature that was removed in 1.8. You can do this using that command\n\n```shell\nkubectl apply -k https://github.com/fharper/workshops/argocd/manifest\n```\n\nMore information in [their documentation](https://argo-cd.readthedocs.io/en/stable/operator-manual/health/#argocd-app), and in [this issue](https://github.com/argoproj/argo-cd/issues/4577).\n\n### Access Argo CD\n\nWait for the pod to run: it should go fast, but give it a couple of seconds or minutes depending on your computer. You can check the status with\n\n```shell\nkubectl get pods -n argocd\n```\n\nOnce everything is running, make Argo CD UI accessible locally.\n\n```shell\nkubectl -n argocd port-forward svc/argocd-server 8080:443\n```\n\nGet the `admin` password:\n\n```shell\n# Using kubectl\nkubectl get secret argocd-initial-admin-secret -n argocd -o jsonpath={\".data.password\"} | base64 -d\n\n# Using argocd (Argo CD CLI)\nargocd admin initial-password -n argocd\n```\n\nNow you can open Argo CD UI. You browser will complain about HTTPS, proceed anyway.\n\n```shell\nopen https://localhost:8080\n```\n\nYou can also log into `argocd` with the CLI\n\n```shell\nargocd login localhost:8080 --username admin --insecure\n```\n\n### Deploy the App of Apps with Sync Waves\n\nYou can either deploy the registry using `kubectl` using\n\n```shell\nkubectl apply -f https://raw.githubusercontent.com/fharper/workshops/main/argocd/sync-waves/registry/registry.yaml\n```\n\nYou can also use `argocd` if you prefer\n\n```shell\nargocd app create -f https://raw.githubusercontent.com/fharper/workshops/main/argocd/sync-waves/registry/registry.yaml\n```\n\nWatch the glory of sync waves :)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffharper%2Fworkshops","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffharper%2Fworkshops","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffharper%2Fworkshops/lists"}