Skip to content

Commit

Permalink
Merge pull request #552 from hyposcaler-bot/hyposcaler-bot/issue-551
Browse files Browse the repository at this point in the history
fixes for examples.
  • Loading branch information
karimra authored Nov 7, 2024
2 parents ce62f8d + c6a0047 commit 82110de
Show file tree
Hide file tree
Showing 50 changed files with 112 additions and 63 deletions.
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

0 comments on commit 82110de

Please sign in to comment.