Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resizing of instances (CPU, RAM, Disks) #278

Closed
M-Schiefer opened this issue Nov 8, 2022 · 2 comments · Fixed by #306 or #299
Closed

Resizing of instances (CPU, RAM, Disks) #278

M-Schiefer opened this issue Nov 8, 2022 · 2 comments · Fixed by #306 or #299
Assignees

Comments

@M-Schiefer
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Currently there is no option to resize an already deployed El Carro Instance. Changes made to databaseResources are not applied to the statefulset.

Describe the solution you'd like
When changing the resources of the instance described in:

  databaseResources:
    requests:
      memory: 64Gi
      cpu: 8

and/or the disk sizes described in:

  disks:
    - name: DataDisk
      size: 210Gi
      storageClass: "standard-rwo"
    - name: LogDisk
      size: 110Gi
      storageClass: "standard-rwo"

the Statefulset and PVCs should be resized accordingly. (+ whatever needs to happen inside Oracle to support this, apart from possibly necessary parameter changes that are under the responsibility of the user, e.g. sga_max_size)

Describe alternatives you've considered
Resizing the PVCs manually does work (Scale down statefulset -> Change PVC -> Scale up statefulset) and the disk space can be used by Oracle afterwards. Manually changing the Statefulset might work as well, but we weren't able to test it extensively for unexpected side-effects.

Thx for considering our request!

@bjoernrost
Copy link

Does #306 solve the first half of this issue about resizing memory and CPU?

@akinfermo
Copy link
Collaborator

#299 and #306 resolve this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants