mirror of https://github.com/k3s-io/k3s
![]() Automatic merge from submit-queue Automatically create the kube-system namespace At the same time we ensure that the `default` namespace is present, it also creates `kube-system` if it doesn't exist. `kube-system` will now exist from the beginning, and will be recreated every 10s if deleted, in the same manner as the `default` ns This makes UX much better, no need for `kubectl`ing a `kube-system.yaml` file anymore for a function that is essential to Kubernetes (addons). For instance, this makes dashboard deployment much easier when there's no need to check for the `kube-system` ns first. A follow up in the future may remove places where logic to manually create the kube-system namespace is present. Also fixed a small bug where `CreateNamespaceIfNeeded` ignored the `ns` parameter and was hardcoded to `api.NamespaceDefault`. @davidopp @lavalamp @thockin @mikedanese @bryk @cheld @fgrzadkowski @smarterclayton @wojtek-t @dlorenc @vishh @dchen1107 @bgrant0607 @roberthbailey <!-- Reviewable:start --> --- This change is [<img src="http://reviewable.k8s.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](http://reviewable.k8s.io/reviews/kubernetes/kubernetes/25196) <!-- Reviewable:end --> |
||
---|---|---|
.. | ||
admission | ||
api | ||
apimachinery | ||
apis | ||
apiserver | ||
auth | ||
capabilities | ||
client | ||
cloudprovider | ||
controller | ||
conversion | ||
credentialprovider | ||
fieldpath | ||
fields | ||
genericapiserver | ||
healthz | ||
httplog | ||
hyperkube | ||
kubectl | ||
kubelet | ||
kubemark | ||
labels | ||
master | ||
metrics | ||
probe | ||
proxy | ||
quota | ||
registry | ||
runtime | ||
security | ||
securitycontext | ||
serviceaccount | ||
ssh | ||
storage | ||
types | ||
ui | ||
util | ||
version | ||
volume | ||
watch | ||
OWNERS |