Skip to content

Commit

Permalink
Replaced Weave links and commands with Cilium ones
Browse files Browse the repository at this point in the history
  • Loading branch information
zdenkotraste committed Mar 14, 2024
1 parent a92e339 commit 4eb43d7
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 8 deletions.
23 changes: 17 additions & 6 deletions 02. Install Cluster/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,24 @@

### Install pod network plugin

##### download and install the manifest
kubectl apply -f https://github.com/weaveworks/weave/releases/download/v2.8.1/weave-daemonset-k8s.yaml
##### Install CLI

CILIUM_CLI_VERSION=$(curl -s https://raw.githubusercontent.com/cilium/cilium-cli/main/stable.txt)
CLI_ARCH=amd64
if [ "$(uname -m)" = "aarch64" ]; then CLI_ARCH=arm64; fi
curl -L --fail --remote-name-all https://github.com/cilium/cilium-cli/releases/download/${CILIUM_CLI_VERSION}/cilium-linux-${CLI_ARCH}.tar.gz{,.sha256sum}
sha256sum --check cilium-linux-${CLI_ARCH}.tar.gz.sha256sum
sudo tar xzvfC cilium-linux-${CLI_ARCH}.tar.gz /usr/local/bin
rm cilium-linux-${CLI_ARCH}.tar.gz{,.sha256sum}

##### Install the plugin
cilium install
[Link to the Cilium installation guide](https://docs.cilium.io/en/latest/gettingstarted/k8s-install-default/)

##### check cilium status
cilium status
kubectl -n kube-system exec cilium-2hq5z -- cilium-dbg status

[Link to the Weave-net installation guide](https://www.weave.works/docs/net/latest/kubernetes/kube-addon/#-installation)

##### check weave net status
kubectl exec -n kube-system weave-net-1jkl6 -c weave -- /home/weave/weave --local status

### Join worker nodes

Expand Down
4 changes: 2 additions & 2 deletions 02. Install Cluster/useful-links.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
* CoreDNS: https://coredns.io/plugins/kubernetes/
* CNI Specification: https://github.com/containernetworking/cni/blob/master/SPEC.md#network-configuration
* Cluster Networking - Official Docs: https://kubernetes.io/docs/concepts/cluster-administration/networking/
* Weave Net: https://www.weave.works/docs/net/latest/kubernetes/kube-addon/
* Cilium: https://docs.cilium.io/en/stable/overview/intro/

##### join worker nodes
* Kubeadm Join Command: https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join/
* Troubleshooting Weave Connection: https://www.weave.works/docs/net/latest/tasks/ipam/troubleshooting-ipam/
* Troubleshooting Cilium Connection: https://docs.cilium.io/en/stable/operations/troubleshooting/



0 comments on commit 4eb43d7

Please sign in to comment.