harveywells02/06/2019, 6:10 PM
? For example we have a number of enrolled centos linux hosts that we’d like to label with
nyanshak02/07/2019, 4:28 PM
hosts (such as environment variables or a file or something -- placed by whatever config mgmt tool you use), but then it's easy:
The first things that come to mind are... files on the system, env vars, or maybe ec2_instance_metadata / ec2_instance_tags, but that'll be up to you / your environment.
--- apiVersion: v1 kind: label spec: name: prod query: > SELECT * FROM process_envs WHERE key = 'MY_ENV_KEY' AND value = 'prod';
zwass02/08/2019, 2:38 AM