Containers and Kubernetes

Get Involved. Join the Conversation.

Topic

    Olivier Maurice
    Persistent volumes between worker nodesAnswered
    Topic posted November 14, 2018 by Olivier MauriceRed Ribbon: 250+ Points, last edited March 11, 2019 by Arijit ChakrabortyBronze Trophy: 5,000+ Points, tagged Kubernetes, Tip 
    173 Views, 1 Comment
    Title:
    Persistent volumes between worker nodes
    Summary:
    Looking into how to share PVCs between worker nodes in different ADs
    Content:

    Hi,

    Use case: a POD that only has 1 replica, but with a PVC attached. In this particular case the nodepool has 2 worker nodes, 1 in each AD.

    In the yaml for the PVC you have to state the AD you want the storage to be created in.

    Now I am wondering: if somehow the POD gets moved from the worker node on AD1 to the worker node on AD2, is all the data contained on the PVC following to the other AD?

    On GKE (Google) you can provision something like a 'regional' persistence volume, over different zones. Anything like this available on OKE?
    And what with the availability of the data over the ADs?

    Is it an option to look at the File Storage Service to share the storage between the worker nodes? But how explain OKE to pipe the claim to the File Storage service?

     

    Thanks for your input,

    Olivier

    Version:
    11.1

    Best Comment

    Olivier Maurice

    Hi,
     

    For anyone looking for this in the future: the combination OKE and File Storage allows you to share volumes between the OKE worker nodes.
     

    Olivier

    Comment

     

    • Olivier Maurice

      Hi,
       

      For anyone looking for this in the future: the combination OKE and File Storage allows you to share volumes between the OKE worker nodes.
       

      Olivier