ungleich-tools/k8s/bird-router.sh
2023-06-25 20:57:20 +02:00

10 lines
246 B
Bash
Executable file

#!/bin/sh
# Nico Schottelius, 2023-06-09
# Enter the ceph toolbox
if [ -z "$@" ]; then
set -- -c bird -- birdc
fi
set -x
kubectl exec -ti $(kubectl get pods -l app.kubernetes.io/component=bird -o jsonpath='{.items[*].metadata.name}') "$@"