opskumu / helm-wrapper

A Helm3 HTTP Server Wrapper by helm Go SDK, help you manage helm charts with HTTP RESTFul API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

k8s启动helm-wrapper,进入容器内部命令报错,kube_config参数path要怎么配置

kf2004 opened this issue · comments

kubectl exec -it helm-wrapper-775d679-x8dzd -c helm-wrapper -n manage -- /bin/bash 或者 /bin/sh

OCI runtime exec failed: exec failed: container_linux.go:348: starting container process caused "exec: "/bin/bash": stat /bin/bash: no such file or directory": unknown

commented

@kf2004 因为使用的是 scratch 最小基础镜像,可以使用 nsenter 进入,或者 Dockerfile 基础镜像修改成 ubuntu 或者 debian 之类的哈

centos:centos7我改成了这个也进不去

commented

centos 测试是可以的哦 @kf2004