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

cli: add prometheus deployment and metrics integration to demo preset #809

Merged
merged 4 commits into from
Oct 28, 2021
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ IMPROVEMENTS:
* `kube-system` and `local-path-storage` namespaces are now excluded from connect injection by default on Kubernetes versions >= 1.21. This prevents deadlock issues when `kube-system` components go down and allows Kind to work without changing the failure policy of the mutating webhook. [[GH-726](https://github.com/hashicorp/consul-k8s/pull/726)]
* CLI
* Add `status` command. [[GH-768](https://github.com/hashicorp/consul-k8s/pull/768)]
* Add Prometheus deployment and Consul K8s metrics integration with demo preset when installing via `-preset=demo`. [[GH-809](https://github.com/hashicorp/consul-k8s/pull/809)]

## 0.35.0 (October 19, 2021)

Expand Down
13 changes: 13 additions & 0 deletions cli/cmd/install/presets.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,24 @@ var presets = map[string]interface{}{
var demo = `
global:
name: consul
metrics:
enabled: true
enableAgentMetrics: true
connectInject:
enabled: true
metrics:
defaultEnabled: true
defaultEnableMerging: true
enableGatewayMetrics: true
server:
replicas: 1
bootstrapExpect: 1
ui:
enabled: true
service:
enabled: true
prometheus:
enabled: true
`

var secure = `
Expand Down