Recommended Posts

Hello! i'm trying to setup resillio sync on my home lab using microk8s and setting the storage to a samba server i have running (windows)

it starts up, i can create my login and except the eula, but if i add any shares i get a database error. if i do NOT use the samba share, and instead i just use local storage, it seems to work fine. any ideas on why the samba share wont work? seems to be specific to the sql-lite dabase (i'm guessing)

 

kind: Namespace
apiVersion: v1
metadata:
  name: home
---
kind: Deployment
apiVersion: apps/v1
metadata:
  labels:
    app: sync
  name: sync
  namespace: home
spec:
  replicas: 1
  selector:
    matchLabels:
      app: sync
  strategy:
    type: Recreate
  template:
    metadata:
      labels:
        app: sync
    spec:
      containers:
      - image: resilio/sync
        name: sync
        volumeMounts:
          - name: sync-share
            mountPath: /mnt/sync
      volumes:
      - name: sync-share
        flexVolume:
          driver: "fstab/cifs"
          fsType: "cifs"
          secretRef:
            name: "cifs-secret-sync"
          options:
            networkPath: "//win-share/sync"
            mountOptions: "iocharset=utf8,file_mode=0777,dir_mode=0777"
      nodeSelector:
        kubernetes.io/os: linux
---
kind: Service
apiVersion: v1
metadata:
  name: sync-np
  namespace: natimark
spec:
  type: NodePort
  ports:
   - port: 8888
     protocol: TCP
     targetPort: 8888
     nodePort: 32710
  selector:
   app: sync
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share