Charmed MetalLB Tutorial - Setup Environment

Environment Setup

This is part of the Charmed MetalLB Tutorial. Please refer to this page for more information and the overview of the content.

Minimum requirements

Before we start, make sure your Kubernetes cloud meeting the following requirements:

Represent the cloud in juju

Juju recognizes your MicroK8s cloud automatically. You can already see it if you run:

juju clouds
Cloud      Regions  Default    Type  Credentials  Source    Description
microk8s   1        localhost  k8s   1            built-in  A Kubernetes Cluster

If it is not there, you may add the cloud with:

KUBECONFIG=path/to/kubeconfig/file  juju add-k8s --client <k8s-cloud>