Initial commit: k8s cluster manifests and scripts
This commit is contained in:
18
apps/opengist/deploy.sh
Executable file
18
apps/opengist/deploy.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
MANIFESTS_DIR="./manifests"
|
||||
|
||||
echo "🚀 Deploying OpenGist from ${MANIFESTS_DIR} ..."
|
||||
|
||||
kubectl apply -f "${MANIFESTS_DIR}/opengist-pvc.yaml"
|
||||
kubectl apply -f "${MANIFESTS_DIR}/opengist-deployment.yaml"
|
||||
kubectl apply -f "${MANIFESTS_DIR}/opengist-svc-web.yaml"
|
||||
kubectl apply -f "${MANIFESTS_DIR}/opengist-svc-ssh.yaml"
|
||||
kubectl apply -f "${MANIFESTS_DIR}/opengist-ingress.yaml"
|
||||
|
||||
echo "⏳ Waiting for deployment to be ready..."
|
||||
kubectl rollout status deployment/opengist
|
||||
|
||||
echo "✅ OpenGist deployed successfully"
|
||||
|
||||
Reference in New Issue
Block a user