Comments (8)
Hi @ohault
What environment are you using? Is this perhaps on LXD? One thing you could try as a work-around is to edit the multus daemonset and remove the MountPropagation: Bidirectional
line from https://github.com/canonical/microk8s-community-addons/blob/ec3dddc5a3b7efac45fe81daca35eba6b3b81ec0/addons/multus/multus.yaml#L160
from microk8s.
I'm using WSL2.
Hi @ohault
What environment are you using? Is this perhaps on LXD? One thing you could try as a work-around is to edit the multus daemonset and remove the
MountPropagation: Bidirectional
line from https://github.com/canonical/microk8s-community-addons/blob/ec3dddc5a3b7efac45fe81daca35eba6b3b81ec0/addons/multus/multus.yaml#L160
I'm using WSL2.
from microk8s.
OK, thank you. Could you check whether the proposed workaround above helps?
from microk8s.
OK, thank you. Could you check whether the proposed workaround above helps?
No so easy to test as multus.yaml is in ro in the /snap tree because I used snap to install microk8s.
Feel free to you tell me how I can test it ?
I can do it under WSL2/Ubuntu 20.4.6.
from microk8s.
OK, the addons themselves are read-write, and can be found under /var/snap/microk8s/common/addons
. You could edit the manifest at /var/snap/microk8s/common/addons/community/addons/multus
then enable the addon
from microk8s.
OK, the addons themselves are read-write, and can be found under
/var/snap/microk8s/common/addons
. You could edit the manifest at/var/snap/microk8s/common/addons/community/addons/multus
then enable the addon
It's exactly what I tried, but I got an error message like "The filesystem is read only".
from microk8s.
I think there must be a mixup here. The read-only parts of microk8s will be in /snap/microk8s/current/...
. /var/snap/microk8s/common/...
will not be readonly (it is actively used for microk8s to store and maintain the current state).
Can you try editing the file again? The command should be
sudo vim /var/snap/microk8s/common/addons/community/addons/multus/multus.yaml
Or can you share the exact error message that you are getting?
from microk8s.
I have just tried from a fresh new system.
I confirm that on the new system, I have been able to modify the file /var/snap/microk8s/common/addons/community/addons/multus/multus.yaml
I don't understand why this was not the case, but it's a detail.
I confirm also that by removing the line "MountPropagation: Bidirectional" fix the multus starting issue.
from microk8s.
Related Issues (20)
- Traceback on `microk8s.enable dns`: `subprocess.CalledProcessError` HOT 1
- If NetworkManager is running connectivity-checks expect some suspicious looking logs
- add_token script creates small token sizes HOT 1
- Unable to install using brew on Mac M1. Download error HOT 4
- "Address not allowed" when trying to get stats summary of the node HOT 1
- Issue with pulling an image from the microk8s registry
- v1.29/stable not working on hetzner HOT 5
- Remote access to Microk8s Cluster running on a MacOS HOT 2
- how to update metaalb address range HOT 1
- The Microk8s Addon's GPU is not working. HOT 1
- traefik-dashboard pod not created after `microk8s enable traefik` HOT 1
- Expose port on host machine problem HOT 1
- microk8s Off-line installation fails on RHEL 9.3 HOT 7
- launch failed: Cannot open image file for computing hash HOT 2
- [MinIO addon] console pod goes into ImagePullBackOff HOT 5
- Microk8s clustering, Connection Filed, Invalid Token (500) error only when joining cluster with --worker flag in 1.30/stable HOT 1
- Status --wait-ready never ends HOT 1
- Installation of 1.30/stable on debian-12-genericcloud-amd64.qcow2 fails HOT 12
- Question: why microk8s.ctr shows additional container images tagged by hash HOT 1
- Join microk8s nodes in multipass VMs from two different physical machines on the same local network
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from microk8s.