Skip to content

Move to storageClass all volumes in a deployment

Notifications You must be signed in to change notification settings

elmanytas/mv2sc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Move storageclass

From a deployment and a storageclass:

  • scale deployment to 0
  • for each volume of deployment
    • creates new volume in storageclass
    • creates a pod with rsyncd in new volume
    • creates a pod with rsync in old volume
    • sync data
    • reconfigure deployment with new volume
  • scale deployment to 1

About

Move to storageClass all volumes in a deployment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published