Skip to content

Commit

Permalink
metrics enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
maguowei committed Nov 22, 2023
1 parent 8bc463b commit fdad7cd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ingress-nginx/custom/lua/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ kubectl apply -f ingress-nginx/custom/lua/ingress.yaml

# ingrss 升级
helm upgrade -n ingress-nginx ingress-nginx ingress-nginx/ingress-nginx -f ingress-nginx/custom/lua/values.yaml

# 删除ingress
helm delete -n ingress-nginx ingress-nginx
```

## 依赖部署
Expand Down
7 changes: 7 additions & 0 deletions ingress-nginx/custom/lua/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ controller:
otel-sampler-ratio: "1.0"
opentelemetry:
enabled: true
metrics:
enabled: true
service:
annotations:
prometheus.io/scrape: "true"
prometheus.io/port: "10254"
prometheus.io/path: "/metrics"
extraVolumes:
- name: lua-scripts
configMap:
Expand Down

0 comments on commit fdad7cd

Please sign in to comment.