Learn/cloud and gitops - #5
Merged
Merged
Conversation
- Updated the Hetzner Cloud provider version from 1.66.0 to 1.66.1 in the Terraform lock file. - Introduced a new cloud-init template for setting up a single-node k3s cluster. - Modified the main Terraform configuration to utilize the new cloud-init template for user data. - Adjusted the SSH source CIDR to a specific IP address for enhanced security. - Commented out the DNS module configuration and Cloudflare provider to reflect current deployment status. These changes streamline the setup process and improve security for the hobby environment.
- Updated the README to reflect the integration of Argo CD for GitOps on the Hetzner VPS, detailing the deployment process and architecture. - Added new GitOps documentation outlining the setup and usage of Argo CD for managing the API Helm chart. - Introduced `values-hobby.yaml` for cloud-specific configurations, including image repository settings and pull policies. - Enhanced lessons learned documentation with insights on GitOps practices, Terraform usage, and managing cloud resources effectively. - Added screenshots to the README for better visualization of the deployed infrastructure. These changes improve the clarity and usability of the documentation while introducing a robust GitOps workflow for the AI platform.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Applicationforhelm/api,values-hobby.yaml(GHCR image +imagePullSecrets), andgitops/README.mdbootstrap/runbook.terraform destroy) cost notes.targetRevisionismainfor post-merge sync.Test plan
terraform plan/applyininfrastructure/terraform/environments/hobbycreates the VPS; k3s node isReadyapiSyncs from this repo (helm/api+values-hobby.yaml) intoai-platformghcr-pulldocker-registry secret uses a GitHub PAT withread:packages(not an image tag)kubectl -n ai-platform get podsshows API pods; port-forwardsvc/apiandcurl /healthmainstill worksterraform destroyremoves the VPS and stops Hetzner billing