Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/miladhzzzz/kinda
Kubernetes Lab : Docker image cluster
https://github.com/miladhzzzz/kinda
cluster development-environment docker kubernetes testing
Last synced: 11 days ago
JSON representation
Kubernetes Lab : Docker image cluster
- Host: GitHub
- URL: https://github.com/miladhzzzz/kinda
- Owner: miladhzzzz
- Created: 2023-06-14T14:06:46.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-06-17T12:34:58.000Z (over 1 year ago)
- Last Synced: 2024-11-05T22:32:20.417Z (about 2 months ago)
- Topics: cluster, development-environment, docker, kubernetes, testing
- Language: Shell
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## kinda
> this is a lab for understanding kubernetes better
This is a Dockerfile for creating a Kubernetes cluster using the kubeadm tool. The Dockerfile installs the necessary packages for kubeadm, kubelet, and kubectl, initializes the Kubernetes cluster using kubeadm, installs the Calico network plugin, exposes the Kubernetes API server, and starts the Kubernetes API server.
### Usage
To use this Dockerfile, follow these steps:
```shell
# For Building the docker image, first clone the repo:
git clone https://github.com/miladhzzzz/kinda# Move to the Kinda Directory:
cd kinda# Use Make to build and run the image
make build && make run# Extract the kubeconfig
chmod +x Extract_kubeconfig.sh && ./Extract_kubeconfig.sh
```> This Dockerfile is for demonstration purposes only and should not be used in production environments. It is recommended to use a more secure method for initializing the Kubernetes cluster, such as kubeadm's built-in token-based authentication method.