-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Troubleshooting Talos Linux Integration: Challenges with k3d Image Pulling #57
Comments
Hi @byteshiva, could you please re-run the command to create the cluster with |
Sure, here are the detailed logs after applying the --verbose flag: Detailed logs
Error encountered while attempting to delete cluster using k3d Error Details
k3d cluster delete wasm-cluster --verbose
Utilizing Nix for Isolation
|
I just tried it on my laptop (Macbook M2 Pro), and it completed successfully.
|
I initiated a discussion on the K3d GitHub repository at k3d-io/k3d#1422. I followed the steps below to set up a Spinkube cluster in a local environment using Talos Linux But I see an error at:
Steps to Create Sample SpinKube App
Step 1:
Step 2:
Step 3:
reference:
|
I deployed a simple JavaScript Spin application on the GitHub Container Registry and made it public.
However, I'm encountering difficulties in creating the container, and I'm unsure of the reason behind it. Steps/Details
|
Hi @byteshiva, |
The RuntimeClass configuration looks like this
Runtimeclass Details
|
How did you set up the K3s? |
Please note that I'm not using K3d/k3s. Instead, I have set it up on Talos Linux. Containerd config / Other Details
Controller Node Config
Agent/Worker Node Config
|
I like Talos! But realistically we would not have an "instead" sample; no harm in having several. :-) |
In that case the error message is correct, the containerd shim is not installed. With KWasm or the runtime-class-manager the spin shim can be installed on a variety of Kubernetes distributions. But that is not working with Talos. But we can build a talos-extensions that adds the shim. Only Talos on Docker can't execute extensions afaik. Are you using Talos on Docker? |
No, I'm not using Talos on Docker. I'm currently running Talos on VirtualBox using an ISO - metal-amd64.iso |
Great! |
Hi @byteshiva |
Hi @byteshiva, I tested it on Digital Ocean and a Raspberry Pi 4. Steps to reproduce:
Digital Ocean
Raspberry Pi
Use the out/metal-rpi_generic-arm64.raw.xz to flash a sdcard e.g. with Raspberry Pi Imager Verify extension
Apply RuntimeClassapiVersion: node.k8s.io/v1
kind: RuntimeClass
metadata:
name: wasmtime-spin-v2
handler: spin Creatte Spin DeploymentapiVersion: v1
kind: Pod
metadata:
name: spin-test
spec:
containers:
- command:
- /
image: ghcr.io/spinkube/containerd-shim-spin/examples/spin-rust-hello
name: spin-test
runtimeClassName: wasmtime-spin-v2 Verify deploymentkubectl get pod
NAME READY STATUS RESTARTS AGE
spin-test 1/1 Running 0 56m # Finally test the hello spin app 🥳
kubectl port-forward pod/spin-test 8000:80
curl localhost:8000/hello
> Hello world from Spin! Now everything is set up to use SpinKube! 🚀 @tpmccallum is SpinKube on Talos Linux something we should add to the documentation? |
Nice! @0xE282B0 let me know if any help needed!! |
Description:
I would like to request the use of Talos Linux instead of k3d for the deployment. Currently, I am facing issues when trying to pull k3d images. Here are the details of the problem:
The below deployment and services to work in talos linux.
I followed the instruction as provided in https://www.spinkube.dev/docs/spin-operator/installation/installing-with-helm/.
Please assist in resolving this issue and providing guidance on how to use Talos Linux for the deployment.
ps:
I plan to use Talos Linux instead of K3d.
https://www.spinkube.dev/docs/spin-operator/quickstart/
Error:
The k3d example fails to work in my NixOS setup. It's stuck at the below
The text was updated successfully, but these errors were encountered: