Remove helm status from deployment scripts for osh-infra-monitoring
With the move to helm v3, helm status requires a namespace to be specified, but doing so breaks helm v2 compatability. This change removes the usage of helm serve in openstack-helm-infra's deployment scripts. Change-Id: I7d17d2ff4a44fc8d16cc653b33253cce536bfce1
This commit is contained in:
parent
42195465f7
commit
24fd882cd6
@ -30,6 +30,3 @@ helm upgrade --install nfs-provisioner \
|
|||||||
|
|
||||||
#NOTE: Wait for deployment
|
#NOTE: Wait for deployment
|
||||||
./tools/deployment/common/wait-for-pods.sh nfs
|
./tools/deployment/common/wait-for-pods.sh nfs
|
||||||
|
|
||||||
#NOTE: Validate Deployment info
|
|
||||||
helm status nfs-provisioner
|
|
||||||
|
@ -30,9 +30,6 @@ helm upgrade --install mariadb ./mariadb \
|
|||||||
#NOTE: Wait for deploy
|
#NOTE: Wait for deploy
|
||||||
./tools/deployment/common/wait-for-pods.sh osh-infra
|
./tools/deployment/common/wait-for-pods.sh osh-infra
|
||||||
|
|
||||||
#NOTE: Validate Deployment info
|
|
||||||
helm status mariadb
|
|
||||||
|
|
||||||
# Delete the test pod if it still exists
|
# Delete the test pod if it still exists
|
||||||
kubectl delete pods -l application=mariadb,release_group=mariadb,component=test --namespace=osh-infra --ignore-not-found
|
kubectl delete pods -l application=mariadb,release_group=mariadb,component=test --namespace=osh-infra --ignore-not-found
|
||||||
#NOTE: Validate the deployment
|
#NOTE: Validate the deployment
|
||||||
|
@ -29,9 +29,6 @@ helm upgrade --install prometheus ./prometheus \
|
|||||||
#NOTE: Wait for deploy
|
#NOTE: Wait for deploy
|
||||||
./tools/deployment/common/wait-for-pods.sh osh-infra
|
./tools/deployment/common/wait-for-pods.sh osh-infra
|
||||||
|
|
||||||
#NOTE: Validate Deployment info
|
|
||||||
helm status prometheus
|
|
||||||
|
|
||||||
# Delete the test pod if it still exists
|
# Delete the test pod if it still exists
|
||||||
kubectl delete pods -l application=prometheus,release_group=prometheus,component=test --namespace=osh-infra --ignore-not-found
|
kubectl delete pods -l application=prometheus,release_group=prometheus,component=test --namespace=osh-infra --ignore-not-found
|
||||||
helm test prometheus
|
helm test prometheus
|
||||||
|
@ -24,6 +24,3 @@ helm upgrade --install prometheus-alertmanager ./prometheus-alertmanager \
|
|||||||
|
|
||||||
#NOTE: Wait for deploy
|
#NOTE: Wait for deploy
|
||||||
./tools/deployment/common/wait-for-pods.sh osh-infra
|
./tools/deployment/common/wait-for-pods.sh osh-infra
|
||||||
|
|
||||||
#NOTE: Validate Deployment info
|
|
||||||
helm status prometheus-alertmanager
|
|
||||||
|
@ -29,9 +29,6 @@ helm upgrade --install grafana ./grafana \
|
|||||||
#NOTE: Wait for deploy
|
#NOTE: Wait for deploy
|
||||||
./tools/deployment/common/wait-for-pods.sh osh-infra
|
./tools/deployment/common/wait-for-pods.sh osh-infra
|
||||||
|
|
||||||
#NOTE: Validate Deployment info
|
|
||||||
helm status grafana
|
|
||||||
|
|
||||||
# Delete the test pod if it still exists
|
# Delete the test pod if it still exists
|
||||||
kubectl delete pods -l application=grafana,release_group=grafana,component=test --namespace=osh-infra --ignore-not-found
|
kubectl delete pods -l application=grafana,release_group=grafana,component=test --namespace=osh-infra --ignore-not-found
|
||||||
helm test grafana
|
helm test grafana
|
||||||
|
@ -28,9 +28,6 @@ helm upgrade --install nagios ./nagios \
|
|||||||
#NOTE: Wait for deploy
|
#NOTE: Wait for deploy
|
||||||
./tools/deployment/common/wait-for-pods.sh osh-infra
|
./tools/deployment/common/wait-for-pods.sh osh-infra
|
||||||
|
|
||||||
#NOTE: Validate Deployment info
|
|
||||||
helm status nagios
|
|
||||||
|
|
||||||
# Delete the test pod if it still exists
|
# Delete the test pod if it still exists
|
||||||
kubectl delete pods -l application=nagios,release_group=nagios,component=test --namespace=osh-infra --ignore-not-found
|
kubectl delete pods -l application=nagios,release_group=nagios,component=test --namespace=osh-infra --ignore-not-found
|
||||||
helm test nagios
|
helm test nagios
|
||||||
|
Loading…
Reference in New Issue
Block a user