Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/crystal-construct/roundup

Query rancher-metadata by label, and return the first, or all of the values as a single value, csv, or a list.
https://github.com/crystal-construct/roundup

Last synced: 3 months ago
JSON representation

Query rancher-metadata by label, and return the first, or all of the values as a single value, csv, or a list.

Awesome Lists containing this project

README

        

# roundup
Query rancher-metadata by label, and return the first, or all of the values as a single value, csv, or a list.

Usage:
```
roundup [options] {hosts|stacks|services|containers} predicate value-name
```
Example:
Fetch first container name that has the label "arangodb_cluster_name" with the value "cluster1":
```
roundup -first containers arangodb_cluster_name=cluster1 name
```
Options:
```
-csv Return as comma separated values
-first Select first entry only
-hostname The hostname for the rancher metadata service (defaults to rancher-metadata)
```