Skip to content

Commit

Permalink
Revert "VOL-3110: Added Liveliness probe for volta-apps. (#102)" (#133)
Browse files Browse the repository at this point in the history
* Revert "VOL-3110: Added Liveliness probe for volta-apps. (#102)"

This reverts commit 1c39b44.

* Bump onos-tost version
  • Loading branch information
kuujo authored Jul 14, 2020
1 parent df0acc9 commit 57ebc50
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 44 deletions.
2 changes: 1 addition & 1 deletion onos-classic/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
apiVersion: v1
name: onos-classic
version: 0.1.2
version: 0.1.3
kubeVersion: ">=1.10.0"
appVersion: 2.2.2
description: ONOS cluster
Expand Down
31 changes: 0 additions & 31 deletions onos-classic/templates/configmap-live-probe.yaml

This file was deleted.

11 changes: 1 addition & 10 deletions onos-classic/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ spec:
env:
- name: JAVA_OPTS
value: -Xmx{{ .Values.heap }}
- name: ONOS_APPS
value: {{ .Values.apps | quote }}
{{- with .Values.ports }}
ports:
{{- range . }}
Expand All @@ -94,17 +92,14 @@ spec:
command:
- sh
- -c
- /root/onos/bin/check-onos-app-status
- /root/onos/bin/check-onos-status
initialDelaySeconds: 300
periodSeconds: 15
timeoutSeconds: 5
volumeMounts:
- name: probe-scripts
mountPath: /root/onos/bin/check-onos-status
subPath: check-onos-status
- name: live-probe-scripts
mountPath: /root/onos/bin/check-onos-app-status
subPath: check-onos-app-status
- name: config
mountPath: /root/onos/config/cluster.json
subPath: cluster.json
Expand All @@ -128,9 +123,5 @@ spec:
configMap:
name: {{ template "fullname" . }}-probe-scripts
defaultMode: 0744
- name: live-probe-scripts
configMap:
name: {{ template "fullname" . }}-live-probe-scripts
defaultMode: 0744
- name: config
emptyDir: {}
2 changes: 1 addition & 1 deletion onos-tost/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
apiVersion: v1
name: onos-tost
version: 0.1.3
version: 0.1.4
kubeVersion: ">=1.10.0"
appVersion: 2.2.3
description: ONOS TOST
Expand Down
2 changes: 1 addition & 1 deletion onos-tost/requirements.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
dependencies:
- name: onos-classic
version: 0.1.2
version: 0.1.3
repository: https://charts.onosproject.org

0 comments on commit 57ebc50

Please sign in to comment.