Merge "Gate: Add process exporter to gate deployments and docs"
This commit is contained in:
commit
40e0ddba33
@ -132,6 +132,19 @@ Alternatively, this step can be performed by running the script directly:
|
||||
|
||||
./tools/deployment/developer/ceph/080-node-exporter.sh
|
||||
|
||||
Deploy Process Exporter
|
||||
^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
.. literalinclude:: ../../../../tools/deployment/developer/ceph/085-process-exporter.sh
|
||||
:language: shell
|
||||
:lines: 1,17-
|
||||
|
||||
Alternatively, this step can be performed by running the script directly:
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
./tools/deployment/developer/ceph/085-process-exporter.sh
|
||||
|
||||
Deploy OpenStack Exporter
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
@ -119,6 +119,19 @@ Alternatively, this step can be performed by running the script directly:
|
||||
|
||||
./tools/deployment/developer/nfs/080-node-exporter.sh
|
||||
|
||||
Deploy Process Exporter
|
||||
^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
.. literalinclude:: ../../../../tools/deployment/developer/nfs/085-process-exporter.sh
|
||||
:language: shell
|
||||
:lines: 1,17-
|
||||
|
||||
Alternatively, this step can be performed by running the script directly:
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
./tools/deployment/developer/nfs/085-process-exporter.sh
|
||||
|
||||
Deploy OpenStack Exporter
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
@ -132,6 +132,19 @@ Alternatively, this step can be performed by running the script directly:
|
||||
|
||||
./tools/deployment/multinode/080-node-exporter.sh
|
||||
|
||||
Deploy Process Exporter
|
||||
^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
.. literalinclude:: ../../../tools/deployment/multinode/085-process-exporter.sh
|
||||
:language: shell
|
||||
:lines: 1,17-
|
||||
|
||||
Alternatively, this step can be performed by running the script directly:
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
./tools/deployment/multinode/085-process-exporter.sh
|
||||
|
||||
Deploy OpenStack Exporter
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
@ -90,6 +90,12 @@
|
||||
./tools/deployment/developer/ceph/080-node-exporter.sh
|
||||
args:
|
||||
chdir: "{{ zuul.project.src_dir }}"
|
||||
- name: Deploy Process Exporter
|
||||
shell: |
|
||||
set -xe;
|
||||
./tools/deployment/developer/ceph/085-process-exporter.sh
|
||||
args:
|
||||
chdir: "{{ zuul.project.src_dir }}"
|
||||
- name: Deploy Prometheus OpenStack Exporter
|
||||
shell: |
|
||||
set -xe;
|
||||
|
@ -84,6 +84,12 @@
|
||||
./tools/deployment/developer/nfs/080-node-exporter.sh
|
||||
args:
|
||||
chdir: "{{ zuul.project.src_dir }}"
|
||||
- name: Deploy Process Exporter
|
||||
shell: |
|
||||
set -xe;
|
||||
./tools/deployment/developer/nfs/085-process-exporter.sh
|
||||
args:
|
||||
chdir: "{{ zuul.project.src_dir }}"
|
||||
- name: Deploy Prometheus OpenStack Exporter
|
||||
shell: |
|
||||
set -xe;
|
||||
|
@ -74,6 +74,12 @@
|
||||
./tools/deployment/multinode/080-node-exporter.sh
|
||||
args:
|
||||
chdir: "{{ zuul.project.src_dir }}"
|
||||
- name: Deploy Process Exporter
|
||||
shell: |
|
||||
set -xe;
|
||||
./tools/deployment/multinode/085-process-exporter.sh
|
||||
args:
|
||||
chdir: "{{ zuul.project.src_dir }}"
|
||||
- name: Deploy Prometheus OpenStack Exporter
|
||||
shell: |
|
||||
set -xe;
|
||||
|
30
tools/deployment/common/085-process-exporter.sh
Executable file
30
tools/deployment/common/085-process-exporter.sh
Executable file
@ -0,0 +1,30 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Copyright 2017 The Openstack-Helm Authors.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
set -xe
|
||||
|
||||
#NOTE: Lint and package chart
|
||||
make prometheus-process-exporter
|
||||
|
||||
#NOTE: Deploy command
|
||||
helm upgrade --install prometheus-process-exporter \
|
||||
./prometheus-process-exporter --namespace=kube-system
|
||||
|
||||
#NOTE: Wait for deploy
|
||||
./tools/deployment/common/wait-for-pods.sh kube-system
|
||||
|
||||
#NOTE: Validate Deployment info
|
||||
helm status prometheus-process-exporter
|
1
tools/deployment/developer/ceph/085-process-exporter.sh
Symbolic link
1
tools/deployment/developer/ceph/085-process-exporter.sh
Symbolic link
@ -0,0 +1 @@
|
||||
../../common/085-process-exporter.sh
|
1
tools/deployment/developer/nfs/085-process-exporter.sh
Symbolic link
1
tools/deployment/developer/nfs/085-process-exporter.sh
Symbolic link
@ -0,0 +1 @@
|
||||
../../common/085-process-exporter.sh
|
1
tools/deployment/multinode/085-process-exporter.sh
Symbolic link
1
tools/deployment/multinode/085-process-exporter.sh
Symbolic link
@ -0,0 +1 @@
|
||||
../common/085-process-exporter.sh
|
Loading…
Reference in New Issue
Block a user