Skip to content

Instantly share code, notes, and snippets.

@lehainam-dev
Last active May 25, 2023 08:05
Show Gist options
  • Save lehainam-dev/42e8243b1a99ab67510cff62438af9fd to your computer and use it in GitHub Desktop.
Save lehainam-dev/42e8243b1a99ab67510cff62438af9fd to your computer and use it in GitHub Desktop.
export $(cat .env | xargs)
kubectl get pods | grep Error | awk '{print $1}' | xargs kubectl delete pod
redis-cli DEL $(redis-cli KEYS "pattern:*")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment