url/shlink-web: containerPort 8080 -> 80
shlinkio/shlink-web-client:0.1.1 listens on port 80 (nginx default), not 8080 like the prior :latest images. Keel auto-bumped the tag on 2026-05-23; liveness/readiness probes have been failing ever since because they still hit :8080. Pod was stuck restarting, the DeploymentReplicasMismatch alert fired. Aligns containerPort + both probes + service target_port with the image.
This commit is contained in:
parent
56a338f80b
commit
00bbbe0838
1 changed files with 7 additions and 4 deletions
|
|
@ -377,13 +377,16 @@ resource "kubernetes_deployment" "shlink-web" {
|
|||
memory = "64Mi"
|
||||
}
|
||||
}
|
||||
# shlinkio/shlink-web-client >=0.1.0 listens on port 80 (nginx default);
|
||||
# prior :latest builds listened on 8080. Keep both probes + service
|
||||
# target_port aligned with the image.
|
||||
port {
|
||||
container_port = 8080
|
||||
container_port = 80
|
||||
}
|
||||
liveness_probe {
|
||||
http_get {
|
||||
path = "/"
|
||||
port = 8080
|
||||
port = 80
|
||||
}
|
||||
initial_delay_seconds = 15
|
||||
period_seconds = 30
|
||||
|
|
@ -393,7 +396,7 @@ resource "kubernetes_deployment" "shlink-web" {
|
|||
readiness_probe {
|
||||
http_get {
|
||||
path = "/"
|
||||
port = 8080
|
||||
port = 80
|
||||
}
|
||||
initial_delay_seconds = 5
|
||||
period_seconds = 30
|
||||
|
|
@ -436,7 +439,7 @@ resource "kubernetes_service" "shlink-web" {
|
|||
port {
|
||||
name = "http"
|
||||
port = 80
|
||||
target_port = 8080
|
||||
target_port = 80
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue