forked from abouchama/camel-springboot-rest-ose
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathprometheus.json
124 lines (124 loc) · 3.45 KB
/
prometheus.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"apiVersion" : "v1",
"kind" : "Template",
"labels" : { },
"metadata" : {
"annotations" : {
"fabric8.prometheus/summary" : "[Prometheus](http://prometheus.io/) - an open-source service monitoring system and time series database",
"description" : "Prometheus is an open-source service monitoring system and time series database\n\n[http://prometheus.io/](http://prometheus.io/)\n",
"fabric8.prometheus/iconUrl" : "https://cdn.rawgit.com/fabric8io/fabric8-devops/master/prometheus/src/main/fabric8/icon.png"
},
"labels" : { },
"name" : "prometheus"
},
"objects" : [ {
"apiVersion" : "v1",
"kind" : "Service",
"metadata" : {
"annotations" : {
"prometheus.io/port" : "9090",
"prometheus.io/scrape" : "true"
},
"labels" : {
"project" : "prometheus",
"provider" : "fabric8",
"version" : "2.2.157",
"group" : "io.fabric8.devops.apps"
},
"name" : "prometheus"
},
"spec" : {
"deprecatedPublicIPs" : [ ],
"externalIPs" : [ ],
"ports" : [ {
"port" : 80,
"protocol" : "TCP",
"targetPort" : 9090
} ],
"selector" : {
"project" : "prometheus",
"provider" : "fabric8",
"group" : "io.fabric8.devops.apps"
},
"type" : "LoadBalancer"
}
}, {
"apiVersion" : "v1",
"kind" : "ReplicationController",
"metadata" : {
"annotations" : {
"fabric8.io/git-branch" : "release-v2.2.157",
"fabric8.io/git-commit" : "988f82625a978532bc677bd4ddd884c8c6176743",
"fabric8.io/build-id" : "3"
},
"labels" : {
"project" : "prometheus",
"provider" : "fabric8",
"version" : "2.2.157",
"group" : "io.fabric8.devops.apps"
},
"name" : "prometheus"
},
"spec" : {
"replicas" : 1,
"selector" : {
"project" : "prometheus",
"provider" : "fabric8",
"version" : "2.2.157",
"group" : "io.fabric8.devops.apps"
},
"template" : {
"metadata" : {
"annotations" : { },
"labels" : {
"project" : "prometheus",
"provider" : "fabric8",
"version" : "2.2.157",
"group" : "io.fabric8.devops.apps"
}
},
"spec" : {
"containers" : [ {
"args" : [ ],
"command" : [ ],
"env" : [ {
"name" : "KUBERNETES_NAMESPACE",
"valueFrom" : {
"fieldRef" : {
"fieldPath" : "metadata.namespace"
}
}
} ],
"image" : "fabric8/prometheus-kubernetes:2.2.157",
"livenessProbe" : {
"tcpSocket" : {
"port" : 9090
}
},
"name" : "prometheus",
"ports" : [ {
"containerPort" : 9090,
"name" : "http"
} ],
"securityContext" : { },
"volumeMounts" : [ {
"mountPath" : "/prometheus",
"name" : "prometheus-data",
"readOnly" : false
} ]
} ],
"imagePullSecrets" : [ ],
"nodeSelector" : { },
"serviceAccountName" : "metrics",
"volumes" : [ {
"emptyDir" : {
"medium" : ""
},
"name" : "prometheus-data"
} ]
}
}
}
} ],
"parameters" : [ ]
}