Skip to content

Compute logs not showing for kata (general-purpose) workloads #358

Description

@mdobush

Our system doesn't stream logs out from Kata Containers

Dockerfile

FROM busybox:stable-musl
COPY --chmod=755 counter.sh /counter.sh
ENTRYPOINT ["/bin/sh", "/counter.sh"]

counter.sh

#!/bin/sh
i=0
while true; do
  echo "$i"
  i=$((i + 1))
  sleep 1
done

Commands

docker build --platform linux/amd64 -t ghcr.io/mdobush/compute-echo-server:kata-counter .
docker push ghcr.io/mdobush/compute-echo-server:kata-counter

datumctl compute deploy kata-counter
--image=ghcr.io/mdobush/compute-echo-server:kata-counter
--runtime-class=general-purpose
--city=DFW --min=1 -y

Expected: log viewer shows 0, 1, 2, ... incrementing every second

Actual: no log output at all for the kata-deployed instance

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions