Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/navneetguptacse/kubernetes.io
A small project to explore K8s concepts using minikube.
https://github.com/navneetguptacse/kubernetes.io
flashcards kubernetes learning mongo postgres rabbitmq
Last synced: 18 days ago
JSON representation
A small project to explore K8s concepts using minikube.
- Host: GitHub
- URL: https://github.com/navneetguptacse/kubernetes.io
- Owner: navneetguptacse
- Created: 2024-06-23T10:32:41.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-06-23T10:33:43.000Z (5 months ago)
- Last Synced: 2024-10-11T05:41:38.076Z (about 1 month ago)
- Topics: flashcards, kubernetes, learning, mongo, postgres, rabbitmq
- Language: Java
- Homepage:
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Kubernetes
A project to explore K8s concepts using minikube.## Setups
1. [Monogo cluster](https://github.com/navneetguptacse/kubernetes.io/tree/master/mongo)
2. [RabbitMQ cluster](https://github.com/navneetguptacse/kubernetes.io/tree/master/rabbitmq)
3. [RabbitMQ Prometheus Grafana](https://github.com/navneetguptacse/kubernetes.io/tree/master/rabbitmq-prometheus-grafana)
4. [Expense-tracker](https://github.com/navneetguptacse/kubernetes.io/tree/master/expense-tracker)## `kubectl` commands
#### Create deployment:```kubectl create deployment [name]```
#### Edit deployment:
```kubectl edit deployment [name]```
#### Delete deployment:
```kubectl delete deployment [name]```
#### Status of different K8s components:
```
kubectl get nodes
kubectl get pod
kubectl get pod -o wide
kubectl get services
kubectl get replicaset
kubectl get deployment
kubectl get secret
```#### Debugging pods:
```
kubectl logs [podname]
kubectl exec -ti [podname] -- bin/bash
kubectl describe pod [podname]
kubectl get deployment [deployment name] -o yaml > filename.yaml
```#### Using config file:
```
kubectl apply -f [filename]
kubectl delete -f [filename]
```#### namespaces:
```kubectl create namespace [name]```#### Check service:
```minikube service servicename```#### Other commands:
```kubectl cluster-info```