Git Product home page Git Product logo

Comments (5)

starlocke avatar starlocke commented on August 28, 2024 2

The README.md file was updated with this helpful note just 3 days ago:

JUNE 2023 NOTE: The Calico network plugin has been changing a lot lately. I recommend using the following command to install it:

kubectl apply -f https://raw.githubusercontent.com/projectcalico/calico/v3.26.0/manifests/calico.yaml

The videos aren't likely to have been updated yet as of this writing.

In summary:

  1. Video will instruct:
    • sudo kubeadm init + (the 3 extra commands to set up kubectl authentication)
  2. Instead of doing what the video suggests for installing Calico, do the new advice from the README:
    • kubectl apply -f https://raw.githubusercontent.com/projectcalico/calico/v3.26.0/manifests/calico.yaml
  3. With Calico thus installed, the, coredns replicas will follow, going through their "ContainerCreating" and eventually hit their "Running" states.
    • kubectl get all -A was helpful for me to watch the life stages changing and becoming ready.

from cka.

lovemasta41 avatar lovemasta41 commented on August 28, 2024 1

@mihabez : follow below steps :-

  1. curl https://raw.githubusercontent.com/projectcalico/calico/v3.25.1/manifests/custom-resources.yaml -o custom-resources.yaml - ON CONTROL NODE
  2. In downloaded custom-resources.yaml , replace cidr: 192.168.0.0/16 with cidr: 10.10.0.0/16 or something of your choice.
  3. kubectl create -f custom-resources.yaml

from cka.

deepakjd2004 avatar deepakjd2004 commented on August 28, 2024

I am also facing this issue.. Error is `2023-05-17T03:01:33.463004756Z stderr F 2023-05-17 03:01:33.462 [ERROR][1] cni-installer/ : Unable to create token for CNI kubeconfig error=serviceaccounts "calico-cni-plugin" is forbidden: User "system:serviceaccount:kube-system:calico-node" cannot create resource "serviceaccounts/token" in API group "" in the namespace "kube-system"

2023-05-17T03:01:33.463036966Z stderr F 2023-05-17 03:01:33.462 [FATAL][1] cni-installer/ : Unable to create token for CNI kubeconfig error=serviceaccounts "calico-cni-plugin" is forbidden: User "system:serviceaccount:kube-system:calico-node" cannot create resource "serviceaccounts/token" in API group "" in the namespace "kube-system"`

from cka.

lovemasta41 avatar lovemasta41 commented on August 28, 2024

My issue has been resolved by using pod network cidr while initialising and updated same cidr in custom-resources.yml while adding network add-on. Now Iā€™m able to join the nodes as well just make sure nodes are able to reach each other over network on 6443 port.

from cka.

mihabez avatar mihabez commented on August 28, 2024

Hi @lovemasta41 can you please share the solution? I have the same issue as you. Running Ubuntu 22.04 LTS on Virtualbox. Same issue on older Ubuntu 20.04 LTS

image

from cka.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.