Hello, not a “OOM team” member but many pods are doing this in their
deployment.yaml:
spec:
initContainers:
- command:
- /root/ready.py
args:
- --container-name
- {{ .Values.mariadb.nameOverride }}
env:
- name: NAMESPACE
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
image: "{{ .Values.global.readinessRepository }}/{{
.Values.global.readinessImage }}"
imagePullPolicy: {{ .Values.global.pullPolicy | default
.Values.pullPolicy }}
name: {{ include "common.name" . }}-readiness
containers:
so you could do that for the 2 components, waiting the third one to be started.
Regards,
---
Sylvain Desbureaux
De : <[email protected]> au nom de Yan Yang
<[email protected]>
Répondre à : "[email protected]" <[email protected]>,
"[email protected]" <[email protected]>
Date : mardi 2 avril 2019 à 11:52
À : "[email protected]" <[email protected]>,
"[email protected]" <[email protected]>,
"[email protected]" <[email protected]>
Cc : "[email protected]" <[email protected]>
Objet : [onap-discuss] [OOM] How to define the dependencies in OOM
Dear OOM team,
We have two components depends on another components, we would like to know how
to define the dependence or the pod startup order in OOM chart.
If OOM can define this order, can anyone provide an example for reference?
Thanks.
Best Regards,
Yan
_________________________________________________________________________________________________________________________
Ce message et ses pieces jointes peuvent contenir des informations
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou
falsifie. Merci.
This message and its attachments may contain confidential or privileged
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been
modified, changed or falsified.
Thank you.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#16484): https://lists.onap.org/g/onap-discuss/message/16484
Mute This Topic: https://lists.onap.org/mt/30864807/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-