Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calico install doesn't work #584

Closed
mmoore0011 opened this issue Oct 27, 2022 · 3 comments · Fixed by #625
Closed

Calico install doesn't work #584

mmoore0011 opened this issue Oct 27, 2022 · 3 comments · Fixed by #625

Comments

@mmoore0011
Copy link

mmoore0011 commented Oct 27, 2022

Describe the Bug

Calico doesn't install using this module. I suspect there was a change in the install procedure on caloco's end. See https://projectcalico.docs.tigera.io/getting-started/kubernetes/self-managed-onprem/onpremises

Expected Behavior

Calico installs

Steps to Reproduce

Use the module with the calico option. You'll get the error

Error: 'kubectl apply -f https://docs.projectcalico.org/archive/3.18/manifests/calico.yaml' returned 1 instead
 of one of [0]                                                                                                
Error: /Stage[main]/Kubernetes::Kube_addons/Exec[Install cni network provider]/returns: change from 'notrun' t
o ['0'] failed: 'kubectl apply -f https://docs.projectcalico.org/archive/3.18/manifests/calico.yaml' returned 
1 instead of one of [0] (corrective) 

that url is now a redirect but even the redirect generates a 404. Doesn't seem to matter which version of calico I specify.

@pmcmaw
Copy link
Contributor

pmcmaw commented Nov 11, 2022

Hey @mmoore0011 can you please give me additional information on the version of the module you are currently using?

@ashish1099
Copy link

it fails with 3.25 as well and need a --server-side in the apply command as well, I'm using the latest k8s puppet module

@r-tierney
Copy link
Contributor

i got this working in my PR:
#625

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants