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

Zarf fails to find the k3s it installed when running zarf from cloud-init #3081

Open
eikesauer opened this issue Oct 8, 2024 · 0 comments
Open

Comments

@eikesauer
Copy link

eikesauer commented Oct 8, 2024

Environment

Device and OS: Debian Bookworm (custom installer)
App version: Zarf v0.35.0
Kubernetes distro being used: zarf's own k3s

Steps to reproduce

We're creating a custom Debian installer with simple-cdd, include cloud-init (via deb), zarf, and the zarf-init-package and make cloud-init run "zarf init --components k3s --confirm --no-color --no-progress".

Expected result

k3s and the zarf stuff are installed, just as when I install them manually from the command line after a "pure" installation (which does work).

Actual Result

Zarf does install k3s, but fails to connect with the message "invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variable". Accordingly, k8s is running but does not contain the zarf data.

Visual Proof (screenshots, videos, text, etc)

2024-10-08 09_29_37-Window

Severity/Priority

Additional Context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Triage
Development

No branches or pull requests

1 participant