Last active
July 24, 2018 20:28
-
-
Save jcantrill/18aefc9741326ec55e0c3b7f9df5e175 to your computer and use it in GitHub Desktop.
Unassiged shards
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
#!/bin/bash | |
pod=$1 | |
oc exec -c elasticsearch $pod -- es_util --query=_cat/shards?h=index,shard,prirep,state,unassigned.reason| grep UNASSIGNED |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment