Skip to content
New issue

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

fixes for examples. #552

Merged
merged 2 commits into from
Nov 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ topology:

gnmic:
kind: linux
image: gnmic:0.0.0
image: ghcr.io/openconfig/gnmic:latest
binds:
- ./gnmic.yaml:/app/gnmic.yaml:ro
- /var/run/docker.sock:/var/run/docker.sock
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ scrape_configs:
scrape_interval: 10s
consul_sd_configs:
- server: clab-lab110-consul-agent:8500
services:
- prometheus-prom-output-js
- prometheus-prom-output-nats
- prometheus-prom-output-oc
- prometheus-prom-output-redis

- job_name: 'gnmic-internal'
scrape_interval: 10s
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ topology:

consul-agent:
kind: linux
image: consul:latest
image: hashicorp/consul:latest
ports:
- 8500:8500
- 8600:8600/udp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ services:
- consul-agent

consul-agent:
image: consul:latest
image: hashicorp/consul:latest
container_name: consul
networks:
- gnmic-net
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ scrape_configs:
scrape_interval: 10s
consul_sd_configs:
- server: consul-agent:8500
services:
- prometheus-prom-output
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ topology:

gnmic:
kind: linux
image: ghcr.io/openconfig/gnmic:latest
# image: ghcr.io/openconfig/gnmic:latest
image: priv-gnmic
binds:
- ./gnmic.yaml:/app/gnmic.yaml:ro
- /var/run/docker.sock:/var/run/docker.sock
Expand Down Expand Up @@ -72,7 +73,7 @@ topology:

consul-agent:
kind: linux
image: consul:latest
image: hashicorp/consul:latest
ports:
- 8500:8500
- 8600:8600/udp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ scrape_configs:
scrape_interval: 10s
consul_sd_configs:
- server: clab-lab15-consul-agent:8500
services:
- prometheus-prom-output
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ services:
- consul-agent

consul-agent:
image: consul:latest
image: hashicorp/consul:latest
container_name: consul
networks:
- gnmic-net
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ scrape_configs:
scrape_interval: 10s
consul_sd_configs:
- server: consul-agent:8500
services:
- prometheus-prom-output
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ topology:

consul-agent:
kind: linux
image: consul:latest
image: hashicorp/consul:latest
ports:
- 8500:8500
- 8600:8600/udp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ topology:

gnmic:
kind: linux
image: gnmic:0.0.0
image: ghcr.io/openconfig/gnmic:latest
binds:
- ./gnmic.yaml:/app/gnmic.yaml:ro
- /var/run/docker.sock:/var/run/docker.sock
cmd: "--config /app/gnmic.yaml --log subscribe"

cortex:
kind: linux
image: quay.io/cortexproject/cortex:latest
image: quay.io/cortexproject/cortex:v1.18.1
ports:
- 9009:9009
binds:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ topology:

gnmic:
kind: linux
image: gnmic:0.0.0
image: ghcr.io/openconfig/gnmic:latest
binds:
- ./gnmic.yaml:/app/gnmic.yaml:ro
- /var/run/docker.sock:/var/run/docker.sock
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ topology:

gnmic:
kind: linux
image: gnmic:0.0.0
image: ghcr.io/openconfig/gnmic:latest
binds:
- ./gnmic.yaml:/app/gnmic.yaml:ro
- /var/run/docker.sock:/var/run/docker.sock
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ topology:

consul-agent:
kind: linux
image: consul:latest
image: hashicorp/consul:latest
ports:
- 8500:8500
- 8600:8600/udp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ services:
- 7892:7892

consul-agent:
image: consul:latest
image: hashicorp/consul:latest
container_name: consul
networks:
- gnmic-net
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ topology:

gnmic1:
kind: linux
#image: ghcr.io/openconfig/gnmic:latest
image: ghcr.io/openconfig/gnmic:latest
binds:
- ./gnmic.yaml:/app/gnmic.yaml:ro
Expand All @@ -53,7 +52,6 @@ topology:

gnmic2:
kind: linux
#image: ghcr.io/openconfig/gnmic:latest
image: ghcr.io/openconfig/gnmic:latest
binds:
- ./gnmic.yaml:/app/gnmic.yaml:ro
Expand All @@ -70,7 +68,6 @@ topology:

gnmic3:
kind: linux
#image: ghcr.io/openconfig/gnmic:latest
image: ghcr.io/openconfig/gnmic:latest
binds:
- ./gnmic.yaml:/app/gnmic.yaml:ro
Expand All @@ -87,7 +84,7 @@ topology:

consul-agent:
kind: linux
image: consul:latest
image: hashicorp/consul:latest
ports:
- 8500:8500
- 8600:8600/udp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ scrape_configs:
scrape_interval: 10s
consul_sd_configs:
- server: clab-lab22-consul-agent:8500
services:
- prometheus-output1
- cluster2-gnmic-api
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ services:
- 9806:9806

consul-agent:
image: consul:latest
image: hashicorp/consul:latest
container_name: consul
networks:
- gnmic-net
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ scrape_configs:
scrape_interval: 10s
consul_sd_configs:
- server: consul-agent:8500
services:
- prometheus-output1
- cluster2-gnmic-api
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ skip-verify: true
encoding: json_ietf
log: true

api-server:
enable-metrics: true

loader:
type: docker
filters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ topology:
GNMIC_API: :7890
GNMIC_CLUSTERING_INSTANCE_NAME: clab-lab23-gnmic1
GNMIC_CLUSTERING_SERVICE_ADDRESS: clab-lab23-gnmic1
GNMIC_OUTPUTS_OUTPUT1_LISTEN: clab-glab23-gnmic1:9804
GNMIC_OUTPUTS_OUTPUT1_LISTEN: clab-lab23-gnmic1:9804
cmd: '--config /app/gnmic-config.yaml subscribe'

gnmic2:
Expand Down Expand Up @@ -84,7 +84,7 @@ topology:

consul-agent:
kind: linux
image: consul:latest
image: hashicorp/consul:latest
ports:
- 8500:8500
- 8600:8600/udp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ scrape_configs:
scrape_interval: 10s
consul_sd_configs:
- server: clab-lab23-consul-agent:8500
services:
- prometheus-output1
- cluster2-gnmic-api
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ services:
- 9806:9806

consul-agent:
image: consul:latest
image: hashicorp/consul:latest
container_name: consul
networks:
- gnmic-net
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ scrape_configs:
scrape_interval: 10s
consul_sd_configs:
- server: consul-agent:8500
services:
- prometheus-output1
- cluster2-gnmic-api
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ topology:

consul-agent:
kind: linux
image: consul:latest
image: hashicorp/consul:latest
ports:
- 8500:8500
- 8600:8600/udp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ scrape_configs:
scrape_interval: 10s
consul_sd_configs:
- server: clab-lab24-consul-agent:8500
services:
- prometheus-output1
- cluster2-gnmic-api
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ topology:

gnmic1:
kind: linux
image: gnmic:0.0.0
image: ghcr.io/openconfig/gnmic:latest
binds:
- ./gnmic.yaml:/app/gnmic.yaml:ro
- /var/run/docker.sock:/var/run/docker.sock
Expand All @@ -52,7 +52,7 @@ topology:

gnmic2:
kind: linux
image: gnmic:0.0.0
image: ghcr.io/openconfig/gnmic:latest
binds:
- ./gnmic.yaml:/app/gnmic.yaml:ro
- /var/run/docker.sock:/var/run/docker.sock
Expand All @@ -68,7 +68,7 @@ topology:

gnmic3:
kind: linux
image: gnmic:0.0.0
image: ghcr.io/openconfig/gnmic:latest
binds:
- ./gnmic.yaml:/app/gnmic.yaml:ro
- /var/run/docker.sock:/var/run/docker.sock
Expand All @@ -84,7 +84,7 @@ topology:

consul-agent:
kind: linux
image: consul:latest
image: hashicorp/consul:latest
ports:
- 8500:8500
- 8600:8600/udp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ scrape_configs:
scrape_interval: 10s
consul_sd_configs:
- server: clab-lab25-1-consul-agent:8500
services:
- cluster2-gnmic-api
- prometheus-output1
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ topology:

gnmic1:
kind: linux
image: gnmic:0.0.0
image: ghcr.io/openconfig/gnmic:latest
binds:
- ./gnmic.yaml:/app/gnmic.yaml:ro
- /var/run/docker.sock:/var/run/docker.sock
Expand All @@ -52,7 +52,7 @@ topology:

gnmic2:
kind: linux
image: gnmic:0.0.0
image: ghcr.io/openconfig/gnmic:latest
binds:
- ./gnmic.yaml:/app/gnmic.yaml:ro
- /var/run/docker.sock:/var/run/docker.sock
Expand All @@ -68,7 +68,7 @@ topology:

gnmic3:
kind: linux
image: gnmic:0.0.0
image: ghcr.io/openconfig/gnmic:latest
binds:
- ./gnmic.yaml:/app/gnmic.yaml:ro
- /var/run/docker.sock:/var/run/docker.sock
Expand All @@ -84,7 +84,7 @@ topology:

consul-agent:
kind: linux
image: consul:latest
image: hashicorp/consul:latest
ports:
- 8500:8500
- 8600:8600/udp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ scrape_configs:
scrape_interval: 10s
consul_sd_configs:
- server: clab-lab25-2-consul-agent:8500
services:
- cluster2-gnmic-api
- prometheus-output1
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ topology:

gnmic1:
kind: linux
image: gnmic:0.0.0
image: ghcr.io/openconfig/gnmic:latest
binds:
- ./gnmic.yaml:/app/gnmic.yaml:ro
- /var/run/docker.sock:/var/run/docker.sock
Expand All @@ -52,7 +52,7 @@ topology:

gnmic2:
kind: linux
image: gnmic:0.0.0
image: ghcr.io/openconfig/gnmic:latest
binds:
- ./gnmic.yaml:/app/gnmic.yaml:ro
- /var/run/docker.sock:/var/run/docker.sock
Expand All @@ -68,7 +68,7 @@ topology:

gnmic3:
kind: linux
image: gnmic:0.0.0
image: ghcr.io/openconfig/gnmic:latest
binds:
- ./gnmic.yaml:/app/gnmic.yaml:ro
- /var/run/docker.sock:/var/run/docker.sock
Expand All @@ -84,7 +84,7 @@ topology:

consul-agent:
kind: linux
image: consul:latest
image: hashicorp/consul:latest
ports:
- 8500:8500
- 8600:8600/udp
Expand Down
Loading