colima icon indicating copy to clipboard operation
colima copied to clipboard

--k3s-arg=--disable=... does nothing but --kubernetes-disable still works

Open sdemura opened this issue 10 months ago • 4 comments

Description

Starting colima with custom --k3s-arg doesn't work.

Using colima start --help example:

colima start --kubernetes --k3s-arg=--disable=coredns,servicelb,traefik,local-storage,metrics-server

colima installs traefik, servicelb, local-path-provisioner (local-storage), metrics-server but does NOT install coredns.

k9s screenshot image

Looking at the source, it looks like --kubernetes-disable is still available but hidden. If I use that version, then colima does the right thing

ex:

colima start --kubernetes --kubernetes-disable=coredns --kubernetes-disable=servicelb --kubernetes-disable=traefik --kubernetes-disa
ble=local-storage --kubernetes-disable=metrics-server

k9s screenshot image

Version

❯ colima version && limactl --version 
colima version 0.8.1
git commit: 96598cc5b64e5e9e1e64891642b91edc8ac49d16
limactl version 1.0.2

Operating System

  • [ ] macOS Intel <= 13 (Ventura)
  • [ ] macOS Intel >= 14 (Sonoma)
  • [ ] Apple Silicon <= 13 (Ventura)
  • [X] Apple Silicon >= 14 (Sonoma)
  • [ ] Linux

Output of colima status

No response

Reproduction Steps

Expected behaviour

colima start --kubernetes --k3s-arg=--disable=coredns,servicelb,traefik,local-storage,metrics-server should actually disable the specified components.

Additional context

No response

sdemura avatar Dec 17 '24 15:12 sdemura