Created
April 24, 2022 05:59
-
-
Save ensean/3db19171b09f7a57ae7e24fb420fecdb to your computer and use it in GitHub Desktop.
eksctl-fargate-nat-example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# An example of ClusterConfig object with highly available NAT gateways | |
--- | |
apiVersion: eksctl.io/v1alpha5 | |
kind: ClusterConfig | |
metadata: | |
name: cluster-fargate | |
region: ap-northeast-1 | |
vpc: | |
nat: | |
gateway: HighlyAvailable # other options: Disable, Single (default) | |
fargateProfiles: | |
- name: fp-default | |
selectors: | |
# All workloads in the "default" Kubernetes namespace will be | |
# scheduled onto Fargate: | |
- namespace: default | |
# All workloads in the "kube-system" Kubernetes namespace will be | |
# scheduled onto Fargate: | |
- namespace: kube-system | |
- name: fp-dev | |
selectors: | |
# All workloads in the "dev" Kubernetes namespace matching the following | |
# label selectors will be scheduled onto Fargate: | |
- namespace: dev | |
labels: | |
env: dev | |
checks: passed | |
tags: | |
env: dev | |
name: fp-dev |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment