Welcome to the repository for the article (currently in draft): "Implementing Multi-Tenancy in Kubernetes." This repository contains code examples, resources, and insights discussed in the article.
As a Devops Professional, consider that you have been offered a project by WorldBooks Inc (The company name used in this article is entirely fictitious and has been deliberately chosen for creative and illustrative purposes. Any similarity to any actual company name is not intentional and should be construed as coincidental) to convert their book stores inventory management across multiple locations around the world from a manual inventory solution to a cloud solution in which every location around the world accesses a similar platform but sees only books stored and managed in their location.
Now there might be plenty of ways to solve this problem, some may be less complex or more straightforward howver for the purpose of this project we are going to be looking at Multitenancy in kubernetes and how it can be applied to solve our current problem.
The following section gives a summary of the concepts used in the article and links that can take you to their usage in the repo.
- Kubernetes
- REST API NAMING CONVENTIONS
- gRPC. See usage
- GitHub Actions. See usage
- Amazon Elastic Container Registry. See usage
- Amazon Elastic Kubernetes Service. See usage
- Kubernetes Deployments. See usage
- Kubernetes Service. See usage
- Kubernetes Ingress. See usage
- DRY (Don’t repeat yourself).
- Helm Charts. See usage
- Storage in Kubernetes. See usage
- Kubernets Namespaces. See usage
- Network Policies. See usage
- Resource Quotas. See usage
- LimitRanges. See usage
- Soft and Hard Multi Tenancy
- Cluster-as-a-service tools: Cluster API, HyperShift e.t.c
- Familiarity with Kubernetes concepts.
- Understanding of REST API conventions, gRPC, etc.
- The Go language installed on your local machine. See https://go.dev/ for details on how to install based the OS of your local machine.
- A running kubernetes cluster (we used Amazon Elastic Kubernetes Service in this article). See https://www.vmware.com/topics/glossary/content/kubernetes-cluster.html for details.
This repository contains code examples used in the presentation. You can find them under this directory.
You can also follow me on github and twitter. Looking forward to connecting and hearing how this article has helped you.
Contributions are welcome! If you have improvements, suggestions, or want to add relevant resources, feel free to submit a pull request.
This project is licensed under the MIT License.