resource "kubernetes_service" "nginx" {
  metadata {
    name = "nginx"
    labels = {
      app = "nginx"
    }
  }
  spec {
    port {
      name = "web"
      port = 80
    }
    selector = {
      app = "nginx"
    }
    cluster_ip   = "None"
    external_ips = ["192.168.10.2"]
  }
}
