This commit is contained in:
Di Xu 2018-09-12 17:46:38 +08:00 коммит произвёл GitHub
Родитель a92ad3c37a
Коммит a949680ddf
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
10 изменённых файлов: 7 добавлений и 35 удалений

Просмотреть файл

@ -1,20 +0,0 @@
# Copyright (c) Microsoft Corporation
# All rights reserved.
#
# MIT License
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
# documentation files (the "Software"), to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
# to permit persons to whom the Software is furnished to do so, subject to the following conditions:
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
# BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
copy-list:
- src: ../prometheus/exporter
dst: src/watchdog/copied_file

Просмотреть файл

@ -19,4 +19,4 @@ FROM python:2.7
RUN pip install PyYAML requests paramiko prometheus_client
COPY copied_file/exporter/watchdog.py /
COPY src/watchdog.py /

Просмотреть файл

@ -22,5 +22,4 @@ pushd $(dirname "$0") > /dev/null
echo "Call stop script to stop all service first"
/bin/bash stop.sh || exit $?
popd > /dev/null
popd > /dev/null

Просмотреть файл

@ -17,18 +17,16 @@
prerequisite:
- cluster-configuration
- drivers
template-list:
- watchdog-configmap.yaml
- watchdog.yaml
- refresh.sh
start-script: start.sh
stop-script: stop.sh
delete-script: delete.sh
refresh-script: refresh.sh
upgraded-script: upgraded.sh
deploy-rules:
in: pai-master
in: pai-master

Просмотреть файл

@ -19,11 +19,6 @@
# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
INSTANCES="daemonset/watchdog
deployment/watchdog
configmap/watchdog
"
for instance in ${INSTANCES}; do
kubectl delete --ignore-not-found --now ${instance}
done
kubectl delete --ignore-not-found --now daemonset/watchdog
kubectl delete --ignore-not-found --now deployment/watchdog
kubectl delete --ignore-not-found --now configmap/watchdog

Просмотреть файл