SAP-archive / karydia

Kubernetes Security Walnut
Other
77 stars 10 forks source link

Dev-Image is not built correctly #261

Open Neumann-Nils opened 4 years ago

Neumann-Nils commented 4 years ago

Description

There is an error with the dev-image, as it cannot be startet on a Kubernetes cluster. Oneself and the pipeline can build it but I cannot get it running on any cluster.

In contrast, if I deploy an older dev-image (e.g. 0.2.2-dev-b61b7d043377756d563903ec628cadfb) and hotswap a local build into the cluster, it works just fine. Thus, I think there might be a problem with updated dependencies in the Makefile or similar.

For now, I deleted the malfunctioning dev-images from the registries and we can use the functioning old build (as nothing changed in the source code).

Steps to reproduce

  1. Build the dev-image of Karydia (e.g. via the pipeline)
  2. Deploy on a cluster
  3. Try to access the Karydia pods (they are failing (e.g. liveness-probe fails))

Expected behavior

When I built the dev-image without any problems I would expect the pods to run normally on the cluster.

Logs / console output / screenshots / affected lines of code

vents:
  Type     Reason     Age                   From                        Message
  ----     ------     ----                  ----                        -------
  Warning  Unhealthy  6m00s (x3 over 3m)    karydia    Liveness probe failed: [...]
  Warning  BackOff    6m00s (x3 over 3m)    karydia    Back-off restarting failed container