k3s-io / k3s

Lightweight Kubernetes
https://k3s.io
Apache License 2.0
28.1k stars 2.35k forks source link

Add Integration Test for common/uncommon server/agent flag options #6058

Closed rancher-max closed 11 months ago

rancher-max commented 2 years ago

Similar to https://github.com/k3s-io/k3s/issues/6056. This should add tests for different options that we see. We still need to define what is common vs. uncommon, but for example, a lot of users deploy k3s with traefik and svclb disabled, so that is one configuration to have in the tests here.

Feel free to add configurations as comments to this issue for tracking and to make it easier to add tests for them!

To start:

k3s server --disable=traefik,servicelb,metrics-server,local-storage,coredns --disable-network-policy \
--disable-agent --disable-cloud-controller --flannel-backend=none --disable-scheduler \
--kube-controller-manager-arg=controllers=*,-nodeipam,-nodelifecycle,-persistentvolume-binder,-attachdetach,-persistentvolume-expander,-cloud-node-lifecycle \
--kube-apiserver-arg=endpoint-reconciler-type=none
dereknola commented 1 year ago

Agentless servers is covered by an e2e test: https://github.com/k3s-io/k3s/pull/7331 Disable traefik is covered by an integration test: https://github.com/k3s-io/k3s/pull/5630

caroline-suse-rancher commented 11 months ago

Closing this - we can create new issues that are more specific to the flags still needing tests.