{"id":27072823,"url":"https://github.com/hong539/k8s_lab","last_synced_at":"2025-04-05T23:33:55.047Z","repository":{"id":166971312,"uuid":"642522141","full_name":"hong539/k8s_lab","owner":"hong539","description":"k8s_lab with kind settinup an simple cluster","archived":false,"fork":false,"pushed_at":"2025-03-28T01:21:01.000Z","size":16620,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T02:28:23.307Z","etag":null,"topics":["docker","fzf","kind","kubernetes","kubie","kustomize","yaml"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/hong539.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-18T19:01:10.000Z","updated_at":"2025-03-28T01:21:06.000Z","dependencies_parsed_at":"2023-11-16T01:25:33.715Z","dependency_job_id":"bfb8368f-14df-4ee9-9a49-c52f9382dca5","html_url":"https://github.com/hong539/k8s_lab","commit_stats":null,"previous_names":["hong539/k8s_lab"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hong539%2Fk8s_lab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hong539%2Fk8s_lab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hong539%2Fk8s_lab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hong539%2Fk8s_lab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hong539","download_url":"https://codeload.github.com/hong539/k8s_lab/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247415825,"owners_count":20935384,"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":["docker","fzf","kind","kubernetes","kubie","kustomize","yaml"],"created_at":"2025-04-05T23:33:54.953Z","updated_at":"2025-04-05T23:33:55.031Z","avatar_url":"https://github.com/hong539.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# k8s_lab\nk8s_lab with terrform/k3s/kind/minikube...etc tools to deploy an mini cluster on Proxmox VE for development.\n\n## Docs/Tips/MISC...etc!\n\n* k0s\n    * [k0sproject.io/](https://k0sproject.io/)\n* [kubectl rollout](https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/)\n* [kubectl cp](https://kubernetes.io/docs/reference/kubectl/generated/kubectl_cp/)\n* [kubectl diff](https://kubernetes.io/docs/reference/kubectl/generated/kubectl_diff/)\n* [kubectl debug](https://kubernetes.io/docs/reference/kubectl/generated/kubectl_debug/)\n* [netshoot: a Docker + Kubernetes network trouble-shooting swiss-army container](https://github.com/nicolaka/netshoot)\n* [Need some explaination of kubectl stdin and pipe](https://stackoverflow.com/questions/54032336/need-some-explaination-of-kubectl-stdin-and-pipe)\n* [Why dig does not resolve K8s service by dns name while nslookup has no problems with it?](https://stackoverflow.com/questions/50668124/why-dig-does-not-resolve-k8s-service-by-dns-name-while-nslookup-has-no-problems)\n* [Workloads](https://kubectl.docs.kubernetes.io/guides/introduction/resources_controllers/#workloads)\n* [Persistent Volumes](https://kubernetes.io/docs/concepts/storage/persistent-volumes/)\n    * [Access Modes](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes)\n    * [uchan/Installation](https://floens.github.io/uchan/installation.html)\n    * k8s NFS Output: mount.nfs: Operation not permitted\n    * [I was trying to create a pvc with RWX access mode in the kind cluster. I see an error that it is not supported.](https://github.com/kubernetes-sigs/kind/issues/2371)\n    * [Enable Simulation of automatically provisioned ReadWriteMany PVs](https://github.com/kubernetes-sigs/kind/issues/1487)\n* [docker Language-specific guides](https://docs.docker.com/language/)\n* [DNS for Services and Pods](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/)\n* [Service type](https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types)\n* [k8s/components](https://kubernetes.io/docs/concepts/overview/components/)\n* [rbac](https://kubernetes.io/docs/reference/access-authn-authz/rbac/)\n* [install-bash-auto-completion](https://hhming.moe/post/install-bash-auto-completion/)\n* [Spring Cloud for Microservices Compared to Kubernetes](https://developers.redhat.com/blog/2016/12/09/spring-cloud-for-microservices-compared-to-kubernetes)\n* [Re: [請益] 雲端技術是Java工程師的必備技能嗎](https://www.ptt.cc/bbs/Soft_Job/M.1694682456.A.435.html)\n* [架構師觀點: 你需要什麼樣的 CI / CD ?](https://columns.chicken-house.net/2017/08/05/what-cicd-do-you-need/#%E7%B5%90%E8%AB%96-%E5%9F%B7%E8%A1%8C%E6%9E%B6%E6%A7%8B%E8%88%87%E6%96%B9%E5%90%91)\n\n## prerequisite cli-tools\n\n* container runtime/engine, just choose one for kind\n    * [docker engine](https://docs.docker.com/engine/install/)\n        * [rootless](https://docs.docker.com/engine/security/rootless/#how-it-works)\n    * [podman](https://podman.io/docs/installation#installing-on-linux)\n* [kind](https://kind.sigs.k8s.io/)\n    * [[ Kube 43.2 ] Getting started with KinD | Local multi-node k8s cluster in Docker containers](https://youtu.be/kkW7LNCsK74)\n    * [如何在 Bash 安裝新的自動補齊手稿](https://hhming.moe/post/install-bash-auto-completion/)\n* [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/)\n* [kustomize](https://kubectl.docs.kubernetes.io/)\n* [fzf](https://github.com/junegunn/fzf#using-linux-package-managers)\n* [kubie](https://github.com/sbstp/kubie#installation)\n    * [Autocompletion](https://github.com/sbstp/kubie#autocompletion)\n* [k9s](https://github.com/derailed/k9s)\n* [k3s](https://k3s.io/)\n* [just](https://github.com/casey/just/tree/master)\n    * Just a command runner\n      * just is a handy way to save and run project-specific commands.\n\n## setup\n\n* k3s on proxmox witg terrform\n    * [terraform/tutorials/docker-get-started/install-cli](https://developer.hashicorp.com/terraform/tutorials/docker-get-started/install-cli)\n    * [terraform/cli/commands](https://developer.hashicorp.com/terraform/cli/commands)    \n    * [terraform/language/providers/configuration](https://developer.hashicorp.com/terraform/language/providers/configuration)\n    * [terraform/language/providers/requirements](https://developer.hashicorp.com/terraform/language/providers/requirements)\n    * [terraform-provider-proxmox/issues/784](https://github.com/Telmate/terraform-provider-proxmox/issues/784)\n    * [terraform-proxmox-k3s](https://github.com/oobenland/terraform-proxmox-k3s/tree/main)    \n\n* kind\n    * setup a kind cluster\n    ```shell\n    bash scripts/kind/setup.sh\n    ```\n    * Setting Up An Ingress Controller\n    ```shell\n    bash scripts/kind/ingress-nginx.sh\n    ```\n    * Test\n    ```shell\n    bash scripts/kind/test.sh\n    ```\n\n\n## deployments/services\n\n* [local_library_website](https://github.com/hong539/local_library_website)\n* [SRS4](https://ossrs.net/lts/zh-cn/docs/v4/doc/introduction)\n\n\n## sub-systems\n\n* [Ingress NGINX Controller](https://github.com/kubernetes/ingress-nginx/)\n    * [SSL Passthrough](https://github.com/kubernetes/ingress-nginx/blob/main/docs/user-guide/tls.md#ssl-passthrough)\n    * [Exposing TCP and UDP services](https://kubernetes.github.io/ingress-nginx/user-guide/exposing-tcp-udp-services/)\n    * [Exposing FastCGI Servers](https://kubernetes.github.io/ingress-nginx/user-guide/fcgi-services/)\n        * php-fpm nginx\n            * [PHP-FPM + Nginx on Kubernetes](https://stackoverflow.com/questions/49494602/php-fpm-nginx-on-kubernetes)\n            * [Has anyone been able to configure nginx-ingress -\u003e fpm ? Been unable to configure this](https://github.com/kubernetes/ingress-nginx/issues/8207)\n* [metrics-server](https://github.com/kubernetes-sigs/metrics-server)\n* [fluentbit](https://docs.fluentbit.io/manual/installation/kubernetes)\n* [Reloader](https://github.com/stakater/Reloader)\n* [gitlab runner](https://docs.gitlab.com/runner/install/kubernetes.html)\n* [emqx-operator](https://github.com/emqx/emqx-operator)\n    * [Specify secrets for listeners TLS certificates](https://github.com/emqx/emqx-operator/issues/110)\n    * SSL/TLS TLS termination proxy part\n* [nacos](https://nacos.io/zh-cn/docs/what-is-nacos.html)\n    * discovery each node nacos cluster mode \n        * [dns issue for nacos cluser mode](https://github.com/nacos-group/nacos-k8s/issues?q=dns)\n    * [Kubernetes Nacos](https://nacos.io/zh-cn/docs/use-nacos-with-kubernetes.html)\n    * [nacos-k8s](https://github.com/nacos-group/nacos-k8s)\n        * [nacos-operator](https://github.com/nacos-group/nacos-k8s/blob/master/operator/README.md)\n* [kubevirt](https://kubevirt.io/)\n    * [Cloud Native Live: Making VMs a first-class citizen in Kubernetes with KubeVirt](https://youtu.be/vMYQeFJX0Dk)\n* [RabbitMQ](https://www.rabbitmq.com/kubernetes/operator/operator-overview.html)\n* [prometheus](https://prometheus.io/docs/prometheus/latest/installation/)\n    * [kube-prometheus](https://github.com/prometheus-operator/kube-prometheus)\n* ELK(Elastic Search/Logstash/Kibana) stack or EFK(Elastic Search/fluentbit/Kibana) stack\n    * [Elastic Cloud on Kubernetes](https://www.elastic.co/downloads/elastic-cloud-kubernetes)\n        * [Quickstart](https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-quickstart.html)\n    * [fluentbit](https://fluentbit.io/)\n        * [installation](https://docs.fluentbit.io/manual/installation/kubernetes#installation)\n    * [elastalert2](https://github.com/jertel/elastalert2)\n\n```shell\n#For test metrics-server\nkubectl top nodes\nkubectl top pods\n```\n\n## Important!!!\n\n== We're Using GitHub Under Protest ==\n\nThis project is currently hosted on GitHub.  This is not ideal; GitHub is a\nproprietary, trade-secret system that is not Free and Open Souce Software\n(FOSS).  We are deeply concerned about using a proprietary system like GitHub\nto develop our FOSS project.  We have an\n[open {bug ticket, mailing list thread, etc.} ](INSERT_LINK) where the\nproject contributors are actively discussing how we can move away from GitHub\nin the long term.  We urge you to read about the\n[Give up GitHub](https://GiveUpGitHub.org) campaign from\n[the Software Freedom Conservancy](https://sfconservancy.org) to understand\nsome of the reasons why GitHub is not a good place to host FOSS projects.\n\nIf you are a contributor who personally has already quit using GitHub, please\n[check this resource](INSERT_LINK) for how to send us contributions without\nusing GitHub directly.\n\nAny use of this project's code by GitHub Copilot, past or present, is done\nwithout our permission.  We do not consent to GitHub's use of this project's\ncode in Copilot.\n\n![Logo of the GiveUpGitHub campaign](https://sfconservancy.org/img/GiveUpGitHub.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhong539%2Fk8s_lab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhong539%2Fk8s_lab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhong539%2Fk8s_lab/lists"}