kubermatic / kubeone

Kubermatic KubeOne automate cluster operations on all your cloud, on-prem, edge, and IoT environments.
https://kubeone.io
Apache License 2.0
1.36k stars 231 forks source link

machinedeployments cannot be installed as addon #1430

Closed exolab closed 2 years ago

exolab commented 3 years ago

What happened: machinedeployments addon could not be installed, presumably because the CRDs are not installed automatically.

 time="16:39:35 UTC" level=info msg="Parsing addons manifest 'machinedeployment_pool_001.yaml'\n"                                                                                    
 time="16:39:36 UTC" level=warning msg="Task failed, error was: failed to load and apply the addon \"machinedeployments\": failed to apply addons: Process exited with status 1"    
 + sudo KUBECONFIG=/etc/kubernetes/admin.conf \                                                                                                                                       kubectl apply -f - --prune -l "kubeone.io/addon=machinedeployments"                                                                                                                                                                                                                                                                                 
unable to recognize "STDIN": no matches for kind "MachineDeployment" in version "cluster.k8s.io/v1alpha1"                                                                           unable to recognize "STDIN": no matches for kind "MachineDeployment" in version "cluster.k8s.io/v1alpha1"    

What is the expected behavior: Successful installation

How to reproduce the issue: Set up a fresh cluster including the machinedeployments addon

Information about the environment: KubeOne version (kubeone version): 1.3.0-alpha Operating system: Ubuntu:20.04 Provider you're deploying cluster on: Hetzner Operating system you're deploying on: Ubuntu:20.04

kron4eg commented 3 years ago

@exolab you don’t have to provide own MC addon, we already ship one. But if you really feel like doing so, please don’t forget to include cluster api v1alpha1 CRDs.

kron4eg commented 2 years ago

Closing as invalid