Kubernetes App Essentials
约 1 分钟阅读
Resources
- Deploy Nextcloud on Kubernetes链接kauri.io/48-deploy-nextcloud-on-kuberbetes-the-selfhosted-d/f958350b22794419b09fc34c7284b02e/aDeploy Nextcloud on Kubernetes - Self-hosted Dropbox alternative. · Self-host Media Center on Kubernetes - Plex, Sonarr, Radarr, Transmission, and Jackett.笔记:Kubernetes App Essentials - Self-hosted Dropbox alternative.
- Self-host Media Center on Kubernetes - Plex, Sonarr, Radarr, Transmission, and Jackett.
- Self-host Pi-Hole on Kubernetes - Block ads and trackers at the network level.
- Self-host Bitwarden on Kubernetes - Password manager.
Namespaces
- 默认创建三个空间 default、kube-system、kube-public
- 不建议超过 10 个服务的场景下使用 default 空间
- 创建空间没有什么坏处,相反,如果单个空间内容过多可能影响性能
- 空间职责
- 切分团队
- 切分环境
- 切分服务
Best Practices
- Use kubensGitHubahmetb/kubectx for namespace management.
- Kubernetes best practices: Organizing with Namespaces
- Kubernetes ships with:
default,kube-system(used for Kubernetes components), andkube-public. - Avoid using the
defaultnamespace in large production systems to prevent accidental overwrites or disruption. - Use multiple namespaces to segment services into manageable chunks.
- To isolate namespaces, use Network Policies.
Platform Components (Mantl Example)
MantlGitHubmantl/mantl is a modern platform for rapidly deploying globally distributed services.
- Kubernetes: For managing, organizing, and scheduling containers.
- Consul: For service discovery.
- Vault: For managing secrets.
- Mesos: Cluster manager for efficient resource isolation and sharing.
- Marathon: Cluster management for long-running containerized services.
- Terraform: Deployment to multiple cloud providers.
- Docker: Container runtime.
- Traefik: For proxying external traffic.
- mesos-consul: Populating Consul service discovery with Mesos tasks.
GitOps
关联信息
反向链接、本文链接的其他页面和外部资料。
参考资料
GitHub2 条
- ahmetb/kubectxgithub.com/ahmetb/kubectx
- mantl/mantlgithub.com/mantl/mantl
其他外链3 条
- kauri.iokauri.io/
- cloud.google.com/blog/products/gcp/kubernetes-best-practices-organizing-with-namespacescloud.google.com/blog/products/gcp/kubernetes-best-practices-organizing-with-namespaces
- kauri.io/48-deploy-nextcloud-on-kuberbetes-the-selfhosted-d/f958350b22794419b09fc34c7284b02e/akauri.io/48-deploy-nextcloud-on-kuberbetes-the-selfhosted-d/f958350b22794419b09fc34c7284b02e/a