Skip to content

Commit

Permalink
Maybe we get that working with k3s-io/k3s#3619 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxpeople committed Mar 29, 2022
1 parent 6de4aad commit ef1ba73
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 8 deletions.
24 changes: 16 additions & 8 deletions cluster/apps/monitoring/kube-prometheus-stack/helm-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -175,20 +175,28 @@ spec:
enabled: true
kubeControllerManager:
enabled: true
service:
enabled: true
port: 10257
targetPort: 10257
serviceMonitor:
enabled: true
https: true
insecureSkipVerify: true
endpoints:
- 192.168.8.201
- 192.168.8.202
- 192.168.8.203
kubeScheduler:
enabled: true
endpoints:
- 192.168.8.201
- 192.168.8.202
- 192.168.8.203
kubeProxy:
enabled: true
endpoints:
- 192.168.8.201
- 192.168.8.202
- 192.168.8.203
kubeEtcd:
enabled: true
endpoints:
- 192.168.8.201
- 192.168.8.202
- 192.168.8.203
service:
enabled: true
port: 2381
Expand Down
2 changes: 2 additions & 0 deletions provision/ansible/inventory/group_vars/master/k3s.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ k3s_server:
# - "allocate-node-cidrs"
# Required to monitor component with kube-prometheus-stack
kube-controller-manager-arg:
- "address=0.0.0.0"
- "bind-address=0.0.0.0"
kube-proxy-arg:
# # Various
Expand All @@ -63,6 +64,7 @@ k3s_server:
# - "feature-gates=MixedProtocolLBService=true"
# - "feature-gates=ReadWriteOncePod=true"
# Required to monitor component with kube-prometheus-stack
- "address=0.0.0.0"
- "bind-address=0.0.0.0"
# Required to monitor etcd with kube-prometheus-stack
etcd-expose-metrics: true
Expand Down

0 comments on commit ef1ba73

Please sign in to comment.