Overview
A Kubernetes profile holds what SQIBS needs to run kubectl against a cluster: the version and the connection details. Create it once and use it in any workflow. You can create it on the Callgoose cloud, or as an internal profile of a runner to run inside your network.
You need
Permission to manage automation profilesWhere
Automation > ProfilesResult
A reusable Kubernetes environmentCreate the profile
- Go to Automation > Profiles, choose Global or a team, click Add Profile and choose Kubernetes. For a runner, open the runner profile instead and add the Kubernetes profile under Internal Profiles.
- Fill in the fields below and click Save.
| Field | What to enter |
|---|---|
| Name, Description | What the profile is for. |
| Files from Git or Callgoose | Keep the profile files in SQIBS, or in Git with a profile entry file. |
| Kubernetes Version | The kubectl version, for example 1.30.1. |
| Kubernetes Configuration File | The kubeconfig for the cluster. |
| Kubernetes Command To Run | Runner internal profiles only: for example kubectl. |
Give the kubeconfig a service account with only the rights your actions need.
Use it
In a workflow, choose this profile for each Kubernetes action. If the action runs on a runner, choose the Runner Internal Profile instead.