Skip to content

Commit

Permalink
cli: add prometheus deployment and metrics integration to demo preset (
Browse files Browse the repository at this point in the history
…#809)

* cli: Add prometheus deployment and Consul K8s metrics integration to demo preset is used for `consul-k8s install`
  • Loading branch information
David Yu authored Oct 28, 2021
1 parent 6e38706 commit 5e25b77
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
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

0 comments on commit 5e25b77

Please sign in to comment.