Kubernetes: How to install arkade

This guide will show you how to install arkade on Ubuntu. arkade was built initially by the OpenFaaS community to install OpenFaaS on Kubernetes. But, it now supports over 40 Helm Charts. Essentially, arkade makes it easy to install and manage Kubernetes apps.

About arkade

arkade (ark for short) is an open-source CLI for downloading and installing Helm Charts with a single command. It makes it easy to install Kubernetes apps such as OpenFaaS, PostgreSQL, cert-manager, MongoDB, and more. Also, at the time of writing, it has over 40 Helm Charts and apps available for Kubernetes. Helm Charts are great, but the sheer number of settings for Helm Charts can be confusing. arkade simplifies all of this, making it a breeze to add new apps to Kubernetes.

Let’s get started!

You can install arkade using the following command:

curl -sLS https://get.arkade.dev | sudo sh

In addition, you can verify your install using:

arkade --help

Install Kubernetes apps

You can install Kubernetes apps using the following command:

arkade install [command/flags]

For example:

  arkade install
  arkade install openfaas --gateways=2

The following command will show the available apps that you can install:

arkade install --help


Install Kubernetes apps from helm charts or YAML files using the "install"

You can also find the post-install message for each app with the "info"

  arkade install [flags]
  arkade install [command]

  install, i

  arkade install
  arkade install openfaas  --gateways=2
  arkade install inlets-operator --token-file $HOME/do-token

Available Commands:
  argocd                  Install argocd
  cassandra               Install cassandra
  cert-manager            Install cert-manager
  chart                   Install the specified helm chart

Get app info on Kubernetes

arkade is also helpful to get app info for apps installed on Kubernetes. For example, you require the commands below to get the login info for OpenFaaS.

PASSWORD=$(kubectl get secret -n openfaas basic-auth -o jsonpath="{.data.basic-auth-password}" | base64 --decode; echo)
echo -n $PASSWORD | faas-cli login --username admin --password-stdin

With arkade, you run:

arkade info openfaas


Info for app: openfaas
# Get the faas-cli
curl -SLsf https://cli.openfaas.com | sudo sh

# Forward the gateway to your machine
kubectl rollout status -n openfaas deploy/gateway
kubectl port-forward -n openfaas svc/gateway 8080:8080 &

# If basic auth is enabled, you can now log into your gateway:
PASSWORD=$(kubectl get secret -n openfaas basic-auth -o jsonpath="{.data.basic-auth-password}" | base64 --decode; echo)
echo -n $PASSWORD | faas-cli login --username admin --password-stdin

faas-cli store deploy figlet
faas-cli list

# For Raspberry Pi
faas-cli store list \
 --platform armhf

faas-cli store deploy figlet \
 --platform armhf

# Find out more at:
# https://github.com/openfaas/faas

Then execute the following command to get your OpenFaaS password:


Wrapping up

You now have arkade installed and can install your favorite Kubernetes apps. arkade will make the life of developers easy. It also gives helpful usage information.

You may also be interested in


About the Authors

Anto's editorial team loves the cloud as much as you! Each member of Anto's editorial team is a Cloud expert in their own right. Anto Online takes great pride in helping fellow Cloud enthusiasts. Let us know if you have an excellent idea for the next topic! Contact Anto Online if you want to contribute.

Support the Cause

Support Anto Online and buy us a coffee. Anything is possible with coffee and code.

Buy me a coffee

About Anto Online

Having started his career in 1999 as a Desktop Support Engineer, Anto soon changed paths and became a developer. After several years of development experience, he transitioned into a consultant. As an enterprise application consultant for a leading SaaS software provider, Anto specializes in AWS's serverless technologies. By day, Anto focuses on helping customers leverage the power of serverless technologies. By night, he indulges his passion for cloud computing by playing with Python and trying out things that are currently beyond the scope of his work. Sometimes Anto needs help as there are not enough hours at night. So Anto relies on a team of fellow Cloud enthusiasts to help him out. Each one is a Cloud expert in their own right, and Anto takes great pride in helping them learn and grow.

View all posts by Anto Online →

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.