On Fri, Aug 12, 2016 at 07:11:40AM -0700, kay ru wrote:
> For example PostgreSQL. Shall I use jobs to restore DB backup or deal with 
> the `/docker-entrypoint-initdb.d/`?

I'd use a job that just connects to the database already running in some other
pod or outside k8s.

> If use `/docker-entrypoint-initdb.d/`, how can I deal with the `Bound` 
> status for the `persistentvolumes` and `persistentvolumeclaims`?

The volume will be mounted when a pod starts that use it, no need to deal with
anything. If it's started, it's there.

-- 
You received this message because you are subscribed to the Google Groups 
"Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to kubernetes-users+unsubscr...@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.
  • [kubernetes-u... kay ru
    • Re: [kub... Rodrigo Campos
      • Re: ... kay ru
        • ... 'David Aronchick' via Kubernetes user discussion and Q&A
        • ... Rodrigo Campos
          • ... kay ru
            • ... Rodrigo Campos
            • ... 'David Aronchick' via Kubernetes user discussion and Q&A
              • ... Derek Mahar
                • ... 'David Aronchick' via Kubernetes user discussion and Q&A

Reply via email to