ungleich-tools/k8s/bird-router.sh

11 lines
246 B
Bash
Raw Normal View History

2023-06-25 18:57:20 +00:00
#!/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}') "$@"