Skip to content

Commit

Permalink
Merge pull request #126 from uche-madu/develop
Browse files Browse the repository at this point in the history
add monitoring namespace
  • Loading branch information
uche-madu committed Nov 8, 2023
2 parents 19ec20b + 341992f commit c810e8d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
6 changes: 6 additions & 0 deletions terraform/k8s-namespaces.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ resource "kubernetes_namespace" "airflow" {
}
}

resource "kubernetes_namespace" "monitoring" {
metadata {
name = var.monitoring_namespace
}
}

# ArgoCD namespace
resource "kubernetes_namespace" "argocd" {
metadata {
Expand Down
3 changes: 2 additions & 1 deletion terraform/terraform.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ subnet-01 = "deb-sub1"
# GKE
gke_cluster = "deb-airflow-cluster"
node_pool_name = "deb-node-pool"
machine_type = "n2-standard-4"
machine_type = "n2-standard-2"
node_count = 3

airflow-gke-workload-identity = "airflow-workload-identity"
Expand All @@ -25,6 +25,7 @@ disable_dependent_services = false
airflow_helm_version = "1.10.0"
airflow_namespace = "airflow"
argocd_namespace = "argocd"
monitoring_namespace = "monitoring"
# nfs_namespace = "storage"

# Cloud SQL
Expand Down
4 changes: 4 additions & 0 deletions terraform/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ variable "argocd_namespace" {
type = string
}

variable "monitoring_namespace" {
type = string
}

# variable "nfs_namespace" {
# type = string
# }
Expand Down

0 comments on commit c810e8d

Please sign in to comment.