I am trying to follow along with the video on Encrypting Secret Data at Rest in the CKAD certification program, using a single-node K8s cluster playground. I am attempting to install etcd in order to complete the tasks. Running “apt-get install etcd-client”, as the video indicates, simply results in an error saying “unable to locate package etcd-client”. Is there a resolution to this?
Did you run apt-get update
first? I did the following in the “Playground - Kubernetes single-node (latest)” and it works for me:
controlplane ~ ➜ apt update
[lots of stuff omitted]
controlplane ~ ➜ apt search etcd-client
Sorting... Done
Full Text Search... Done
etcd/jammy-updates,jammy-security 3.3.25+dfsg-7ubuntu0.22.04.1 all
Transitional package for etcd-client and etcd-server
etcd-client/jammy-updates,jammy-security 3.3.25+dfsg-7ubuntu0.22.04.1 amd64
highly-available key value store -- client
controlplane ~ ➜ apt install etcd-client
which worked.