{"id":50551239,"url":"https://github.com/agentic-layer/workshop-infra","last_synced_at":"2026-06-04T03:30:31.979Z","repository":{"id":351316056,"uuid":"1084252948","full_name":"agentic-layer/workshop-infra","owner":"agentic-layer","description":"Infrastructure for our Conference Workshops (\"Architecting and Building a K8s-based AI Platform\")","archived":false,"fork":false,"pushed_at":"2026-05-17T14:45:46.000Z","size":231,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-17T16:49:37.466Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/agentic-layer.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-27T12:40:50.000Z","updated_at":"2026-05-17T14:45:50.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/agentic-layer/workshop-infra","commit_stats":null,"previous_names":["agentic-layer/workshop-infra"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/agentic-layer/workshop-infra","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agentic-layer%2Fworkshop-infra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agentic-layer%2Fworkshop-infra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agentic-layer%2Fworkshop-infra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agentic-layer%2Fworkshop-infra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agentic-layer","download_url":"https://codeload.github.com/agentic-layer/workshop-infra/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agentic-layer%2Fworkshop-infra/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33888302,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-04T02:00:06.755Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-06-04T03:30:31.081Z","updated_at":"2026-06-04T03:30:31.941Z","avatar_url":"https://github.com/agentic-layer.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# workshop-infra\nInfrastructure for our Conference Workshops (\"Architecting and Building a K8s-based AI Platform\")\n\n\nBased on https://github.com/lreimer/k8s-native-iac 's Makefile\n\n## Layout\n\nFlux Kustomizations under `foundation/host-cluster/` are organized along\nthe conceptual planes used in the [agentic-layer\ndocs](https://docs.agentic-layer.ai/) and the workshop step folders:\n\n| Path | Contents |\n|---|---|\n| `infrastructure/` | Kubernetes prerequisites: cert-manager, Gateway API CRDs |\n| `observability-controllers/` | OpenTelemetry operator, Prometheus CRDs |\n| `observability/` | LGTM stack (Loki, Grafana, Tempo, Mimir), OTel collector, observability-dashboard |\n| `platform-operators/` | The four agentic-layer operators (agent-runtime, agent-gateway-krakend, ai-gateway-litellm, tool-gateway-agentgateway) |\n| `platform-gateways/` | Gateway *instances* (Agent Gateway, AI Gateway, Tool Gateway) — Custom Resources reconciled by the operators above |\n| `user-serving-plane/` | LibreChat, the chat UI participants point at the Agent Gateway |\n| `quality-plane/` | testkube + testbench-operator: evaluating agents with Experiments |\n\nDependencies are wired so a cold cluster bootstraps cleanly:\n`infrastructure → {observability-controllers, platform-operators} → {observability, platform-gateways} → {user-serving-plane, quality-plane}`.\n\n## Prerequisites\n\nRequires the following tools:\n- kubectl\n- gcloud CLI\n- flux CLI\n- **vcluster** CLI\n\n\n\n## Setup\n\n### 1. Create the Host Cluster, setup gitops\n```bash\nmake prepare-cluster\nmake create-cluster\nmake bootstrap-flux\n```\n\n### 2. (Optional) Reconfigure vClusters\n\nEdit the variable `clustersToCreate` in `generate-overlays.sh` to change the number of vClusters, then check in the changes:\n```\nmake generate-vcluster-configs\ngit add infrastructure/vcluster/overlays/*\n...\n```\n\nvCluster configuration can be changed later in `infrastructure/vcluster/base/vcluster.yaml`.\n\nNote that changing the configuration might require the vClusters to be recreated, potentially breaking any credentials.\n\n### 3. Setup env vars, secrets, and kubeconfigs \n\n- Copy `.env.example` to `.env`\n- Configure environment variables based on entries in the [Google Secrets Manager](https://console.cloud.google.com/security/secret-manager?project=agentic-layer-workshop)\n- `source .env`\n- Create secrets in the cluster\n    ```\n    make secrets\n    ```\n- Generate and encrypt the shared participant kubeconfig (uses\n  `WORKSHOP_PASSWORD` from `.env`)\n    ```\n    make kubeconfigs\n    ```\n- Copy `kubeconfigs-encrypted/workshop-kubeconfig.yaml.enc` to\n  `github.com/agentic-layer/workshop/kubeconfigs/` and commit. Keep\n  `workshop-admin-kubeconfig.yaml.enc` locally as a backup; don't\n  ship it to participants.\n\n### 4. Model Serving with Ollama\n\n```bash\n# llama3.1 model deployment via CRD\nkubectl apply -f foundation/mother-vcluster-europe-west1/ollama-operator/ollama-model-llama31.yaml\nkollama expose llama3.1 --service-name=ollama-model-llama31 --namespace ollama-operator-system\nkollama expose llama3.1 --service-name=ollama-model-llama31-lb --service-type LoadBalancer --namespace ollama-operator-system\n\n# to start a chat with ollama\n# exchange localhost with the actual LoadBalancer IP\nOLLAMA_HOST=localhost:11434 ollama run llama3.1\n\n# call the chat API of Ollama or OpenAI\n# curl http://ollama-model-llama31.default:11434/v1/chat/completions\ncurl http://ollama-model-llama31.default:11434/api/chat \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"model\": \"llama3.1\",\n    \"messages\": [\n      {\n        \"role\": \"user\",\n        \"content\": \"Say this is a test!\"\n      }\n    ]\n  }'\n```\n\n---\n\n## Connect\n\nParticipants share a single read-only kubeconfig (with `edit` scoped to\ntheir claimed `ns-XX` namespace via RoleBinding). It's distributed as\nan encrypted file in `github.com/agentic-layer/workshop/kubeconfigs/`.\n\n```bash\n./decrypt-kubeconfig.sh kubeconfigs/workshop-kubeconfig.yaml.enc \u003cpassword\u003e kubeconfig.yaml\nexport KUBECONFIG=kubeconfig.yaml\nkubectl get namespaces\n```\n\nFor admin access, decrypt the `workshop-admin-kubeconfig.yaml.enc`\nbackup (kept locally, not shipped to participants) the same way.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagentic-layer%2Fworkshop-infra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagentic-layer%2Fworkshop-infra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagentic-layer%2Fworkshop-infra/lists"}