ReSearchITEng / kubeadm-playbook

Fully fledged (HA) Kubernetes Cluster using official kubeadm, ansible and helm. Tested on RHEL/CentOS/Ubuntu with support of http_proxy, dashboard installed, ingress controller, heapster - using official helm charts
https://researchiteng.github.io/kubeadm-playbook/
The Unlicense
592 stars 102 forks source link

TASK master : Writing ClusterConfiguration and InitConfiguration fails #69

Closed arush-sal closed 5 years ago

arush-sal commented 5 years ago

What did you do: Comment out line 4-6 in KubeletConfiguration.yaml

What you expected: For the playbook to run without error and kubelet to be set with the specified cloud provider.

What happened: Instead, it throws the following error:

The task includes an option with an undefined variable. The error was: 'kubeadm_master_config' is undefined.
...
The offending line appears to be:
- name: Writing ClusterConfiguration and InitConfiguration to /etc/kubernetes/kubeadm-master.conf
ReSearchITEng commented 5 years ago

Hello, which release version are you using? Please match the release with your k8s version.

arush-sal commented 5 years ago

I am just using the master branch with the preset/default Kubernetes version.

ReSearchITEng commented 5 years ago

I am not able to replicate. Can you please see if the latest release is solving the issue you were facing?

ReSearchITEng commented 5 years ago

please check with the lastest version. If there is still any issue, please open again the ticket with the details.