Installation
NOTE: kconnect
requires kubectl for k8s cluster cli interaction.
NOTE: kconnect
requires aws-iam-authenticator for authentication to AWS EKS clusters.
NOTE: kconnect
requires kubelogin for non-interactive authentication to Azure AKS clusters.
NOTE: kconnect
requires az cli for interactive authentication to Azure AKS clusters.
NOTE:> For specific tested and pinned versions, use the install-kconnect.sh
script or the with-deps
docker image
kubectl plugin
To install as a kubectl plugin:
kubectl krew index add fidelity https://github.com/fidelity/krew-index.git
kubectl krew install fidelity/connect
You can then run like so:
kubectl connect use eks
Mac
To install on OSX you can use homebrew:
brew install fidelity/tap/kconnect
Alternatively you can download a binary from the latest release.
Linux
To install on Linux you can use homebrew:
brew install fidelity/tap/kconnect
Alternatively, the latest release contains .deb, .rpm and binaries for Linux.
We are working on publishing as a snap.
Windows
The latest release contains a binary for Windows.
We have an open issue to support chocolatey in the future.
Docker
You can also use kconnect via Docker by using the images we publish to Docker Hub:
docker pull docker.io/kconnectcli/kconnect:latest
docker run -it --rm -v ~/.kconnect:/.kconnect kconnect:latest use eks --idp-protocol saml
Install script
You can install kconnect, along with kubectl, helm and aws-iam-authenticator by running:
curl -fsSL -o install-kconnect.sh https://raw.githubusercontent.com/fidelity/kconnect/main/scripts/install-kconnect.sh
chmod 700 install-kconnect.sh
./install-kconnect.sh
This works on Linux, macOS and Windows (using GitBash terminal)