Kubernetes.io Blog: Kubernetes Setup Using Ansible and Vagrant TASK [Install calico pod network]

TASK [Install calico pod network] **********************************************
fatal: [k8s-master]: FAILED! => {“changed”: true, “cmd”: [“kubectl”, “create”, “-f”, “https://docs.projectcalico.org/v3.4/getting-started/kubernetes/installation/hosted/calico.yaml”], “delta”: “0:00:02.310833”, “end”: “2019-10-06 22:10:39.962794”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2019-10-06 22:10:37.651961”, “stderr”: "unable to recognize “https://docs.projectcalico.org/v3.4/getting-started/kubernetes/installation/hosted/calico.yaml”: no matches for kind “DaemonSet” in version “extensions/v1beta1”\nunable to recognize “https://docs.projectcalico.org/v3.4/getting-started/kubernetes/installation/hosted/calico.yaml”: no matches for kind “Deployment” in version “extensions/v1beta1"”, “stderr_lines”: ["unable to recognize “https://docs.projectcalico.org/v3.4/getting-started/kubernetes/installation/hosted/calico.yaml

etc…

Maybe a depricated issue …

SOLUTION IS TO UPDATE :slight_smile:

Looks like it…they still reference extensions/v1beta1 in:
https://docs.projectcalico.org/v3.4/getting-started/kubernetes/installation/hosted/calico.yaml