Score:0

cannot download calico on kubernetes cluster

jp flag

I am trying to set up a kubernetes cluster on centos, and installing calico is one of the steps. My control plane is ready, but coredns are still pending.

From the internet, i got the below command to install calico on the network curl https://docs.projectcalico.org/manifests/calico.yaml -O

But when i open the file, it says Redirecting to https://docs.tigera.io/calico/latest/manifests/calico.yaml

then i ran curl https://docs.tigera.io/calico/latest/manifests/calico.yaml -O This downloaded a file, but when i run kubectl apply -f calico.yaml I get the below error error: error parsing calico.yaml: error converting YAML to JSON: yaml: line 19: mapping values are not allowed in this context

so i pasted the calico file from this link https://docs.projectcalico.org/manifests/calico.yaml and ran kubectl apply -f calico.yaml and got this error

error: resource mapping not found for name: "calico-kube-controllers" namespace: "kube-system" from "calico.yaml": no matches for kind "PodDisruptionBudget" in version "policy/v1beta1"
ensure CRDs are installed first

From where and how can i get the correct calico file.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.