Initial commit: k8s cluster manifests and scripts
This commit is contained in:
27
apps/opengist/status.sh
Executable file
27
apps/opengist/status.sh
Executable file
@@ -0,0 +1,27 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
echo
|
||||
echo "=== Pod ==="
|
||||
kubectl get pod -l app=opengist -o wide
|
||||
|
||||
echo
|
||||
echo "=== Deployment ==="
|
||||
kubectl get deployment opengist
|
||||
|
||||
echo
|
||||
echo "=== Services ==="
|
||||
kubectl get svc opengist-web opengist-ssh
|
||||
|
||||
echo
|
||||
echo "=== Ingress ==="
|
||||
kubectl get ingress opengist-ingress
|
||||
|
||||
echo
|
||||
echo "=== PVC ==="
|
||||
kubectl get pvc opengist-pvc
|
||||
|
||||
echo
|
||||
echo "=== NodePort SSH ==="
|
||||
kubectl get svc opengist-ssh -o jsonpath='{.spec.ports[0].nodePort}'
|
||||
echo
|
||||
|
||||
Reference in New Issue
Block a user