GithubHelp home page GithubHelp logo

backup: did not backup all files about k8up HOT 9 CLOSED

k8up-io avatar k8up-io commented on August 23, 2024
backup: did not backup all files

from k8up.

Comments (9)

Kidswiss avatar Kidswiss commented on August 23, 2024

Hi @gi8lino

Can you please share your operator deployment manifest?

Also are you using plain k8s or OpenShift?

from k8up.

gi8lino avatar gi8lino commented on August 23, 2024

Hi
I use k3s.

apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app.kubernetes.io/instance: k8up
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: k8up
    app.kubernetes.io/version: v0.1.10
    helm.sh/chart: k8up-0.6.1
  name: k8up
  namespace: k8up
spec:
  template:
    spec:
      containers:
      - env:
        - name: BACKUP_IMAGE
          value: docker.io/vshn/wrestic:v0.1.8
        - name: BACKUP_GLOBALREPOPASSWORD
          value: banana
        - name: BACKUP_GLOBALACCESSKEYID
          value: foo
        - name: BACKUP_GLOBALSECRETACCESSKEY
          value: bar
        - name: BACKUP_GLOBALS3ENDPOINT
          value: https://minio-backup.foobar.com
        image: docker.io/vshn/k8up:v0.1.10
        livenessProbe:
          failureThreshold: 3
          httpGet:
            path: /metrics
            port: http
            scheme: HTTP
          initialDelaySeconds: 30
          periodSeconds: 10
          successThreshold: 1
          timeoutSeconds: 1
        name: k8up-operator
        ports:
        - containerPort: 8080
          name: http
          protocol: TCP
        resources:
          limits:
            memory: 256Mi
          requests:
            cpu: 20m
            memory: 128Mi
        securityContext: {}
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
      schedulerName: default-scheduler
      securityContext: {}
      serviceAccount: k8up
      serviceAccountName: k8up

from k8up.

Kidswiss avatar Kidswiss commented on August 23, 2024

Hi @gi8lino

Can you try to set BACKUP_IMAGE to the tag v0.1.9? We fixed some permission issues there: https://github.com/vshn/wrestic/releases/tag/v0.1.9.

Otherwise k3s should be fine, that's what I use to develop k8up.

from k8up.

gi8lino avatar gi8lino commented on August 23, 2024

With v0.1.9it works! Thank you for your help!

ps: can you update the version in the helm chart as well?

from k8up.

Kidswiss avatar Kidswiss commented on August 23, 2024

Glad to hear!

I was under the impression that the helm chart would ship at least v0.1.9 but seems I was wrong there.

from k8up.

gi8lino avatar gi8lino commented on August 23, 2024

how save is it to use v0.2.0?

from k8up.

Kidswiss avatar Kidswiss commented on August 23, 2024

@gi8lino outside of my own k3s local tests and integration tests it's not yet used in the wild.

But going forward it will definitely be the base for future development, so eager to get some real-world feedback :)

If you want to use the safe option stick with 0.1.9 for now, as it's already widely deployed in customer clusters.

from k8up.

gi8lino avatar gi8lino commented on August 23, 2024

@Kidswiss I switch to v0.2.0. Since last Sunday the backups run without error.

from k8up.

Kidswiss avatar Kidswiss commented on August 23, 2024

@gi8lino Great to hear! Thanks for the feedback!

I'm closing here, if you have any other issues, please open a new issue :)

Best
Simon

from k8up.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.