{"id":20832869,"url":"https://github.com/udhos/kubecloudconfigserver","last_synced_at":"2026-04-20T18:32:26.349Z","repository":{"id":37534310,"uuid":"504744879","full_name":"udhos/kubecloudconfigserver","owner":"udhos","description":"Simple centralized cloud configuration server for Kubernetes in Go","archived":false,"fork":false,"pushed_at":"2023-10-28T21:17:13.000Z","size":107,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-15T11:50:50.735Z","etag":null,"topics":["cloud","configuration","go","golang","kubernetes","server"],"latest_commit_sha":null,"homepage":"","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/udhos.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}},"created_at":"2022-06-18T04:41:25.000Z","updated_at":"2022-06-19T20:27:13.000Z","dependencies_parsed_at":"2022-09-08T09:30:37.894Z","dependency_job_id":"fd839859-8ac2-4efb-a637-7342a6b41af0","html_url":"https://github.com/udhos/kubecloudconfigserver","commit_stats":{"total_commits":55,"total_committers":2,"mean_commits":27.5,"dds":"0.036363636363636376","last_synced_commit":"26d526b0e9a973efecdc4ad851a6d6aba8b56a66"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/udhos/kubecloudconfigserver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/udhos%2Fkubecloudconfigserver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/udhos%2Fkubecloudconfigserver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/udhos%2Fkubecloudconfigserver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/udhos%2Fkubecloudconfigserver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/udhos","download_url":"https://codeload.github.com/udhos/kubecloudconfigserver/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/udhos%2Fkubecloudconfigserver/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32059760,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T11:35:06.609Z","status":"ssl_error","status_checked_at":"2026-04-20T11:34:48.899Z","response_time":94,"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":["cloud","configuration","go","golang","kubernetes","server"],"created_at":"2024-11-18T00:13:29.679Z","updated_at":"2026-04-20T18:32:26.328Z","avatar_url":"https://github.com/udhos.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![license](http://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/udhos/kubecloudconfigserver/blob/main/LICENSE)\n[![Go Report Card](https://goreportcard.com/badge/github.com/udhos/kubecloudconfigserver)](https://goreportcard.com/report/github.com/udhos/kubecloudconfigserver)\n[![Go Reference](https://pkg.go.dev/badge/github.com/udhos/kubecloudconfigserver.svg)](https://pkg.go.dev/github.com/udhos/kubecloudconfigserver)\n[![Docker Pulls gateboard](https://img.shields.io/docker/pulls/udhos/kubecloudconfigserver)](https://hub.docker.com/r/udhos/kubecloudconfigserver)\n\n\n# kubecloudconfigserver\n\nSimple centralized cloud configuration server for Kubernetes in Go.\n\nThis configuration server exposes fast cached access to a slow backend.\n\n# Features\n\n- The server is meant to run as multiple replicas service in a Kubernetes cluster.\n\n- [groupcache](https://github.com/golang/groupcache) is used as fast distributed cache. If multiple clients request a new configuration file, only a single replica fetches it from the backend and then makes the file available for all pending requests.\n\n- The pod replicas automatically find each other by querying Kubernetes API for pods with a shared label `app=\u003capp-name\u003e`. For example, if a deployment is used to create the replicas, the shared label would be `app=\u003cdeployment-name\u003e`.\n\n- The server handles refresh notification events from the AMQP queue `config-event-queue` below. Whenever a refresh notification is received for an application, cache entries with that application configuration file are cleared, forcing their refresh from the backend.\n\n```\nexchangeName: springCloudBus\nexchangeType: topic\nqueue:        config-event-queue\n```\n\n- The env var `TTL` can be used to enforce a TTL on cache entries. Example: `TTL=300s`. Default value is `TTL=0`, meaning no expiration set for cache entries.\n\n# Build\n\n```\ngit clone https://github.com/udhos/kubecloudconfigserver\n\ncd kubecloudconfigserver\n\ngo mod tidy\n\ngo test -race ./...\n\nexport CGO_ENABLED=0\n\ngo install ./...\n```\n\n# Run\n\n## HTTP backend\n\nProxying to an HTTP server:\n\n```\nexport BACKEND=http://configserver:9000\n\nkubeconfigserver\n```\n\n## Directory backend\n\nReading from filesystem rooted at directory `samples`:\n\n```\nexport BACKEND=dir:samples\nexport BACKEND_OPTIONS=flatten ;# flatten request path into a flat dir\n\nkubeconfigserver\n```\n\n## Test\n\nQuery server:\n\n```\ncurl localhost:8080/deploy.yml\n```\n\nQuery groupcache directly:\n\n```\ncurl localhost:5000/_groupcache/\u003cgroup\u003e/\u003ckey\u003e\n\ncurl localhost:5000/_groupcache/configfiles/deploy.yml\n```\n\n# Docker\n\nDocker hub:\n\nhttps://hub.docker.com/r/udhos/kubecloudconfigserver\n\nPull from docker hub:\n\n```\ndocker pull udhos/kubecloudconfigserver:0.0.0\n```\n\nBuild recipe:\n\n```\n./docker/build.sh\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fudhos%2Fkubecloudconfigserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fudhos%2Fkubecloudconfigserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fudhos%2Fkubecloudconfigserver/lists"}