10ksim/deployment/deployment.sh

9 lines
622 B
Bash
Raw Normal View History

2024-03-04 11:23:14 +00:00
kubectl apply -f bootstrap.yaml
kubectl rollout status --watch --timeout=30000s statefulset/bootstrap -n zerotesting
kubectl apply -f midstrap.yaml
kubectl rollout status --watch --timeout=30000s statefulset/midstrap -n zerotesting
kubectl apply -f nodes.yaml
2024-03-04 13:44:34 +00:00
echo "We have deployed all nodes, please watch Prometheus or Grafana to see when they have reached a healthy state."
echo "Please note you cannot (yet) rely on the Ready state as it does not actually indicate an unhealthy peer, just one that is not ready for bootstrapping from."
#kubectl rollout status --watch --timeout=30000s statefulset/nodes -n zerotesting