Skip to content
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

devspace sync not working with remote K3S Cluster #2922

Open
mwagner5310 opened this issue Jan 2, 2025 · 1 comment
Open

devspace sync not working with remote K3S Cluster #2922

mwagner5310 opened this issue Jan 2, 2025 · 1 comment
Labels
kind/bug Something isn't working

Comments

@mwagner5310
Copy link

mwagner5310 commented Jan 2, 2025

What happened?
I want to use devspace sync to copy some files to a K3S Cluster on a remote Root-Server in a CICD-Pipeline.
The copy process never works and close with different errors like:
E0102 15:15:50.925683 150226 v2.go:104] use of closed network connection
Or:
E0102 15:13:49.798803 149064 v2.go:104] io: read/write on closed pipe
Or:
E0102 15:12:53.564798 148463 v2.go:104] write tcp 192.168.178.23:55576->89.58.43.43:6443: use of closed network connection

I can copy the same directory to a local minikube cluster running on my laptop.
Are there any requirements for the cluster or Root-Server to make the file transfer work?
Can I get more information why the transfer failed?

I just use the devspace sync command without a devspace.yaml

Local Environment:

  • DevSpace Version: [use devspace --version] - devspace version 6.3.14
  • Operating System: windows | linux | mac - linux
  • ARCH of the OS: AMD64 | ARM64 | i386 - AMD64
    Kubernetes Cluster:
  • Cloud Provider: google | aws | azure | other - Netcup Root Server with K3S
  • Kubernetes Version: [use kubectl version] - v1.30.4+k3s1
@mwagner5310 mwagner5310 added the kind/bug Something isn't working label Jan 2, 2025
@mwagner5310
Copy link
Author

mwagner5310 commented Jan 3, 2025

I nailed the Problem down to the image running inside the Cluster.
I used the tomcat:9-jdk21-corretto image with amazonlinux Base Image.

By switching to tomcat:9-jre21-temurin image with Ubuntu Base, it is working now.

Are there any requirements regarding the Container Image which are missing for making the sync work with amazonlinux?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant