{"id":36744154,"url":"https://github.com/gabeduke/civoctl","last_synced_at":"2026-01-12T12:31:16.064Z","repository":{"id":57511388,"uuid":"238760719","full_name":"gabeduke/civoctl","owner":"gabeduke","description":null,"archived":false,"fork":false,"pushed_at":"2020-02-12T15:38:50.000Z","size":54,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-15T05:51:30.993Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gabeduke.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}},"created_at":"2020-02-06T18:53:03.000Z","updated_at":"2020-08-06T00:03:29.000Z","dependencies_parsed_at":"2022-09-26T17:51:04.155Z","dependency_job_id":null,"html_url":"https://github.com/gabeduke/civoctl","commit_stats":null,"previous_names":["gabeduke/civo-controller"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/gabeduke/civoctl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabeduke%2Fcivoctl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabeduke%2Fcivoctl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabeduke%2Fcivoctl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabeduke%2Fcivoctl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gabeduke","download_url":"https://codeload.github.com/gabeduke/civoctl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabeduke%2Fcivoctl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28338978,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T12:22:26.515Z","status":"ssl_error","status_checked_at":"2026-01-12T12:22:10.856Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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-12T12:31:15.431Z","updated_at":"2026-01-12T12:31:16.059Z","avatar_url":"https://github.com/gabeduke.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# civoctl\n\nCivoctl is a simple controller to reconcile a list of cluster names with actual k3s clusters in Civo cloud.\n\nCivoctl accepts a yaml list of clusters. As cluster names are added or deleted from the lists, civoctl will create and delete clusters through the Civo API\n\n```yaml\nclusters:\n  - name: civo-1\n    nodes: 3\n  - name: civo-2\n    nodes: 2\n```\n\n_Note_: Civoctl will watch the file for changes, any updates made to the configuration file will be realized during the subsequent reconcilliation cycle.\n\n---\n\n[![asciicast](https://asciinema.org/a/8E4xO0YhHSt3BEbXbbEuZxGxL.svg)](https://asciinema.org/a/8E4xO0YhHSt3BEbXbbEuZxGxL)\n\n## Usage\n\n### Download\n\n```bash\ngo get -u github.com/gabeduke/civoctl\n```\n\n### Configure\n\nI recommend starting with a list of clusters that already exist in your account. The create loop will be a noop and the delete will not be triggered because the clusters exist.\n\nCivoctl will search in the following places for a config file (named `.civoctl.yaml`)\n\n```bash\n# etc\n/etc/civoctl/.civoctl.yaml\n\n# home\n$HOME/.civoctl.yaml\n\n# current working dir\n./.civoctl.yaml\n```\n\nGo ahead and stamp the cfg file:\n\n```bash\ncat \u003c\u003cEOF \u003e .civoctl.yaml\nclusters:\n  - name: civo-1\n  - name: civo-2\nEOF\n```\n\n### Run\n\n```bash\n# export Civo API token (this can also be passed as the cmd line flag --token)\n# export CIVO_TOKEN=$(cat /var/secrets/civo_token)\n\n# Show Civoctl help\ncivoctl --help\n\n# Run the control loop to create clusters\ncivoctl run\n\n# Run in dangerous mode to also delete clusters\n# civoctl run -d\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabeduke%2Fcivoctl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgabeduke%2Fcivoctl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabeduke%2Fcivoctl/lists"}