Kubernetes (Native) Setup

Overview

Heeler can automatically harvest Kubernetes resources and model them as services linked to your existing code base. To do so, three pieces must be in place:

Access Granted to Heeler IPs

Heeler must have connectivity to reach your Kubernetes clusters. Their networking configurations must allow control-plane access from Heeler's two IPs. Specifically:

  1. 44.221.229.40/32

  2. 52.73.231.96/32

Read-Only Setup

The Kubernetes cluster must have a read-only setup file applied to it in order for Heeler to have access. The steps are:

  1. Download the file heeler-readonly.yaml.

  2. Replace the namespace in the file, <kube-system>, with your namespace. This must be done in three places:

    1. ServiceAccount > metadata > namespace

    2. ClusterRoleBinding > subjects > metadata > namespace

    3. Secret > metadata > namespace

  1. Create a new service account with read-only permission

Read-Only Token

Heeler must use a read-only token provided by the Kubernetes cluster for access. To create the token:

Save the token to use as part of the Configuration entry when adding the Kubernetes cluster in Heeler under users > user > token.

Heeler Connection Setup

With the prerequisites in place, you now have the information required to add the Kubernetes cluster to Heeler.

  1. Select the icon from the top navigation

  2. Navigate to the Connections tab

  3. Select Kubernetes Clusters

  4. Click Add Cluster

  1. Enter the information requested in the modal

    1. Cluster Name: A name that is unique and readily identifies the cluster. It can be human-friendly and does not need to match the name field in the Configuration.

    2. Cluster FQDN: The fully qualified domain name of the Kubernetes cluster. This value matches the value of server in the Configuration.

    3. Configuration: A YAML-structured entry that follows the format below

  2. Enter Save. Upon saving, you should see a healthy status indicator.

Last updated

Was this helpful?