Hey hey, I am trying to run k3 in a
Hey hey, I am trying to run k3 in a container, with the following:
And this is my code:
I get the following:
Any idea what could be the issue? 🤔
13 Replies
Checking with another test container: https://github.com/stefanprodan/podinfo
It seems like it doesn't like to expose several ports 🤔
When I restrict the container to 1 port, my podinfo works
When retrying with k3s, but exposing only 1 port
EXPOSE 6443
, I get a [Error: Container exited with unexpected exit code: 137]
when hitting the /readyz endpoint ^^
After bumping the container to use "instance_type": "standard"
I know get a beautiful [Error: Container exited with unexpected exit code: 1] { exitCode: 1 }
error 😅Hum maybe I need to wait for bigger instances 😦
https://docs.k3s.io/installation/requirements#hardware
Requirements | K3s
K3s is very lightweight, but has some minimum requirements as outlined below.
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View
We have the same issue - the problem seems to be when exposing multiple ports
Hmm strange. I have exposed multiple ports on my containerized application and working fine for now.
Downgrading to Vite 6, from 7, appears to have resolved this
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View
I run a Bun server like this in container.
with this Dockerfile:
My
@cloudflare/containers
package is latest as well, and using wrangler dev
to run it locally.
I can't confirm K3s is working because running Dockerfile manually with docker build
and docker run
also doesn't work because of my host OS.GitHub
GitHub - redwoodjs/machinen: A web based text-editor for RedwoodSDK
A web based text-editor for RedwoodSDK. Contribute to redwoodjs/machinen development by creating an account on GitHub.
Let me know if you need some orientation around it?
It's working now - so I guess upgrading vite to v7 would create a repro.
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View
Oh! I'm building/ using RedwoodSDK
Which needs the Cloudflare Vite Plugin. They just added support for containers!
I assumed you worked at Cloudflare, lol!
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View