pv-migrator

command
v0.0.0-...-d41c5fe Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2024 License: MIT Imports: 10 Imported by: 0

README

pv-migrator

This tool will be mirroring two directory. It supports to migrate PersistentVolume to other PersistentVolume.

How to use

apiVersion: apps/v1
kind: StatefulSet
metadata:
  name: grafana
spec:
  template:
    spec:
      initContainers:
        - name: move-data
          image: registry.f110.dev/tools/pv-migrator@sha256:0166fca135a4af078125cd5ef0f2532a0b0247bbc9b71db677e8149417f21210
          args:
            - --source
            - /old-data
            - --destination
            - /new-data
          volumeMounts:
            - name: old-data
              mountPath: /old-data
            - name: ext4-grafana-data
              mountPath: /new-data

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL