diff --git a/garden-service/src/plugins/kubernetes/status/status.ts b/garden-service/src/plugins/kubernetes/status/status.ts index 6d14fe6ab0..33257e22a3 100644 --- a/garden-service/src/plugins/kubernetes/status/status.ts +++ b/garden-service/src/plugins/kubernetes/status/status.ts @@ -188,6 +188,10 @@ export async function waitForResources({ ctx, provider, serviceName, resources, statuses = await checkResourceStatuses(api, namespace, resources, log) for (const status of statuses) { + const resource = status.resource + + log.debug(`Status of ${resource.kind} ${resource.metadata.name} is "${status.state}"`) + if (status.state === "unhealthy") { let msg = `Error deploying ${serviceName}: ${status.lastMessage}` diff --git a/garden-service/static/kubernetes/system/ingress-controller/garden.yml b/garden-service/static/kubernetes/system/ingress-controller/garden.yml index 8ede4c294b..03b06766bb 100644 --- a/garden-service/static/kubernetes/system/ingress-controller/garden.yml +++ b/garden-service/static/kubernetes/system/ingress-controller/garden.yml @@ -6,14 +6,20 @@ chart: stable/nginx-ingress releaseName: garden-nginx dependencies: - default-backend -version: 0.25.1 +version: 1.26.2 values: name: ingress-controller controller: defaultBackendService: ${var.namespace}/default-backend kind: DaemonSet + updateStrategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 1 daemonset: useHostPort: true + service: + omitClusterIP: true minReadySeconds: 1 defaultBackend: enabled: false