{"id":18739963,"url":"https://github.com/withlin/apollo-k8s","last_synced_at":"2026-01-26T00:08:33.550Z","repository":{"id":96510220,"uuid":"306210460","full_name":"withlin/apollo-k8s","owner":"withlin","description":null,"archived":false,"fork":false,"pushed_at":"2020-11-25T06:49:57.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-20T04:35:56.697Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/withlin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2020-10-22T03:19:07.000Z","updated_at":"2020-11-25T06:49:59.000Z","dependencies_parsed_at":"2023-03-16T03:31:11.322Z","dependency_job_id":null,"html_url":"https://github.com/withlin/apollo-k8s","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/withlin/apollo-k8s","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/withlin%2Fapollo-k8s","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/withlin%2Fapollo-k8s/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/withlin%2Fapollo-k8s/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/withlin%2Fapollo-k8s/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/withlin","download_url":"https://codeload.github.com/withlin/apollo-k8s/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/withlin%2Fapollo-k8s/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28761945,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T23:06:19.311Z","status":"ssl_error","status_checked_at":"2026-01-25T23:03:50.555Z","response_time":113,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":"2024-11-07T15:38:02.671Z","updated_at":"2026-01-26T00:08:33.524Z","avatar_url":"https://github.com/withlin.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# apollo-k8s\n\n### 使用\n\n```text\n\ncd mysql/\n\nhelm install mysql-apollo . -f values.yaml\n\ncd apollo-service\n\nhelm install  apollo-service . -f values.yaml\n\n\ncd apollo-pottal\n\nhelm install apollo-service . -f values.yaml\n\n\n\n```\n\n\n### FAQ\n\n- mysql 进入查询表是否安装\n  \n  ```text\n  [root@node1 mysql]# helm  status mysql-apollo  -n db\nNAME: mysql-apollo\nLAST DEPLOYED: Wed Oct 21 16:45:46 2020\nNAMESPACE: db\nSTATUS: deployed\nREVISION: 1\nTEST SUITE: None\nNOTES:\nPlease be patient while the chart is being deployed\n\nTip:\n\n  Watch the deployment status using the command: kubectl get pods -w --namespace db\n\nServices:\n\n  echo Master: mysql-apollo.db.svc.cluster.local:3306\n  echo Slave:  mysql-apollo-slave.db.svc.cluster.local:3306\n\nAdministrator credentials:\n\n  echo Username: root\n  echo Password : $(kubectl get secret --namespace db mysql-apollo -o jsonpath=\"{.data.mysql-root-password}\" | base64 --decode)\n\nTo connect to your database:\n\n  1. Run a pod that you can use as a client:\n\n      kubectl run mysql-apollo-client --rm --tty -i --restart='Never' --image  docker.io/bitnami/mysql:8.0.21-debian-10-r17 --namespace db --command -- bash\n\n  2. To connect to master service (read/write):\n\n      mysql -h mysql-apollo.db.svc.cluster.local -uroot -p my_database\n\n  3. To connect to slave service (read-only):\n\n      mysql -h mysql-apollo-slave.db.svc.cluster.local -uroot -p my_database\n\nTo upgrade this helm chart:\n\n  1. Obtain the password as described on the 'Administrator credentials' section and set the 'root.password' parameter as shown below:\n\n      ROOT_PASSWORD=$(kubectl get secret --namespace db mysql-apollo -o jsonpath=\"{.data.mysql-root-password}\" | base64 --decode)\n      helm upgrade mysql-apollo bitnami/mysql --set root.password=$ROOT_PASSWORD\n  ```\n- 因为k8s的一些问题需要修改configMap的配置，用NodePort或者ingress的方式，不然找不到meta-server\n  ```text\n//修改configService\nspring.datasource.url = jdbc:mysql://mysql-apollo.db:3306/ApolloConfigDB?characterEncoding=utf8\nspring.datasource.username = root\nspring.datasource.password = root\n//修改configService\napollo.config-service.url = http://10.200.64.10:32180\napollo.admin-service.url = http://10.200.64.10:30631\n\n// 需要修改apollo-portal下的apollo-env.properties\ndev.meta=http://10.200.64.10:32180\n\n  ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwithlin%2Fapollo-k8s","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwithlin%2Fapollo-k8s","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwithlin%2Fapollo-k8s/lists"}