-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding support for Azure monitor... along with a few simple bug fixes (…
…#41) * Adding support for Azure monitor... along with a few simple bug fixes * terraform-docs: automated action * Accidentally deleted a deployment * terraform-docs: automated action * Adding live support for additional node pools (Azure) * terraform-docs: automated action * Fix for ACI connector * Small changes to enable container insights * terraform-docs: automated action * Forgot public clusters --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
3b64c3f
commit f5bbad6
Showing
17 changed files
with
339 additions
and
65 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
terraform { | ||
source = "../../..//src/azure" | ||
} | ||
|
||
remote_state { | ||
backend = "azurerm" | ||
config = { | ||
resource_group_name = "sk8s" | ||
storage_account_name = "sk8sinfrastate" | ||
container_name = "tfstate" | ||
key = "public.tfstate" | ||
} | ||
generate = { | ||
path = "backend.tf" | ||
if_exists = "overwrite_terragrunt" | ||
} | ||
} | ||
|
||
inputs = { | ||
resource_group_name = "sk8s-cluster" | ||
network_name = "sk8s-cluster-vnet" | ||
address_space = "10.1.0.0/16" | ||
private_cluster = false | ||
system_managed_dns = false | ||
subnets = [ | ||
{ | ||
name = "cidr" | ||
address_prefix = "10.1.64.0/18" | ||
attributes = { | ||
routing = "internal" | ||
managed = true | ||
services = [ "aks" ] | ||
} | ||
}, | ||
{ | ||
name = "nodes" | ||
address_prefix = "10.1.0.0/18" | ||
attributes = { | ||
routing = "external" | ||
managed = false | ||
services = [ "aks" ] | ||
} | ||
}, | ||
{ | ||
name = "aci" | ||
address_prefix = "10.1.128.0/18" | ||
attributes = { | ||
routing = "external" | ||
managed = false | ||
services = [ "aks" ] | ||
} | ||
}, | ||
{ | ||
name = "extras" | ||
address_prefix = "10.1.192.0/19" | ||
attributes = { | ||
routing = "internal" | ||
managed = false | ||
services = [ "acr" ] | ||
} | ||
} | ||
] | ||
additional_node_pools = { | ||
"win" = { | ||
auto_scaler_profile = { | ||
enabled = true | ||
max_node_count = 3 | ||
min_node_count = 1 | ||
} | ||
node_size = "Standard_D2s_v3" | ||
node_os = "Windows" | ||
priority = { | ||
spot_enabled = false | ||
} | ||
} | ||
} | ||
tags = { | ||
project = "Sk8s" | ||
owner = "GitHub Practice" | ||
} | ||
container_insights_enabled = true | ||
} |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -87,4 +87,5 @@ inputs = { | |
project = "Sk8s" | ||
owner = "GitHub Practice" | ||
} | ||
container_insights_enabled = true | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,4 +64,5 @@ inputs = { | |
project = "Sk8s" | ||
owner = "GitHub Practice" | ||
} | ||
container_insights_enabled = true | ||
} |
This file contains 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
This file contains 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
Oops, something went wrong.