<p>I created an AWS EKS Fargate cluster with the following Fargate profile</p>
<pre><code>fargateProfiles:
  - name: fp-fluxcd
    selectors:
      - namespace: fluxcd
</code></pre>
<p>How do I either add (or change) the namespace so it looks like this?</p>
<pre><code>fargateProfiles:
  - name: fp-fluxcd
    selectors:
      - namespace: fluxcd
      - namespace: flux-system
</code></pre>
<p>I updated the config file and tried <code>eksctl upgrade -f my-cluster.yml</code> to no avail.</p>
<p>I guess another way to skin the cat is to add the fargate nodes to a namespace? How to do that?</p>

<p>As you can see in the <a href="https://docs.aws.amazon.com/eks/latest/userguide/fargate-profile.html" rel="nofollow noreferrer">AWS Fargate profile</a> documentation:</p>
<blockquote>
<p>Fargate profiles are immutable. However, you can create a new updated profile to replace an existing profile and then delete the original after the updated profile has finished creating.</p>
</blockquote>
<p>Fargate profiles are immutable by design, so there is no <code>update</code> command.
In my opinion you should use <code>eksctl create fargateprofile</code> and <code>eksctl delete fargateprofile</code> commands instead.</p>
<p>Additionally you can find similar discussion <a href="https://github.com/weaveworks/eksctl/issues/2399" rel="nofollow noreferrer">here</a>.</p>
