<aside>📌 Command-first runbook for customer deployment calls. Replace placeholders before running. For production environments, run changes through the customer-approved change process.
</aside>
Run:
export KUBECONFIG=/path/to/customer-kubeconfig
export KUBE_CONTEXT=<customer-context>
kubectl --kubeconfig "$KUBECONFIG" --context "$KUBE_CONTEXT" config current-context
kubectl --kubeconfig "$KUBECONFIG" --context "$KUBE_CONTEXT" get nodes
kubectl --kubeconfig "$KUBECONFIG" --context "$KUBE_CONTEXT" get namespace hyperplane-minio || kubectl --kubeconfig "$KUBECONFIG" --context "$KUBE_CONTEXT" create namespace hyperplane-minio
Run:
git clone --depth=1 --branch <release-branch> <https://github.com/devsentient/monorepo.git> /tmp/monorepo
cd /tmp/monorepo/stack-components/minio/helm
helm dependency update .
Run:
kubectl --kubeconfig "$KUBECONFIG" --context "$KUBE_CONTEXT" create secret generic minio-root-credentials -n hyperplane-minio --from-literal=rootUser='<access-key>' --from-literal=rootPassword='<secret-key>'
Run:
cat > /tmp/minio-values.yaml <<'EOF_VALUES'
minio:
mode: standalone
replicas: 1
persistence:
enabled: true
size: 100Gi
existingSecret: minio-root-credentials
resources:
requests:
cpu: 500m
memory: 1Gi
limits:
cpu: 2
memory: 4Gi
buckets:
- name: customer-data
policy: none
- name: application-artifacts
policy: none
consoleIngress:
enabled: true
host: minio-console.<customer-domain>
EOF_VALUES
Run:
helm --kubeconfig "$KUBECONFIG" --kube-context "$KUBE_CONTEXT" upgrade --install minio /tmp/monorepo/stack-components/minio/helm \\
--namespace hyperplane-minio \\
--create-namespace \\
--values /tmp/minio-values.yaml \\
--timeout 15m \\
--wait
Run:
helm --kubeconfig "$KUBECONFIG" --kube-context "$KUBE_CONTEXT" status minio -n hyperplane-minio
kubectl --kubeconfig "$KUBECONFIG" --context "$KUBE_CONTEXT" get pods,svc,pvc,ingress,virtualservice -n hyperplane-minio
kubectl --kubeconfig "$KUBECONFIG" --context "$KUBE_CONTEXT" get events -n hyperplane-minio --sort-by=.lastTimestamp | tail -n 60
kubectl --kubeconfig "$KUBECONFIG" --context "$KUBE_CONTEXT" logs -n hyperplane-minio -l app.kubernetes.io/instance=minio --tail=100
Run:
kubectl --kubeconfig "$KUBECONFIG" --context "$KUBE_CONTEXT" port-forward -n hyperplane-minio svc/minio 9000:9000
# In another terminal:
curl <http://localhost:9000/minio/health/live>
Run:
helm --kubeconfig "$KUBECONFIG" --kube-context "$KUBE_CONTEXT" history minio -n hyperplane-minio
helm --kubeconfig "$KUBECONFIG" --kube-context "$KUBE_CONTEXT" rollback minio <REVISION> -n hyperplane-minio
kubectl --kubeconfig "$KUBECONFIG" --context "$KUBE_CONTEXT" rollout status deployment/minio -n hyperplane-minio || true