https://github.com/hong539/k8s_lab
k8s_lab with kind settinup an simple cluster
https://github.com/hong539/k8s_lab
docker fzf kind kubernetes kubie kustomize yaml
Last synced: about 1 year ago
JSON representation
k8s_lab with kind settinup an simple cluster
- Host: GitHub
- URL: https://github.com/hong539/k8s_lab
- Owner: hong539
- License: mit
- Created: 2023-05-18T19:01:10.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-28T01:21:01.000Z (about 1 year ago)
- Last Synced: 2025-03-28T02:28:23.307Z (about 1 year ago)
- Topics: docker, fzf, kind, kubernetes, kubie, kustomize, yaml
- Language: Shell
- Homepage:
- Size: 15.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# k8s_lab
k8s_lab with terrform/k3s/kind/minikube...etc tools to deploy an mini cluster on Proxmox VE for development.
## Docs/Tips/MISC...etc!
* k0s
* [k0sproject.io/](https://k0sproject.io/)
* [kubectl rollout](https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/)
* [kubectl cp](https://kubernetes.io/docs/reference/kubectl/generated/kubectl_cp/)
* [kubectl diff](https://kubernetes.io/docs/reference/kubectl/generated/kubectl_diff/)
* [kubectl debug](https://kubernetes.io/docs/reference/kubectl/generated/kubectl_debug/)
* [netshoot: a Docker + Kubernetes network trouble-shooting swiss-army container](https://github.com/nicolaka/netshoot)
* [Need some explaination of kubectl stdin and pipe](https://stackoverflow.com/questions/54032336/need-some-explaination-of-kubectl-stdin-and-pipe)
* [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)
* [Workloads](https://kubectl.docs.kubernetes.io/guides/introduction/resources_controllers/#workloads)
* [Persistent Volumes](https://kubernetes.io/docs/concepts/storage/persistent-volumes/)
* [Access Modes](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes)
* [uchan/Installation](https://floens.github.io/uchan/installation.html)
* k8s NFS Output: mount.nfs: Operation not permitted
* [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)
* [Enable Simulation of automatically provisioned ReadWriteMany PVs](https://github.com/kubernetes-sigs/kind/issues/1487)
* [docker Language-specific guides](https://docs.docker.com/language/)
* [DNS for Services and Pods](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/)
* [Service type](https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types)
* [k8s/components](https://kubernetes.io/docs/concepts/overview/components/)
* [rbac](https://kubernetes.io/docs/reference/access-authn-authz/rbac/)
* [install-bash-auto-completion](https://hhming.moe/post/install-bash-auto-completion/)
* [Spring Cloud for Microservices Compared to Kubernetes](https://developers.redhat.com/blog/2016/12/09/spring-cloud-for-microservices-compared-to-kubernetes)
* [Re: [請益] 雲端技術是Java工程師的必備技能嗎](https://www.ptt.cc/bbs/Soft_Job/M.1694682456.A.435.html)
* [架構師觀點: 你需要什麼樣的 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)
## prerequisite cli-tools
* container runtime/engine, just choose one for kind
* [docker engine](https://docs.docker.com/engine/install/)
* [rootless](https://docs.docker.com/engine/security/rootless/#how-it-works)
* [podman](https://podman.io/docs/installation#installing-on-linux)
* [kind](https://kind.sigs.k8s.io/)
* [[ Kube 43.2 ] Getting started with KinD | Local multi-node k8s cluster in Docker containers](https://youtu.be/kkW7LNCsK74)
* [如何在 Bash 安裝新的自動補齊手稿](https://hhming.moe/post/install-bash-auto-completion/)
* [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/)
* [kustomize](https://kubectl.docs.kubernetes.io/)
* [fzf](https://github.com/junegunn/fzf#using-linux-package-managers)
* [kubie](https://github.com/sbstp/kubie#installation)
* [Autocompletion](https://github.com/sbstp/kubie#autocompletion)
* [k9s](https://github.com/derailed/k9s)
* [k3s](https://k3s.io/)
* [just](https://github.com/casey/just/tree/master)
* Just a command runner
* just is a handy way to save and run project-specific commands.
## setup
* k3s on proxmox witg terrform
* [terraform/tutorials/docker-get-started/install-cli](https://developer.hashicorp.com/terraform/tutorials/docker-get-started/install-cli)
* [terraform/cli/commands](https://developer.hashicorp.com/terraform/cli/commands)
* [terraform/language/providers/configuration](https://developer.hashicorp.com/terraform/language/providers/configuration)
* [terraform/language/providers/requirements](https://developer.hashicorp.com/terraform/language/providers/requirements)
* [terraform-provider-proxmox/issues/784](https://github.com/Telmate/terraform-provider-proxmox/issues/784)
* [terraform-proxmox-k3s](https://github.com/oobenland/terraform-proxmox-k3s/tree/main)
* kind
* setup a kind cluster
```shell
bash scripts/kind/setup.sh
```
* Setting Up An Ingress Controller
```shell
bash scripts/kind/ingress-nginx.sh
```
* Test
```shell
bash scripts/kind/test.sh
```
## deployments/services
* [local_library_website](https://github.com/hong539/local_library_website)
* [SRS4](https://ossrs.net/lts/zh-cn/docs/v4/doc/introduction)
## sub-systems
* [Ingress NGINX Controller](https://github.com/kubernetes/ingress-nginx/)
* [SSL Passthrough](https://github.com/kubernetes/ingress-nginx/blob/main/docs/user-guide/tls.md#ssl-passthrough)
* [Exposing TCP and UDP services](https://kubernetes.github.io/ingress-nginx/user-guide/exposing-tcp-udp-services/)
* [Exposing FastCGI Servers](https://kubernetes.github.io/ingress-nginx/user-guide/fcgi-services/)
* php-fpm nginx
* [PHP-FPM + Nginx on Kubernetes](https://stackoverflow.com/questions/49494602/php-fpm-nginx-on-kubernetes)
* [Has anyone been able to configure nginx-ingress -> fpm ? Been unable to configure this](https://github.com/kubernetes/ingress-nginx/issues/8207)
* [metrics-server](https://github.com/kubernetes-sigs/metrics-server)
* [fluentbit](https://docs.fluentbit.io/manual/installation/kubernetes)
* [Reloader](https://github.com/stakater/Reloader)
* [gitlab runner](https://docs.gitlab.com/runner/install/kubernetes.html)
* [emqx-operator](https://github.com/emqx/emqx-operator)
* [Specify secrets for listeners TLS certificates](https://github.com/emqx/emqx-operator/issues/110)
* SSL/TLS TLS termination proxy part
* [nacos](https://nacos.io/zh-cn/docs/what-is-nacos.html)
* discovery each node nacos cluster mode
* [dns issue for nacos cluser mode](https://github.com/nacos-group/nacos-k8s/issues?q=dns)
* [Kubernetes Nacos](https://nacos.io/zh-cn/docs/use-nacos-with-kubernetes.html)
* [nacos-k8s](https://github.com/nacos-group/nacos-k8s)
* [nacos-operator](https://github.com/nacos-group/nacos-k8s/blob/master/operator/README.md)
* [kubevirt](https://kubevirt.io/)
* [Cloud Native Live: Making VMs a first-class citizen in Kubernetes with KubeVirt](https://youtu.be/vMYQeFJX0Dk)
* [RabbitMQ](https://www.rabbitmq.com/kubernetes/operator/operator-overview.html)
* [prometheus](https://prometheus.io/docs/prometheus/latest/installation/)
* [kube-prometheus](https://github.com/prometheus-operator/kube-prometheus)
* ELK(Elastic Search/Logstash/Kibana) stack or EFK(Elastic Search/fluentbit/Kibana) stack
* [Elastic Cloud on Kubernetes](https://www.elastic.co/downloads/elastic-cloud-kubernetes)
* [Quickstart](https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-quickstart.html)
* [fluentbit](https://fluentbit.io/)
* [installation](https://docs.fluentbit.io/manual/installation/kubernetes#installation)
* [elastalert2](https://github.com/jertel/elastalert2)
```shell
#For test metrics-server
kubectl top nodes
kubectl top pods
```
## Important!!!
== We're Using GitHub Under Protest ==
This project is currently hosted on GitHub. This is not ideal; GitHub is a
proprietary, trade-secret system that is not Free and Open Souce Software
(FOSS). We are deeply concerned about using a proprietary system like GitHub
to develop our FOSS project. We have an
[open {bug ticket, mailing list thread, etc.} ](INSERT_LINK) where the
project contributors are actively discussing how we can move away from GitHub
in the long term. We urge you to read about the
[Give up GitHub](https://GiveUpGitHub.org) campaign from
[the Software Freedom Conservancy](https://sfconservancy.org) to understand
some of the reasons why GitHub is not a good place to host FOSS projects.
If you are a contributor who personally has already quit using GitHub, please
[check this resource](INSERT_LINK) for how to send us contributions without
using GitHub directly.
Any use of this project's code by GitHub Copilot, past or present, is done
without our permission. We do not consent to GitHub's use of this project's
code in Copilot.
