Skip to content

Commit

Permalink
Added Set-up guide to run a pod
Browse files Browse the repository at this point in the history
  • Loading branch information
kimxoals authored Nov 20, 2023
1 parent ef3c446 commit af0e63b
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions Topics/Development_Process/kubernetes.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,30 @@ Kubernetes, also known as K8s, is an open-source platform that automates the man
3. **Volumes:** Provides a way to store data and stateful applications.
4. **Namespaces:** Enable multiple virtual clusters on the same physical cluster.

## Set-up (For macOs)
1. **Install Homebrew** (if not already installed):
[Homebrew](https://brew.sh/)

2. **Install Minikube via Homebrew**:
- In Terminal, run `brew install minikube`.

3. **Start Minikube**:
- Run `minikube start` in Terminal. This command starts a local Kubernetes cluster.

4. **Check the Minikube Status**:
- Run `minikube status` to ensure everything is up and running.

5. **Install `kubectl`**:
- If you don't have `kubectl` installed, run `brew install kubectl`.

6. **Run a Kubernetes Pod**:
- Use `kubectl` to run a pod, for example, `kubectl run my-pod --image=nginx`. Replace `my-pod` with your desired pod name and `nginx` with the Docker image you want to use.

7. **Check the Pod Status**:
- Run `kubectl get pods` to see if your pod is running.

That's it!

## Conclusion

Kubernetes is a powerful tool for managing containerized applications, providing efficiency and flexibility in application deployment and management.
Expand Down

0 comments on commit af0e63b

Please sign in to comment.