You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Switching an app from Dockerfile to Docker Image deploys can cause the app to become unroutable, because the kubernetes service uses the type=web selector instead of type=cms.
Looking at the api_app table in the deis database shows that the structure column of the affected app contains {"web":0,"cmd":1} which causes the controller to choose the wrong selector.
Manually updating the structure column to {"cmd":1} and re-pulling the image fixes the problem.
The problem was observed in a cluster running workflow v2.14.0 for both the initial Dockerfile deploy and all following releases of the app:
The app was running fine on v6, but I likely fixed the kubernetes service selector using kubectl edit previously and forgot about it, so the problem came back to to the stale proctype config in the deis database.
This problem looks similar to what was reported in deis/workflow#658 and should have been fixed in workflow v2.12 according to the PR #1201.
So either this fix was not sufficient or there was a regression.
From @felixbuenemann on August 7, 2017 19:19
Switching an app from Dockerfile to Docker Image deploys can cause the app to become unroutable, because the kubernetes service uses the
type=web
selector instead oftype=cms
.Looking at the
api_app
table in the deis database shows that thestructure
column of the affected app contains{"web":0,"cmd":1}
which causes the controller to choose the wrong selector.Manually updating the
structure
column to{"cmd":1}
and re-pulling the image fixes the problem.The problem was observed in a cluster running workflow v2.14.0 for both the initial Dockerfile deploy and all following releases of the app:
The app was running fine on v6, but I likely fixed the kubernetes service selector using
kubectl edit
previously and forgot about it, so the problem came back to to the stale proctype config in the deis database.This problem looks similar to what was reported in deis/workflow#658 and should have been fixed in workflow v2.12 according to the PR #1201.
So either this fix was not sufficient or there was a regression.
Copied from original issue: deis/controller#1316
The text was updated successfully, but these errors were encountered: