Skip to content

Commit

Permalink
fix aws*-reference for production
Browse files Browse the repository at this point in the history
  • Loading branch information
zugwan committed Nov 7, 2023
1 parent 81638c1 commit 6b729c7
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 32 deletions.
34 changes: 12 additions & 22 deletions aws-msa-reference/tks-cluster/site-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ global:
clusterRegion: CHANGEME
cloudAccountID: CHANGEME

tksCpNode: CHNAGEME
tksCpNodeMax: CHANGEME
tksCpNodeType: CHANGEME
tksCpNode: 3
tksCpNodeType: m5a.2xlarge
tksInfraNode: CHNAGEME
tksInfraNodeMax: CHANGEME
tksInfraNodeType: CHANGEME
Expand Down Expand Up @@ -49,10 +48,12 @@ charts:
protocol: tcp
fromPort: 5473
toPort: 5473
bastion.enabled: false
baseOS: ubuntu-22.04
bastion:
enabled: false
baseOS: ubuntu-20.04
kubeadmControlPlane:
replicas: $(tksCpNode)
controlPlaneMachineType: $(tksCpNodeType)
machinePool:
- name: taco
machineType: $(tksInfraNodeType)
Expand All @@ -68,16 +69,17 @@ charts:
taco-ingress-gateway: enabled
roleAdditionalPolicies:
- "arn:aws:iam::aws:policy/AmazonS3FullAccess"
machineDeployment:
- name: normal
numberOfAZ: 3 # ap-northeast-2
minSizePerAZ: $(tksUserNode)
maxSizePerAZ: $(tksUserNodeMax)
selector:
matchLabels:
machineType: $(tksUserNodeType)
replicas: $(tksUserNode)
minSize: 0
maxSize: $(tksUserNodeMax)
rootVolume:
size: 50
type: gp2
roleAdditionalPolicies:
- "arn:aws:iam::aws:policy/service-role/AmazonEBSCSIDriverPolicy"

- name: ingress-nginx
override:
Expand Down Expand Up @@ -113,15 +115,3 @@ charts:
override:
deployMgmtRbacOnly:
targetNamespace: $(clusterName)

- name: argo-rollouts
override:
controller:
nodeSelector:
taco-lma: enabled
replicas: 2
image:
registry: harbor.taco-cat.xyz
repository: tks/argo-rollouts
tag: v1.4.1

22 changes: 12 additions & 10 deletions aws-reference/tks-cluster/site-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ global:
clusterRegion: CHANGEME
cloudAccountID: CHANGEME

tksCpNode: CHNAGEME
tksCpNodeMax: CHANGEME
tksCpNodeType: CHANGEME
tksCpNode: 3
tksCpNodeType: m5a.2xlarge
tksInfraNode: CHNAGEME
tksInfraNodeMax: CHANGEME
tksInfraNodeType: CHANGEME
Expand Down Expand Up @@ -49,10 +48,12 @@ charts:
protocol: tcp
fromPort: 5473
toPort: 5473
bastion.enabled: false
baseOS: ubuntu-22.04
bastion:
enabled: false
baseOS: ubuntu-20.04
kubeadmControlPlane:
replicas: $(tksCpNode)
controlPlaneMachineType: $(tksCpNodeType)
machinePool:
- name: taco
machineType: $(tksInfraNodeType)
Expand All @@ -68,16 +69,17 @@ charts:
taco-ingress-gateway: enabled
roleAdditionalPolicies:
- "arn:aws:iam::aws:policy/AmazonS3FullAccess"
machineDeployment:
- name: normal
numberOfAZ: 3 # ap-northeast-2
minSizePerAZ: $(tksUserNode)
maxSizePerAZ: $(tksUserNodeMax)
selector:
matchLabels:
machineType: $(tksUserNodeType)
replicas: $(tksUserNode)
minSize: 0
maxSize: $(tksUserNodeMax)
rootVolume:
size: 50
type: gp2
roleAdditionalPolicies:
- "arn:aws:iam::aws:policy/service-role/AmazonEBSCSIDriverPolicy"

- name: ingress-nginx
override:
Expand Down

0 comments on commit 6b729c7

Please sign in to comment.