abiosoft / abiosoft/colima

k3s configmap reset to default value after restart cluster

Đang mở
#634 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Go
Star
30.8k
Fork
613
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### 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"]`.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.