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

can't install helm chart, command not found #2331

Open
lazywhite opened this issue Jan 11, 2024 · 0 comments
Open

can't install helm chart, command not found #2331

lazywhite opened this issue Jan 11, 2024 · 0 comments
Labels
kind/bug Something isn't working

Comments

@lazywhite
Copy link

What happen?

here is my Kubefile

FROM docker.io/sealerio/kubernetes:v1-22-15-sealerio-2
APP nginx local://nginx/
LAUNCH ["calico", "nginx"]

nginx is a helm chart, I build sealer image with this command

sealer build -f Kubefile -t demo:t6 .

then I install kubernetes with this command

sealer run demo:t6  \
	--user root \
	--passwd 1234 \
	--masters 1.2.3.5 \
        --nodes 1.2.3.4

then install failed with "helm command not found"

should I preinstall helm on all --masters and --nodes? can I build helm inside sealer image and execute it?

Relevant log output?

/bin/bash: helm: 未找到命令
2024-01-11 11:09:42 [ERROR] [root.go:75] sealer-v0.11.0: failed to execute command(export PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin"; cd /var/lib/sealer/data/my-cluster/rootfs && helm install nginx application/apps/nginx/) on host(10.3.8.157): error(exit status 127)


### What you expected to happen?

_No response_

### How to reproduce it (as minimally and precisely as possible)?

_No response_

### Anything else we need to know?

_No response_

### What is the version of Sealer you using?

{"gitVersion":"v0.11.0","gitCommit":"f07e804","buildDate":"2023-07-25 02:51:08","goVersion":"go1.17.13","compiler":"gc","platform":"linux/amd64"}

### What is your OS environment?

Anolis OS 8.8

### What is the Kernel version?

5.10.134-13.an8.x86_64

### Other environment you want to tell us?

- Cloud provider or hardware configuration:
- Install tools:
- Others:
@lazywhite lazywhite added the kind/bug Something isn't working label Jan 11, 2024
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