Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bb5b09f
commit 89796df
Showing
1 changed file
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
apiVersion: extensions/v1beta1 | ||
kind: DaemonSet | ||
metadata: | ||
name: prometheus-arm-exporter | ||
namespace: infra | ||
labels: | ||
app: prometheus | ||
component: arm-exporter | ||
spec: | ||
template: | ||
metadata: | ||
name: prometheus-arm-exporter | ||
labels: | ||
app: prometheus | ||
component: arm-exporter | ||
spec: | ||
containers: | ||
- image: carlosedp/arm_exporter | ||
name: arm-exporter | ||
ports: | ||
- name: prom-arm-exp | ||
#^ must be an IANA_SVC_NAME (at most 15 characters, ..) | ||
containerPort: 9243 | ||
hostPort: 9243 | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: prometheus-arm-exporter | ||
namespace: infra | ||
labels: | ||
app: prometheus | ||
component: arm-exporter | ||
annotations: | ||
prometheus.io/scrape: 'true' | ||
spec: | ||
clusterIP: None | ||
ports: | ||
- name: prometheus-arm-exporter | ||
port: 9243 | ||
protocol: TCP | ||
targetPort: 9243 | ||
selector: | ||
app: prometheus | ||
component: arm-exporter | ||
type: ClusterIP | ||
--- |