We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
openio cluster incident HOST
We need an easy and efficient way to mark down all the services known to be hosted on the given host. Currently, this could be implemented like this:
( PROXY=127.0.0.1:6000 ; IP=127.0.0.2 ; oio-cluster -r "$OIO_NS" \ | awk -F\| "/$IP:/{print \$3,\$2}" \ | while read IP TYPE ; do curl -v -XPOST "http://${PROXY}/v3.0/${OIO_NS}/conscience/lock" \ -d "{\"addr\":\"${IP}\",\"type\":\"${TYPE}\",\"score\":0,\"tags\":{\"tag.up\":false}}" done )
The text was updated successfully, but these errors were encountered:
No branches or pull requests
We need an easy and efficient way to mark down all the services known to be hosted on the given host.
Currently, this could be implemented like this:
The text was updated successfully, but these errors were encountered: