Gate: Add process exporter to gate deployments and docs
This adds the process exporter to both the developer and multinode gates, along with adding the relevant deployment steps to the docs Change-Id: I85d5c398fbbb62145c9bb4e3a885e9a774725e5a
This commit is contained in:
parent
55424bacfd
commit
0aae608aa0
@ -119,6 +119,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
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
@ -106,6 +106,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
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
@ -119,6 +119,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
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
@ -84,6 +84,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;
|
||||
|
@ -78,6 +78,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;
|
||||
|
@ -68,6 +68,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