{"id":15652262,"url":"https://github.com/linuxsuren/environment-hub","last_synced_at":"2025-03-30T01:18:15.160Z","repository":{"id":211246921,"uuid":"728483553","full_name":"LinuxSuRen/environment-hub","owner":"LinuxSuRen","description":"Cloud-native environment hub","archived":false,"fork":false,"pushed_at":"2023-12-25T06:55:40.000Z","size":227,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-05T03:16:43.457Z","etag":null,"topics":["cloud-native","k3d","kind"],"latest_commit_sha":null,"homepage":"","language":"Go","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/LinuxSuRen.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":"2023-12-07T03:14:13.000Z","updated_at":"2023-12-08T07:52:03.000Z","dependencies_parsed_at":"2023-12-25T07:30:56.088Z","dependency_job_id":"e162802a-e8bb-49b6-b00c-6d7f4ae2b715","html_url":"https://github.com/LinuxSuRen/environment-hub","commit_stats":{"total_commits":10,"total_committers":2,"mean_commits":5.0,"dds":0.09999999999999998,"last_synced_commit":"961a99b59186b4287cadcdf60fd93b0d50c4b4b8"},"previous_names":["linuxsuren/environment-hub"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinuxSuRen%2Fenvironment-hub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinuxSuRen%2Fenvironment-hub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinuxSuRen%2Fenvironment-hub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinuxSuRen%2Fenvironment-hub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LinuxSuRen","download_url":"https://codeload.github.com/LinuxSuRen/environment-hub/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246262600,"owners_count":20749175,"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":["cloud-native","k3d","kind"],"created_at":"2024-10-03T12:41:52.645Z","updated_at":"2025-03-30T01:18:15.142Z","avatar_url":"https://github.com/LinuxSuRen.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# environment-hub\n\nThis project aims to provide a Kubernetes compatible environment quickly. Especially for the testing purpose.\n\n## Get started\n```shell\ndocker run -v /var/run/docker.sock:/var/run/docker.sock \\\n    -p 9090:8080 \\\n    ghcr.io/linuxsuren/environment-hub:master\n```\n\n## Use Case 1\n\n```shell\nexport SERVER=http://172.11.0.6:9090\ncurl -XPOST '$SERVER/v1/k3d/clusters' -d '{\"servers\":1,\"agents\":1,\"port\":30000,\"name\":\"hello\"}'\ncurl '$SERVER/v1/k3d/clusters/hello/kubeconfig' -o test.yaml\nhelm --kubeconfig=test.yaml --kube-insecure-skip-tls-verify=true install atest oci://docker.io/linuxsuren/api-testing \\\n    --version v0.0.2-helm \\\n    --set service.nodePort=30000 \\\n    --set service.type=NodePort \\\n    --set image.tag=v0.0.15 \\\n    --set persistence.enabled=false\n\nkubectl --kubeconfig=test.yaml --insecure-skip-tls-verify=true get pod -A\n\ncurl 'http://172.11.0.6:9090/v1/k3d/clusters/hello/portbinding?port=30000'\n```\n\n## Install Helm\n\n```shell\ncurl http://localhost:9090/v1/k3d/clusters/test/install -XPOST \\\n  -d '{\"name\": \"skywalking\", \"values\": [\"ui.image.tag=9.2.0\", \"oap.image.tag=9.2.0\", \"oap.storageType=elasticsearch\"], \"namespace\": \"default\", \"repoURL\": \"https://apache.jfrog.io/artifactory/skywalking-helm\", \"version\": \"4.3.0\"}'\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinuxsuren%2Fenvironment-hub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinuxsuren%2Fenvironment-hub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinuxsuren%2Fenvironment-hub/lists"}