Sha256: 0826079c6be86f0c960da2a7f43fb5b0333e4a1ff1e141fa30ddaf2f709f6798
Contents?: true
Size: 1.09 KB
Versions: 7
Compression:
Stored size: 1.09 KB
Contents
#!/usr/bin/env bash set -e #Make sure to check and clean previously failed deployment echo "Checking if previous deployment exist..." if [ "`helm ls --short`" == "" ]; then echo "Nothing to clean, ready for deployment" else helm delete $(helm ls --short) fi # Clone splunk-connect-for-kubernetes repo cd /opt git clone https://github.com/splunk/splunk-connect-for-kubernetes.git cd splunk-connect-for-kubernetes minikube image load splunk/k8s-metrics-aggr:recent echo "Deploying k8s-connect with latest changes" helm install ci-sck --set global.splunk.hec.token=$CI_SPLUNK_HEC_TOKEN \ --set global.splunk.hec.host=$CI_SPLUNK_HOST \ --set kubelet.serviceMonitor.https=true \ --set splunk-kubernetes-metrics.imageAgg.tag=recent \ --set splunk-kubernetes-metrics.imageAgg.pullPolicy=IfNotPresent \ -f ci_scripts/sck_values.yml helm-chart/splunk-connect-for-kubernetes kubectl get pod # wait for deployment to finish # metric and logging deamon set for each node + aggr + object + splunk PODS=$((MINIKUBE_NODE_COUNTS*2+2+1)) until kubectl get pod | grep Running | [[ $(wc -l) == $PODS ]]; do sleep 1; done
Version data entries
7 entries across 7 versions & 1 rubygems