Skip to content
Snippets Groups Projects

Deploy prometheus through kubernetes and autoconnect to cluster

Merged Paweł Chojnacki requested to merge pawel/connect_to_prometheus_through_proxy-30480 into master
All threads resolved!
Compare and Show latest version
2 files
+ 2
3
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -13,8 +13,7 @@ class Prometheus < ActiveRecord::Base
state_machine :status do
after_transition any => [:installed] do |application|
application.cluster.projects.each do |project|
# raise "exe"
project.prometheus_service&.update(active: true)
project.find_or_initialize_service('prometheus').update(active: true)
end
end
end
Loading