Commit e2e55003 by chenxx

add annation

1 parent f52fb00e
Showing 1 changed file with 5 additions and 1 deletions
......@@ -52,7 +52,7 @@ module "deployment" {
#domian map to /etc/hosts
hosts = [
for host_list in var.hosts:
for host_list in var.hosts :
{
hostname = host_list.hostname,
ip = host_list.ip
......@@ -87,6 +87,10 @@ module "ingress" {
ingress_name = local.name
service_namespace = local.namespace
service_name = local.name
annotations = {
"nginx.ingress.kubernetes.io/proxy-send-timeout" = "360"
"nginx.ingress.kubernetes.io/proxy-read-timeout" = "360"
}
rule = [
{
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!