Comments (5)
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:
- Video will instruct:
sudo kubeadm init
+ (the 3 extra commands to set up kubectl authentication)
- 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
- 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.
@mihabez : follow below steps :-
- curl https://raw.githubusercontent.com/projectcalico/calico/v3.25.1/manifests/custom-resources.yaml -o custom-resources.yaml - ON CONTROL NODE
- In downloaded custom-resources.yaml , replace cidr: 192.168.0.0/16 with cidr: 10.10.0.0/16 or something of your choice.
- kubectl create -f custom-resources.yaml
from cka.
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.
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.
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
from cka.
Related Issues (11)
- lesson 6 managing storage Yaml files required
- failing while running setup-kubetools-new.sh HOT 3
- CRI not running after running ./cka/setup-container.sh HOT 6
- issues as soon as I issue vagrant up. HOT 2
- Unable to join worker nodes to the cluster: error execution phase preflight: couldn't validate the identity of the API Server HOT 3
- Lesson:5 - Installing Nginx Ingress Controller
- lab 7: nslookup (resolver) in busybox:latest fails to lookup service (mydb, myservice) HOT 1
- deprecated setup-kubetools.sh HOT 1
- Kubeadm version
- Accessabillity issue with the videos
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cka.