drmorr on Nostr: Is there an "up-arrow" plugin for Kubernetes that will let you run the same command ...
Is there an "up-arrow" plugin for Kubernetes that will let you run the same command but replace the pod name in the command with the currently running pod name?
So many times I type `kubectl logs my-pod-12345-abcde`, then go make some changes to the "my-pod" deployment, and then run `kubectl logs my-pod-12345-abcde` again only to be met with a pod-not-found error.
#kubernetes #k8s
Published at
2024-06-24 22:39:15Event JSON
{
"id": "d76b6106dee16d21e9767fbb7dfbce5b8f0f47706ab358929d6c72a558afa93f",
"pubkey": "9a4bc937a1f52a1f38a0bd83f1487ec512bc61804331aee60de3759c96057530",
"created_at": 1719268755,
"kind": 1,
"tags": [
[
"proxy",
"https://hachyderm.io/@drmorr/112673997128819451",
"web"
],
[
"t",
"kubernetes"
],
[
"t",
"k8s"
],
[
"proxy",
"https://hachyderm.io/users/drmorr/statuses/112673997128819451",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://hachyderm.io/users/drmorr/statuses/112673997128819451",
"pink.momostr"
],
[
"expiration",
"1721861604"
]
],
"content": "Is there an \"up-arrow\" plugin for Kubernetes that will let you run the same command but replace the pod name in the command with the currently running pod name?\n\nSo many times I type `kubectl logs my-pod-12345-abcde`, then go make some changes to the \"my-pod\" deployment, and then run `kubectl logs my-pod-12345-abcde` again only to be met with a pod-not-found error.\n\n#kubernetes #k8s",
"sig": "e2e8cf3e4dff150f3893ec1d9d9504caf873b439ca5e9b038d9662e7a99f6eb8dca4182fc464f2664f06d26e8966e81fb8d26f8b06f6ff920ba1d1cc38e982f5"
}