diff --git a/prometheus/kustomization.yaml b/prometheus/kustomization.yaml deleted file mode 100644 index bebcddc3552d7a0b5b3d97e0274d12ae420a6516..0000000000000000000000000000000000000000 --- a/prometheus/kustomization.yaml +++ /dev/null @@ -1,11 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -namespace: evol5-capif-mon -resources: - - prometheus-claim1-persistentvolumeclaim.yaml - - prometheus-claim2-persistentvolumeclaim.yaml - - prometheus-claim3-persistentvolumeclaim.yaml - - prometheus-claim4-persistentvolumeclaim.yaml - - prometheus-configmap.yaml - - prometheus-deployment.yaml - - prometheus-service.yaml \ No newline at end of file diff --git a/prometheus/prometheus-claim1-persistentvolumeclaim.yaml b/prometheus/prometheus-claim1-persistentvolumeclaim.yaml deleted file mode 100644 index 99ca0f13183dfbb0894b1bbf99ab7633c646fcc2..0000000000000000000000000000000000000000 --- a/prometheus/prometheus-claim1-persistentvolumeclaim.yaml +++ /dev/null @@ -1,14 +0,0 @@ -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - creationTimestamp: null - labels: - io.kompose.service: prometheus-claim1 - name: prometheus-claim1 -spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 100Mi -status: {} diff --git a/prometheus/prometheus-claim2-persistentvolumeclaim.yaml b/prometheus/prometheus-claim2-persistentvolumeclaim.yaml deleted file mode 100644 index 3a1a586d9a918b30bb41da7ae195da72f9cc29a0..0000000000000000000000000000000000000000 --- a/prometheus/prometheus-claim2-persistentvolumeclaim.yaml +++ /dev/null @@ -1,14 +0,0 @@ -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - creationTimestamp: null - labels: - io.kompose.service: prometheus-claim2 - name: prometheus-claim2 -spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 100Mi -status: {} diff --git a/prometheus/prometheus-claim3-persistentvolumeclaim.yaml b/prometheus/prometheus-claim3-persistentvolumeclaim.yaml deleted file mode 100644 index 755a66b594deadef2a62a10b350334dd32b9e715..0000000000000000000000000000000000000000 --- a/prometheus/prometheus-claim3-persistentvolumeclaim.yaml +++ /dev/null @@ -1,14 +0,0 @@ -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - creationTimestamp: null - labels: - io.kompose.service: prometheus-claim3 - name: prometheus-claim3 -spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 100Mi -status: {} diff --git a/prometheus/prometheus-claim4-persistentvolumeclaim.yaml b/prometheus/prometheus-claim4-persistentvolumeclaim.yaml deleted file mode 100644 index 9a6cb2d30c78a2e3f1070c92c797b0a8179cbff0..0000000000000000000000000000000000000000 --- a/prometheus/prometheus-claim4-persistentvolumeclaim.yaml +++ /dev/null @@ -1,14 +0,0 @@ -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - creationTimestamp: null - labels: - io.kompose.service: prometheus-claim4 - name: prometheus-claim4 -spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 100Mi -status: {} diff --git a/prometheus/prometheus-configmap.yaml b/prometheus/prometheus-configmap.yaml deleted file mode 100644 index ccfb013800255c2975dd6bc342af627f52ef0ba3..0000000000000000000000000000000000000000 --- a/prometheus/prometheus-configmap.yaml +++ /dev/null @@ -1,38 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: prometheus-configmap -data: - prometheus.yml: | - # global: - # scrape_interval: 5s - # external_labels: - # monitor: 'prakash-monitor' - # scrape_configs: - # - job_name: 'prometheus' - # static_configs: - # - targets: ['0.0.0.0:9090'] ## IP Address of the localhost - # - job_name: 'cAdvisor' - # static_configs: - # - targets: ['0.0.0.0:8090'] - # #- cadvisor:8090 - - global: - scrape_interval: 15s - evaluation_interval: 15s - alerting: - alertmanagers: - - static_configs: - - targets: - # whatever you want - scrape_configs: - - job_name: 'prometheus' - static_configs: - - targets: ['prometheus:9090'] - labels: - alias: 'prometheus' - - job_name: 'cadvisor' - static_configs: - - targets: ['cadvisor:8080'] - labels: - alias: 'cadvisor' \ No newline at end of file diff --git a/prometheus/prometheus-deployment.yaml b/prometheus/prometheus-deployment.yaml deleted file mode 100644 index 7ae939f45cc07c922d96437663dff48da61c4ef9..0000000000000000000000000000000000000000 --- a/prometheus/prometheus-deployment.yaml +++ /dev/null @@ -1,71 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - annotations: - kompose.cmd: kompose -f docker-compose.yml convert - kompose.version: 1.28.0 (c4137012e) - creationTimestamp: null - labels: - io.kompose.service: prometheus - name: prometheus -spec: - replicas: 1 - selector: - matchLabels: - io.kompose.service: prometheus - strategy: - type: Recreate - template: - metadata: - annotations: - kompose.cmd: kompose -f docker-compose.yml convert - kompose.version: 1.28.0 (c4137012e) - creationTimestamp: null - labels: - io.kompose.network/monitoring-default: "true" - io.kompose.service: prometheus - spec: - containers: - - args: - - --config.file=/tmp/prometheus.yml - - --web.route-prefix=/ - - --storage.tsdb.retention.time=200h - - --web.enable-lifecycle - image: prom/prometheus:latest - name: prometheus - ports: - - containerPort: 9090 - resources: {} - volumeMounts: - - name: prometheus-config - mountPath: /tmp/prometheus.yml - subPath: prometheus.yml - - mountPath: /var/lib/prometheus - name: prometheus-claim1 - - mountPath: /prometheus - name: prometheus-claim2 - - mountPath: /etc/prometheus - name: prometheus-claim3 - - mountPath: /etc/prometheus/alert.rules - name: prometheus-claim4 - restartPolicy: Always - volumes: - - name: prometheus-config - configMap: - name: prometheus-configmap - items: - - key: "prometheus.yml" - path: "prometheus.yml" - - name: prometheus-claim1 - persistentVolumeClaim: - claimName: prometheus-claim1 - - name: prometheus-claim2 - persistentVolumeClaim: - claimName: prometheus-claim2 - - name: prometheus-claim3 - persistentVolumeClaim: - claimName: prometheus-claim3 - - name: prometheus-claim4 - persistentVolumeClaim: - claimName: prometheus-claim4 -status: {} diff --git a/prometheus/prometheus-service.yaml b/prometheus/prometheus-service.yaml deleted file mode 100644 index d7fa32d94c92574e44d1b99b74e06569181d32b7..0000000000000000000000000000000000000000 --- a/prometheus/prometheus-service.yaml +++ /dev/null @@ -1,19 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - annotations: - kompose.cmd: kompose -f docker-compose.yml convert - kompose.version: 1.28.0 (c4137012e) - creationTimestamp: null - labels: - io.kompose.service: prometheus - name: prometheus -spec: - ports: - - name: "9090" - port: 9090 - targetPort: 9090 - selector: - io.kompose.service: prometheus -status: - loadBalancer: {}