mirror of
https://github.com/kemko/nomad.git
synced 2026-01-03 08:55:43 +03:00
15 lines
373 B
Bash
Executable File
15 lines
373 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Copyright (c) HashiCorp, Inc.
|
|
# SPDX-License-Identifier: BUSL-1.1
|
|
|
|
set -xeuo pipefail
|
|
|
|
nomad volume status -type=host -verbose
|
|
nomad operator api /v1/nodes | jq '.[].HostVolumes'
|
|
|
|
addr="$(nomad service info -json job | jq -r '.[0].Address'):8000"
|
|
curl -sS "$addr/external/" | grep hi
|
|
curl -sS "$addr/internal/" | grep hi
|
|
|
|
echo '💚 looks good! 💚'
|