https://github.com/miladhzzzz/kinda
Kubernetes Lab : Docker image cluster
https://github.com/miladhzzzz/kinda
cluster development-environment docker kubernetes testing
Last synced: about 2 months 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 (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-06-17T12:34:58.000Z (about 3 years ago)
- Last Synced: 2025-02-15T18:51:34.770Z (over 1 year 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.