1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 21:46:22 +01:00
Files
openshift-docs/modules/patch-argocd-instance.adoc
Debargho Ghosh 07530c65cc added resource limit
added in TOC

made review changes

made review changes
2022-11-23 10:44:24 +00:00

22 lines
773 B
Plaintext

// Module is included in the following assemblies:
//
// * cicd/gitops/configuring-resource-quota.adoc
:_content-type: PROCEDURE
[id="patch-argocd-instance_{context}"]
= Patching Argo CD instance to update the resource requirements
[role="_abstract"]
You can update the resource requirements for all or any of the workloads post installation.
.Procedure
Update the `Application Controller` resource requests of an Argo CD instance in the Argo CD namespace.
[source,terminal]
----
oc -n argocd patch argocd example --type='json' -p='[{"op": "replace", "path": "/spec/controller/resources/requests/cpu", "value":"1"}]'
oc -n argocd patch argocd example --type='json' -p='[{"op": "replace", "path": "/spec/controller/resources/requests/memory", "value":"512Mi"}]'
----