You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unable to test local dev addons on microk8s on a Darwin based system. I installed microk8s using multipass and on execing into the vm I am getting an empty common folder in the /var/snap/microk8s/common file path.
Since snap is not available on mac, by getting it from homebrew and doing a sudo snap install microk8s --classic --channel latest/edge/addons I get this
Interacting with snapd is not yet supported on darwin.
This command has been left available for documentation purposes only.
Some alternatives I tried were pushing my enable and disable script to a GitHub repo and adding that repo to microk8s, but upon doing that I'm getting this
enable hook for litmus addon needs execute permissions
Removing /var/snap/microk8s/common/addons/litmus
An error occurred when trying to execute 'sudo microk8s.addons repo add litmus https://github.com/S-ayanide/microk8s-community-addons.git' with 'multipass': returned exit code 1.
What Should Happen Instead?
It should let me try local addons which have execute permissions. Or there should be an alternative to swapping /var/snap approach for darwin systems.
Reproduction Steps
To reproduce the above, try the following on a darwin system.
Install microk8s and enable multipass
Try adding your repository with a new addon where an enable script is added microk8s addons repo add <REPO_NAME> <REPO_URL>
Are you interested in contributing with a fix?
No
The text was updated successfully, but these errors were encountered:
S-ayanide
changed the title
Unable to test addons on MacOS
Unable to test custom added addons on MacOS
May 14, 2023
Summary
Unable to test local dev addons on microk8s on a Darwin based system. I installed microk8s using multipass and on execing into the vm I am getting an empty
common
folder in the/var/snap/microk8s/common
file path.Since
snap
is not available on mac, by getting it from homebrew and doing asudo snap install microk8s --classic --channel latest/edge/addons
I get thisSome alternatives I tried were pushing my
enable
anddisable
script to a GitHub repo and adding that repo to microk8s, but upon doing that I'm getting thisWhat Should Happen Instead?
It should let me try local addons which have execute permissions. Or there should be an alternative to swapping
/var/snap
approach for darwin systems.Reproduction Steps
To reproduce the above, try the following on a darwin system.
microk8s addons repo add <REPO_NAME> <REPO_URL>
Are you interested in contributing with a fix?
No
The text was updated successfully, but these errors were encountered: