Skip to content

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

License

Notifications You must be signed in to change notification settings

crystal-construct/roundup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages