Hi Sylvain Desbureaux ,

 

Thanks for your reply.

 

I will follow your way and try. Thanks.

 

BTW ,@Mike @mahendra, I upload one commit for  “VF-C migrate to shared mariadb” 
could you help to review and merge. Thanks.

 

BR.

Yan

 

发件人: [email protected] [mailto:[email protected]] 
发送时间: 2019年4月5日 17:26
收件人: [email protected]; [email protected]; 
[email protected]; [email protected]
抄送: [email protected]
主题: Re: [onap-discuss] [OOM] How to define the dependencies in OOM

 

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 (#16495): https://lists.onap.org/g/onap-discuss/message/16495
Mute This Topic: https://lists.onap.org/mt/30958534/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to