Skip to content

Commit

Permalink
Doc
Browse files Browse the repository at this point in the history
  • Loading branch information
camrossi committed Jul 17, 2024
1 parent 8b15f0f commit e39b037
Show file tree
Hide file tree
Showing 10 changed files with 512 additions and 91 deletions.
168 changes: 168 additions & 0 deletions 4-fabric-example.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,168 @@
aci_exporter:
# Profiles for different fabrics
fabrics:
fab1:
username: <username>
password: <password>
apic:
- https://IP1
service_discovery: inbMgmtAddr
fab2:
username: <username>
password: <password>
apic:
- https://IP1
service_discovery: inbMgmtAddr
nsd-backbone:
username: <username>
password: <password>
apic:
- https://IP1
- https://IP2
- https://IP3
service_discovery: oobMgmtAddr
steve-uk:
username: <username>
password: <password>
apic:
- https://IP1
service_discovery: oobMgmtAddr

prometheus:
server:
ingress:
enabled: true
ingressClassName: "traefik"
hosts:
- aci-exporter-prom.apps.c1.cam.ciscolabs.com
baseURL: "http://aci-exporter-prom.apps.c1.cam.ciscolabs.com"
service:
retentionSize: 5GB
persistentVolume:
accessModes: ["ReadWriteOnce"]
size: 5Gi
# Run on high performance nodes (For context here high performance means not on my Raspberry Pis... ;) )
nodeSelector:
type: highperf

alertmanager:
baseURL: "http://aci-exporter-alertmanager.apps.c1.cam.ciscolabs.com"
ingress:
enabled: true
ingressClassName: "traefik"
hosts:
- host: aci-exporter-alertmanager.apps.c1.cam.ciscolabs.com
paths:
- path: /
pathType: ImplementationSpecific
nodeSelector:
type: highperf
config:
route:
group_by: ['alertname']
group_interval: 30s
repeat_interval: 30s
group_wait: 30s
receiver: 'webex'
receivers:
- name: webex
webex_configs:
- send_resolved: false
api_url: "https://webexapis.com/v1/messages"
room_id: ""
http_config:
authorization:
credentials: ""
grafana:
enable: true
grafana.ini:
users:
viewers_can_edit: "True"
adminPassword: <adminPassword>
nodeSelector:
type: highperf
deploymentStrategy:
type: Recreate
ingress:
ingressClassName: "traefik"
enabled: true
hosts:
- aci-exporter-grafana.apps.c1.cam.ciscolabs.com
persistence:
enabled: true
size: 2Gi

loki:
loki:
rulerConfig:
external_url: http://aci-exporter-grafana.apps.c1.cam.ciscolabs.com

minio:
nodeSelector:
type: highperf
backend:
replicas: 3
nodeSelector:
type: highperf
persistence:
enableStatefulSetAutoDeletePVC: true
size: 2Gi
read:
replicas: 3
nodeSelector:
type: highperf
write:
replicas: 3
nodeSelector:
type: highperf
persistence:
enableStatefulSetAutoDeletePVC: true
size: 2Gi

syslog:
services:
nsd-backbone:
name: nsd-backbone
labels:
type: bgp-ingress
containerPort: 1516
protocol: UDP
service:
type: LoadBalancer
port: 1516

promtail:
extraPorts:
Fab1:
name: fab1
labels:
type: bgp-ingress
containerPort: 1513
protocol: TCP
service:
type: LoadBalancer
port: 1514
Fab2:
name: fab2
labels:
type: bgp-ingress
containerPort: 1514
protocol: TCP
service:
type: LoadBalancer
port: 1514
Steve-UK:
name: steve-uk
labels:
type: bgp-ingress
containerPort: 1515
protocol: TCP
service:
type: LoadBalancer
port: 1514
nsd-backbone:
name: nsd-backbone
containerPort: 1516
protocol: TCP
service:
type: ClusterIP
Loading

0 comments on commit e39b037

Please sign in to comment.