microsoft / retina

eBPF distributed networking observability tool for Kubernetes
https://retina.sh
MIT License
2.74k stars 211 forks source link

Tried to install on docker-desktop #218

Open Crak31196 opened 7 months ago

Crak31196 commented 7 months ago

Describe the bug Error: failed to start container "init-retina": Error response from daemon: path /sys/fs/bpf is mounted on /sys but it is not a shared mount

Gettings above error when I tried on install on mac Mac details Darwin XXX 22.6.0 Darwin Kernel Version 22.6.0: Mon Feb 19 19:45:09 PST 2024; root:xnu-8796.141.3.704.6~1/RELEASE_ARM64_T6000 arm64

To Reproduce Can be installed on docker-desktop

VERSION=$( curl -sL https://api.github.com/repos/microsoft/retina/releases/latest | jq -r .name)
helm upgrade --install retina oci://ghcr.io/microsoft/retina/charts/retina \
    --version $VERSION \
    --namespace kube-system \
    --set image.tag=$VERSION \
    --set operator.tag=$VERSION \
    --set image.pullPolicy=Always \
    --set logLevel=info \
    --set os.windows=true \
    --set operator.enabled=true \
    --set operator.enableRetinaEndpoint=true \
    --skip-crds \
    --set enabledPlugin_linux="\[dropreason\,packetforward\,linuxutil\,dns\,packetparser\]" \
    --set enablePodLevel=true \
    --set enableAnnotations=true

After that the target is not up

Screenshot 2024-04-04 at 9 27 07 AM
hainenber commented 7 months ago

I've skimmed through the codebase and it seems currently, except for Retina CLI, MacOS is not supported out-of-the-box.