Created
September 26, 2019 09:36
-
-
Save tom-butler/8d587aef9529333d2cff3a249ec07191 to your computer and use it in GitHub Desktop.
Cluster config
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
# Cluster config | |
region = "ap-southeast-2" | |
owner = "deacepticons" | |
cluster_name = "dea-sandbox" | |
cluster_version = "1.13" | |
admin_access_CIDRs = { | |
"Everywhere" = "0.0.0.0/0" | |
} | |
users = [ | |
"user/tbutler" | |
] | |
# Data Orchestration | |
bucket = "dea-public-data" | |
services = ["ows"] | |
topic_arn = "arn:aws:sns:ap-southeast-2:538673716275:DEANewData" | |
# Worker instances | |
default_worker_instance_type = "r4.4xlarge" | |
spot_nodes_enabled = true | |
min_nodes_per_az = 1 | |
desired_nodes_per_az = 1 | |
max_nodes_per_az = 6 | |
max_spot_price = "0.4" | |
# Database config | |
db_dns_name = "db" | |
db_dns_zone = "internal" | |
db_multi_az = false | |
store_db_credentials = true | |
# Addons | |
alb_ingress_enabled = true | |
cloudwatch_logs_enabled = true | |
cluster_autoscaler_enabled = true | |
datacube_wms_enabled = true | |
datacube_wps_enabled = true | |
domain_name = "sandbox.dea.ga.gov.au" | |
external_dns_enabled = true | |
flux_enabled = true | |
metrics_server_enabled = true | |
prometheus_enabled = true | |
jhub_cognito_auth_enabled = true | |
jhub_callback_url = "https://app.sandbox.dea.ga.gov.au/oauth_callback" | |
fluxcloud_enabled = true | |
custom_kube2iam_roles = [ | |
{ | |
name = "eks-new" | |
policy = <<-EOF | |
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": ["S3:ListBucket"], | |
"Resource": [ | |
"arn:aws:s3:::dea-public-data", | |
"arn:aws:s3:::dea-public-data-dev" | |
] | |
}, | |
{ | |
"Effect": "Allow", | |
"Action": ["S3:GetObject"], | |
"Resource": [ | |
"arn:aws:s3:::dea-public-data/*", | |
"arn:aws:s3:::dea-public-data-dev/*" | |
] | |
} | |
] | |
} | |
EOF | |
} | |
] | |
# Flux | |
# ==== | |
flux_git_repo_url = | |
flux_git_branch = "eks-sandbox" | |
flux_git_label = "datacube-eks-sandbox" | |
fluxcloud_slack_url = " | |
fluxcloud_slack_channel = "#ga-wms-updates" | |
fluxcloud_slack_name = "Sandbox Flux Deployer" | |
fluxcloud_slack_emoji = ":dancing_toad:" | |
fluxcloud_github_url = | |
fluxcloud_commit_template = "{{ .VCSLink }}/commits/{{ .Commit }}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Removed sensitive flux config