mirror of
https://github.com/marcel-dempers/docker-development-youtube-series.git
synced 2025-06-04 16:56:56 +00:00
Merge pull request #244 from marcel-dempers/45pynvnWip0FciZLjQ==
upgrade linkerd
This commit is contained in:
commit
ad009cd1ff
File diff suppressed because it is too large
Load Diff
13566
kubernetes/servicemesh/linkerd/manifest/linkerd-edge-24.11.3-crds.yaml
Normal file
13566
kubernetes/servicemesh/linkerd/manifest/linkerd-edge-24.11.3-crds.yaml
Normal file
File diff suppressed because it is too large
Load Diff
2226
kubernetes/servicemesh/linkerd/manifest/linkerd-edge-24.11.3.yaml
Normal file
2226
kubernetes/servicemesh/linkerd/manifest/linkerd-edge-24.11.3.yaml
Normal file
File diff suppressed because it is too large
Load Diff
@ -89,20 +89,20 @@ export KUBE_EDITOR="nano"
|
||||
|
||||
#test cluster access:
|
||||
/work # kubectl get nodes
|
||||
NAME STATUS ROLES AGE VERSION
|
||||
linkerd-control-plane Ready master 26m v1.19.1
|
||||
NAME STATUS ROLES AGE VERSION
|
||||
linkerd-control-plane Ready control-plane 40m v1.30.4
|
||||
|
||||
```
|
||||
|
||||
## Linkerd CLI
|
||||
|
||||
Lets download the `linkerd` command line tool <br/>
|
||||
I grabbed the `edge-20.10.1` release using `curl`
|
||||
I grabbed the `edge-24.11.3` release using `curl`
|
||||
|
||||
You can go to the [releases](https://github.com/linkerd/linkerd2/releases/tag/edge-20.10.1) page to get it
|
||||
You can go to the [releases](https://github.com/linkerd/linkerd2/releases/tag/edge-24.11.3) page to get it
|
||||
|
||||
```
|
||||
curl -L -o linkerd https://github.com/linkerd/linkerd2/releases/download/edge-20.10.1/linkerd2-cli-edge-20.10.1-linux-amd64
|
||||
curl -L -o linkerd https://github.com/linkerd/linkerd2/releases/download/edge-24.11.3/linkerd2-cli-edge-24.11.3-linux-amd64
|
||||
chmod +x linkerd && mv ./linkerd /usr/local/bin/
|
||||
|
||||
linkerd --help
|
||||
@ -120,13 +120,16 @@ linkerd check --pre
|
||||
## Get the YAML
|
||||
|
||||
```
|
||||
linkerd install > ./kubernetes/servicemesh/linkerd/manifest/linkerd-edge-20.10.1.yaml
|
||||
# install CRDs first
|
||||
linkerd install --crds > ./kubernetes/servicemesh/linkerd/manifest/linkerd-edge-24.11.3-crds.yaml
|
||||
linkerd install > ./kubernetes/servicemesh/linkerd/manifest/linkerd-edge-24.11.3.yaml
|
||||
```
|
||||
|
||||
## Install Linkerd
|
||||
|
||||
```
|
||||
kubectl apply -f ./kubernetes/servicemesh/linkerd/manifest/linkerd-edge-20.10.1.yaml
|
||||
kubectl apply -f ./kubernetes/servicemesh/linkerd/manifest/linkerd-edge-24.11.3-crds.yaml
|
||||
kubectl apply -f ./kubernetes/servicemesh/linkerd/manifest/linkerd-edge-24.11.3.yaml
|
||||
```
|
||||
|
||||
Let's wait until all components are running
|
||||
@ -144,10 +147,11 @@ linkerd check
|
||||
|
||||
## The dashboard
|
||||
|
||||
Let's access the `linkerd` dashboard via `port-forward`
|
||||
To access the `linkerd` dashboard, we need to install the viz extension
|
||||
|
||||
```
|
||||
kubectl -n linkerd port-forward svc/linkerd-web 8084
|
||||
linkerd viz install | kubectl apply -f -
|
||||
kubectl -n linkerd-viz port-forward svc/web 8084
|
||||
```
|
||||
|
||||
# Mesh our video catalog services
|
||||
@ -181,7 +185,7 @@ kubectl get deploy playlists-db -o yaml | linkerd inject - | kubectl apply -f -
|
||||
kubectl get deploy videos-api -o yaml | linkerd inject - | kubectl apply -f -
|
||||
kubectl get deploy videos-db -o yaml | linkerd inject - | kubectl apply -f -
|
||||
kubectl get deploy videos-web -o yaml | linkerd inject - | kubectl apply -f -
|
||||
kubectl -n ingress-nginx get deploy nginx-ingress-controller -o yaml | linkerd inject - | kubectl apply -f -
|
||||
kubectl -n ingress-nginx get deploy ingress-nginx-controller -o yaml | linkerd inject - | kubectl apply -f -
|
||||
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user