mirror of
https://github.com/dredx/prole.git
synced 2026-09-24 16:44:33 +00:00
- fix conf/prod/prole.cfg by replacing hardcoded /Users/chrisfu paths with /Users/chrisfu - remove injected [update.sh] log lines and stray password artifacts so config is executable - include latest pending updates across deployment config, UI/core flow, vault/network artifacts, and helper scripts
24 lines
922 B
Bash
24 lines
922 B
Bash
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
export KUBECONFIG=/Users/chrisfu/dev/prole/prole-k3s.kubeconfig
|
|
|
|
for node in gandalf.prole.org merlin.prole.org myrddin.prole.org pi.prole.org; do
|
|
safe="${node//./-}"
|
|
echo -n "==> $node: "
|
|
kubectl -n gitlab run "jv2-${safe}" \
|
|
--image=ubuntu:22.04 --restart=Never --rm --attach --quiet \
|
|
--overrides="{
|
|
\"spec\":{
|
|
\"nodeName\":\"${node}\",
|
|
\"tolerations\":[{\"operator\":\"Exists\"}],
|
|
\"volumes\":[{\"name\":\"jlib\",\"hostPath\":{\"path\":\"/opt/gitlab-jemalloc\",\"type\":\"DirectoryOrCreate\"}}],
|
|
\"containers\":[{
|
|
\"name\":\"c\",
|
|
\"image\":\"ubuntu:22.04\",
|
|
\"command\":[\"bash\",\"-c\",
|
|
\"test -f /jlib/libjemalloc.so.2 && ls -lh /jlib/libjemalloc.so.2 || echo MISSING\"],
|
|
\"volumeMounts\":[{\"name\":\"jlib\",\"mountPath\":\"/jlib\"}]
|
|
}]
|
|
}}" 2>&1 || true
|
|
done
|