Skip to content

Latest commit

 

History

History
139 lines (92 loc) · 1.33 KB

README.md

File metadata and controls

139 lines (92 loc) · 1.33 KB

personal-cluster

A local Kubernetes cluster.

Prerequisites

Cluster Operation

Create

make cluster-create

Delete

make cluster-delete

Pause

make cluster-pause

Unpause

make cluster-unpause

Services in Cluster

Kubernetes Dashboard

Create & Test

make dashboard-apply # See localhost:8443

Delete

make dashboard-delete

Grafana

Create & Test

make grafana-apply # See localhost:3000

Delete

make grafana-delete

Postgres

Create & Test

make postgres-apply
psql -h 0.0.0.0 -U postgres -c "\\l" # default password is "pass"

Delete

make postgres-delete

Redis

Create & Test

make redis-apply
redis-cli -c info

Delete

make redis-delete

Scylla

Create & Test

make scylla-apply
cqlsh

Delete

make scylla-delete

Troubleshoot

kubectl get

kubectl get deployment
kubectl get pod
kubectl get pv
kubectl get pvc

kubectl describe

kubectl describe pod redis-xxxxx

kubectl logs

kubectl logs postgres-xxxxx

kubectl exec

kubectl exec -it postgres-xxxxx -- /bin/bash