Move internal-only packages under internal/
Problem
k0s was never designed to be consumed as a Go dependency, but nothing in the tree says so. Most of pkg/ is internal machinery, and because it lives under an importable path, people outside the project have taken dependencies on it.
pkg/etcd is one example, it is used by https://github.com/replicatedhq/embedded-cluster/blob/8a621ab0f3600e41d1ea88ba2f4af80532a9a630/cmd/installer/cli/reset.go#L548, and there was no signal that it was off limits.
Proposal
Draw the line explicitly. Anything we do not intend to support as a public API moves under internal/, where the compiler enforces it. That is close to everything outside the cobra commands and the API server types.
Whatever we decide to keep public keeps its current contract and changes only under the version skew policy (https://docs.k0sproject.io/head/version-skew-policy/).
The move itself is mechanical, so the work is in deciding what stays out of internal/, not in doing the relocation.
README note
Ahead of that, the README should say the quiet part out loud: the k0s Go API carries no stability promise and anything importing it does so at its own risk. That is a one paragraph change and it can land well before the relocation does.
Scope
This is a large diff and touches nearly every package, so it is worth doing on its own rather than folding into a feature PR. Filing it as a reminder rather than something to pick up today.
Source: k0sproject/k0s