https://www.orchest.io/ logo
Title
a

Alexsander Pereira

11/25/2022, 6:46 PM
Guys, I increased the EBS disk to 150GB used by userdir-pvc. I also updated on EKS, but the mount still has 50GB.
Here it still says 50GB in the output of the df -h command...
r

Rick Lamers

11/25/2022, 6:58 PM
@Yannick can you link to the manifest location for PVC volume sizes?
a

Alexsander Pereira

11/25/2022, 7:02 PM
How do I do that?
What would be the correct way to increase the size of the persistent volume of orchest-userdir?
r

Rick Lamers

11/25/2022, 10:55 PM
Both the underlying storage size and the PVC size need to be increased. Looks like you did the first and not the latter. https://github.com/orchest/orchest/blob/50fa31991c5dc9e7cf1be7a4595815e2e6247b4f/orchest-cli/orchestcli/cli.py#L218 https://github.com/orchest/orchest/blob/d5f1bc16a42b2f3039816770d2f201a4a02996ec/services/orchest-controller/pkg/controller/orchestcluster/cluster_controller.go#L725 Here are two relevant bits. One is for initialization and the other is where it’s used.
a

Alexsander Pereira

11/28/2022, 1:35 PM
And where do I increase it?
y

Yannick

11/28/2022, 2:28 PM
You can do that through the
OrchestCluster
CR Object in the same way the
orchest-cli
does it: https://github.com/orchest/orchest/blob/50fa31991c5dc9e7cf1be7a4595815e2e6247b4f/orchest-cli/orchestcli/cmds.py#L371
a

Alexsander Pereira

11/29/2022, 1:48 PM
@Rick Lamers Was it this setting?
apiVersion: <http://orchest.io/v1alpha1|orchest.io/v1alpha1>
kind: OrchestCluster
metadata:
  name: cluster-1
  namespace: orchest
  annotations:
    <http://controller.orchest.io/deploy-ingress|controller.orchest.io/deploy-ingress>: "false"
spec:
  singleNode: true
  orchest:
    authServer:
      image: public.ecr.aws/u5k1d2l0/orchest-auth-server:v2022.10.5-1.3.0
    orchestWebServer:
      image: public.ecr.aws/u5k1d2l0/orchest-webserver:v2022.10.5-1.3.0
    resources:
      userDirVolumeSize: 150Gi
r

Rick Lamers

11/29/2022, 1:51 PM
That indeed looks like the same setting, it's the
spec
object of our custom resource definition (OrchestCluster).
a

Alexsander Pereira

11/29/2022, 2:01 PM
It didn't solve it, it still shows 50GB in df -h
y

Yannick

11/29/2022, 2:03 PM
Since you are using EBS and increased the EBS size, did you also grow the filesystem?
a

Alexsander Pereira

11/29/2022, 2:06 PM
I tried it too, but it doesn't seem to exist an partition.
image.png
image.png
It worked running resize2fs
πŸ‘ 1
πŸ‘€ 1
Thanks!
y

Yannick

11/29/2022, 2:11 PM
Good to hear πŸ’―