<p>I am trying to set up Argo CD on Google Kubernetes Engine Autopilot and each pod/container is defaulting to the default resource request (0.5 vCPU and 2 GB RAM per container). This is way more than the pods need and is going to be too expensive (13GB of memory reserved in my cluster just for Argo CD). I am following the Getting Started guide for Argo CD and am running the following command to add Argo CD to my cluster:</p>
<pre><code>kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
</code></pre>
<p>How do I specify the resources for each pod when I am using someone else's yaml template? The only way I have found to set resource requests is with my own yaml file like this:</p>
<pre><code>  apiVersion: v1
  kind: Pod
  metadata:
    name: memory-demo
    namespace: mem-example
  spec:
    containers:
    - name: memory-demo-ctr
      image: polinux/stress
      resources:
        limits:
          memory: &quot;200Mi&quot;
        requests:
          memory: &quot;100Mi&quot;
</code></pre>
<p>But I don't understand how to apply this type of configuration to Argo CD.</p>
<p>Thanks!</p>

<p>So right now you are just using kubectl with the manifest from github and you cannot edit it. What you need to do is</p>
<blockquote>
<p>1 Download the file with wget
<a href="https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml" rel="nofollow noreferrer">https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml</a></p>
<p>2 Use an editor like nano or vim to edit the file with requests as
explained in my comments above.</p>
<p>3 Then use kubectl apply -f newfile.yaml</p>
</blockquote>
