In my previous post, I explained how I created a Chocolatey package for the DigitalOcean doctl CLI.  I also created one for the Linkerd CLI.  Linkerd is a very popular service mesh for Kubernetes.

There's a small difference in the chocolateyinstall.ps1 file compared to the one I used for doctl because the Linkerd tool is provided as an EXE, not a ZIP file so I used the Get-ChocolateyWebFile command to download it from Github and rename to linkerd.exe in one shot.

Get-ChocolateyWebFile -PackageName "Linkerd2" -FileFullPath "$toolsDir\linkerd.exe" -Url $url -checksum64 $checksum64 -checksumType64 $checksumType64

 Here's the link for the package: https://chocolatey.org/packages/Linkerd2

The code is on GitHub:


Learn Docker and Kubernetes

Like this blog post? I also teach Docker and Kubernetes online virtual classes at Kubernetes Academy.

Kubernetes Academy offers instructor led training workshop-style on Docker containers and Kubernetes for web developers, DevOps specialists, I.T. Pros.

Courses info, dates and prices: LearnK8s.info

20% OFF Discount Code: GUYB-BLOG