diff --git a/charts/Makefile b/charts/Makefile index 87b821787e131cdaa0a0048b351a2f7ec1e02f54..1465f3ee3a42aac834cc3476afda5a3bfe776327 100644 --- a/charts/Makefile +++ b/charts/Makefile @@ -102,8 +102,8 @@ wait:## wait for pods to be ready @echo "Waiting for pods to be ready" @date @kubectl -n $(KUBE_NAMESPACE) get pods - @jobs=$$(kubectl get job --output=jsonpath={.items..metadata.name} -n $(KUBE_NAMESPACE)); kubectl wait job --for=condition=complete --timeout=120s $$jobs -n $(KUBE_NAMESPACE) - @kubectl -n $(KUBE_NAMESPACE) wait --for=condition=ready -l app=ska-docker --timeout=120s pods || exit 1 + @jobs=$$(kubectl get job --output=jsonpath={.items..metadata.name} -n $(KUBE_NAMESPACE)); kubectl wait job --for=condition=complete --timeout=300s $$jobs -n $(KUBE_NAMESPACE) + @kubectl -n $(KUBE_NAMESPACE) wait --for=condition=ready -l app=ska-docker --timeout=300s pods || exit 1 @date # diff --git a/charts/archiver/Chart.yaml b/charts/archiver/Chart.yaml index 897e47aa9d4ede30eede263a794aaa2c1efdd2dc..c3ebd5abf9723dade1cdef3a36032c01f65114f2 100644 --- a/charts/archiver/Chart.yaml +++ b/charts/archiver/Chart.yaml @@ -2,12 +2,12 @@ apiVersion: v2 appVersion: "1.0" description: A Helm chart for deploying the HDB++ archiver for the MVP on Kubernetes name: archiver -version: 0.2.9 +version: 0.2.10 appVersion: 1.16.0 icon: https://www.skatelescope.org/wp-content/uploads/2016/07/09545_NEW_LOGO_2014.png dependencies: - name: tango-util - version: 0.2.6 + version: 0.2.7 repository: file://../tango-util # The archiver cannot have the tango-base since we allow only one level in the chart hierarchies # - name: tango-base diff --git a/charts/archiver/values.yaml b/charts/archiver/values.yaml index cf645da647b7968ac50a24d008ac09b13d07005e..e45e1374af86ad075036bf50ec601219fea81c88 100644 --- a/charts/archiver/values.yaml +++ b/charts/archiver/values.yaml @@ -94,7 +94,7 @@ hdbppdb: failureThreshold: 3 deviceServers: -- name: arhiver-cm-archiver-test +- name: archiver-cm-archiver-test function: tango-archiver-service domain: archiver command: "./usr/local/bin/hdbppcm-srv" @@ -119,7 +119,7 @@ deviceServers: cpu: 200m # 200m = 0.2 CPU memory: 256Mi # 256Mi = 0.25 GB mem ephemeral-storage: 1Gi -- name: arhiver-es-archiver-test +- name: archiver-es-archiver-test function: tango-archiver-service domain: archiver command: "./usr/local/bin/hdbppes-srv" diff --git a/charts/ska-docker/Chart.yaml b/charts/ska-docker/Chart.yaml index b03ae1b1659c8b9ea21b79c22417fcfec804cbf8..974bbeeaa17a06ef0c9e4266b00969e782515181 100644 --- a/charts/ska-docker/Chart.yaml +++ b/charts/ska-docker/Chart.yaml @@ -2,14 +2,14 @@ apiVersion: v2 appVersion: "1.0" description: A Helm chart for deploying the TANGO base system on Kubernetes name: ska-docker -version: 0.1.8 +version: 0.1.9 icon: https://www.skatelescope.org/wp-content/uploads/2016/07/09545_NEW_LOGO_2014.png dependencies: - name: tango-base - version: 0.2.9 + version: 0.2.10 repository: file://../tango-base condition: tango-base.enabled,global.sub-system.tango-base.enabled - name: archiver - version: 0.2.9 + version: 0.2.10 repository: file://../archiver condition: archiver.enabled,global.sub-system.archiver.enabled diff --git a/charts/tango-base/Chart.yaml b/charts/tango-base/Chart.yaml index ee144cc76cec2f99abffa323aebb713024f850f6..2dd611fc40911c49b6bd14daa8f2dfba66dafe47 100644 --- a/charts/tango-base/Chart.yaml +++ b/charts/tango-base/Chart.yaml @@ -2,9 +2,9 @@ apiVersion: v2 appVersion: "1.0" description: A Helm chart for deploying the TANGO base system on Kubernetes name: tango-base -version: 0.2.9 +version: 0.2.10 icon: https://www.skatelescope.org/wp-content/uploads/2016/07/09545_NEW_LOGO_2014.png dependencies: - name: tango-util - version: 0.2.6 + version: 0.2.7 repository: file://../tango-util diff --git a/charts/tango-util/Chart.yaml b/charts/tango-util/Chart.yaml index 644e1b44d99edd62881ce1f0577599205c6aead5..ba5d3c5ec7a58c66adc4cc45263ad09d3150fa61 100644 --- a/charts/tango-util/Chart.yaml +++ b/charts/tango-util/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 description: A Helm chart library of utilities for TANGO deployents name: tango-util type: library -appVersion: 0.2.6 -version: 0.2.6 +appVersion: 0.2.7 +version: 0.2.7 icon: https://www.skatelescope.org/wp-content/uploads/2016/07/09545_NEW_LOGO_2014.png maintainers: - name: Matteo Di Carlo diff --git a/charts/tango-util/templates/_deviceserver.yaml b/charts/tango-util/templates/_deviceserver.yaml index d76810996a9281a26ca8305c182543b8b8d273dd..5d46ba552cef5a08d3da98f11695123400921ac1 100644 --- a/charts/tango-util/templates/_deviceserver.yaml +++ b/charts/tango-util/templates/_deviceserver.yaml @@ -7,7 +7,7 @@ {{ $dsconfig := coalesce .local.Values.global.dsconfig .local.Values.dsconfig}} {{ $chart := .local }} {{ $safe_instance := .instance |toString | replace "_" "-" }} - +--- # Device Server Service # Parameter: deviceserver struct, global.Values.dsconfig struct, project image struct # giving a dummy Service entry ensures that the single pod is DNS addressable @@ -118,7 +118,7 @@ spec: - sh - -c args: - - {{ .deviceserver.command | toString }} {{ .instance |toString }} + - retry --max=10 -- {{ .deviceserver.command | toString }} {{ .instance |toString }} env: - name: TANGO_HOST value: {{ $tango_host }}