abiosoft / abiosoft/colima

k3s configmap reset to default value after restart cluster

Offen
#634 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Go
Sterne
30.8k
Forks
613
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### Description

How to persist modifications in k3s?

### Version

Colima Version: 0.5.2
Lima Version: 0.14.2
Qemu Version: 7.2.0

### Operating System

- [ ] macOS Intel <= 12 (Monterrey)
- [ ] macOS Intel >= 13 (Ventura)
- [ ] macOS M1 <= 12 (Monterrey)
- [X] macOS M1 >= 13 (Ventura)
- [ ] Linux

### Output of `colima status`

INFO[0000] colima is running using QEMU
INFO[0000] arch: aarch64
INFO[0000] runtime: docker
INFO[0000] mountType: sshfs
INFO[0000] address: 192.168.106.2
INFO[0000] socket: unix:///Users/archcst/.colima/default/docker.sock
INFO[0000] kubernetes: enabled

### Reproduction Steps

1. kubectl edit configmap local-path-config -n kube-system
2. change `"paths":["/var/lib/rancher/k3s/storage"]` to `"paths":["/some/path/in/mac"]`
3. create a pvc, local-path-provisioner succeed create dynamic pv in `/some/path/in/mac`
4. colima stop
5. colima start
6. kubectl edit configmap local-path-config -n kube-system
7. the `"paths":["/var/lib/rancher/k3s/storage"]` restored

### Expected behaviour

Expecting configMap local-path-config remains `"paths":["/some/path/in/mac"]`.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.