You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generate a changelog on the fly for a github repo based on releases with nu and the gh cli
In nushell, you can generate a changelog on the fly with the following:
gh release list--json name
| from json
| get name
| par-each --keep-order { |name|
gh release view $name--json name,body,author
| from json
| $"# ($in.name) by ($in.author.login)\n\n($in.body)"
Troubleshooting Redis StatefulSet: Clearing Data from a PVC When Pods Are Crashlooping
The Problem
I encountered an issue with a Redis StatefulSet in our staging environment where the pods were stuck in a crashloop. The root cause was a full Persistent Volume Claim (PVC) that had run out of space. Since this was cache data in a staging environment, I needed to clear the /data folder to resolve the issue.
The challenge was that I couldn't exec into the pod directly because the Redis container was continuously crashlooping, making standard troubleshooting approaches impossible.
Enable scan on push for all AWS ECR repositories that don't have it enabled, in nushell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Example of running nvim coroutines sequentially and in parallel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters