virtual-kubelet
virtual-kubelet copied to clipboard
I try to run virtual-kubelet in aws ec2, but i get no such file error
Environment summary
aws ec2
Provider (e.g. ACI, AWS Fargate)
aws
Version (e.g. 0.1, 0.2-beta)
v1.10.0-16-gce8a0ee8
K8s Master Info (e.g. AKS, ACS, Bare Metal, EKS)
eks
i use ./virtual-kubelet --provider aws --provider-config fargate.toml
to install virtual-kubelet to aws ec2, but i got error.
I ran into this, too, and stepped through the binary to understand what it's trying to do. The files it's trying to open here are for the PKI - you need to set APISERVER_CERT_LOCATION
, APISERVER_CA_CERT_LOCATION
and APISERVER_KEY_LOCATION
. I believe the docs on the website are somewhat outdated.
https://github.com/virtual-kubelet/virtual-kubelet/blob/d41d02609f8ed3f606da0ddfc36b074554826436/cmd/virtual-kubelet/internal/commands/root/http.go#L35-L37