syocy / personal-cluster

A local Kubernetes cluster with Kind

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A local Kubernetes cluster with Kind

License:Apache License 2.0


Languages

Language:Makefile 100.0%