update echo app exposed port[ci skip]

This commit is contained in:
viktorbarzin 2023-04-09 20:18:15 +01:00
parent 16a6114bd1
commit 1d2a07f535
No known key found for this signature in database
GPG key ID: 0EB088298288D958
2 changed files with 8 additions and 8 deletions

View file

@ -17,20 +17,20 @@ resource "kubernetes_deployment" "echo" {
name = "echo"
namespace = "echo"
labels = {
run = "echo"
app = "echo"
}
}
spec {
replicas = 5
selector {
match_labels = {
run = "echo"
app = "echo"
}
}
template {
metadata {
labels = {
run = "echo"
app = "echo"
}
}
spec {
@ -38,10 +38,10 @@ resource "kubernetes_deployment" "echo" {
image = "mendhak/http-https-echo"
name = "echo"
port {
container_port = 80
container_port = 8080
}
port {
container_port = 443
container_port = 8443
}
}
}
@ -54,18 +54,18 @@ resource "kubernetes_service" "echo" {
name = "echo"
namespace = "echo"
labels = {
"run" = "echo"
"app" = "echo"
}
}
spec {
selector = {
run = "echo"
app = "echo"
}
port {
name = "http"
port = "80"
target_port = "80"
target_port = "8080"
}
}
}

Binary file not shown.