diff --git a/apps/opengist/deployment.yaml b/apps/opengist/deployment.yaml index 4e7e781..0b309f7 100644 --- a/apps/opengist/deployment.yaml +++ b/apps/opengist/deployment.yaml @@ -14,16 +14,6 @@ spec: labels: app.kubernetes.io/name: opengist spec: - affinity: - nodeAffinity: - preferredDuringSchedulingIgnoredDuringExecution: - - weight: 1 - preference: - matchExpressions: - - key: location - operator: In - values: - - fsn volumes: - name: opengist-data persistentVolumeClaim: @@ -43,5 +33,5 @@ spec: httpGet: path: /healthcheck port: 6157 - initialDelaySeconds: 3 - periodSeconds: 3 \ No newline at end of file + initialDelaySeconds: 30 + periodSeconds: 5 \ No newline at end of file diff --git a/apps/opengist/pvc.yaml b/apps/opengist/pvc.yaml index 6f3b9b4..34436fb 100644 --- a/apps/opengist/pvc.yaml +++ b/apps/opengist/pvc.yaml @@ -1,32 +1,3 @@ -apiVersion: v1 -kind: PersistentVolume -metadata: - name: opengist-pv -spec: - storageClassName: s3yuyuko - capacity: - storage: 5G - accessModes: - - ReadWriteOnce - claimRef: - namespace: default - name: opengist-data-pvc - csi: - driver: ru.yandex.s3.csi - controllerPublishSecretRef: - name: csi-yuyuko-secret - namespace: kube-system - nodePublishSecretRef: - name: csi-yuyuko-secret - namespace: kube-system - nodeStageSecretRef: - name: csi-yuyuko-secret - namespace: kube-system - volumeAttributes: - capacity: 5G - mounter: s3fs-fuse - options: --memory-limit 1000 --dir-mode 0777 --file-mode 0666 -o allow_other --uid 1000 --gid 1000 - volumeHandle: opengist-pv --- apiVersion: v1 kind: PersistentVolumeClaim @@ -35,9 +6,7 @@ metadata: spec: accessModes: - ReadWriteOnce - storageClassName: s3yuyuko resources: requests: - storage: 5G - volumeMode: Filesystem - volumeName: opengist-pv \ No newline at end of file + storage: 5Gi + storageClassName: seaweedfs-storage \ No newline at end of file