< img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=3131724&fmt=gif" />

Create Service Accounts

This section explains how to create a service account.

Prerequisites

You should join a cluster and have the Project Resource Management permission within the cluster. For more information, refer to "Cluster Members" and "Cluster Roles".

Steps

  1. Log in to the KubeSphere web console with a user who has the Project Resource Management permission, and access your cluster.

  2. Click Configuration > Service Accounts in the left navigation pane.

  3. In the Service Accounts list page, click Create.

  4. In the Create Service Account dialog, set the information for the service account, and then click Create.

    Parameter Description

    Name

    The name of the service account. Service account names within the same project must be unique. Names can only contain lowercase letters, numbers, and hyphens (-), must start and end with a lowercase letter or number, and have a maximum length of 63 characters.

    Alias

    The alias of the service account. Aliases can be the same for different service accounts. Aliases can only contain Chinese characters, letters, numbers, and hyphens (-), and must not start or end with a hyphen (-), with a maximum length of 63 characters.

    Project

    The project to which the service account belongs.

    Description

    The description of the service account. Descriptions can contain any characters, with a maximum length of 256 characters.

    Project Role

    The role of the service account in the project. The role determines the permissions of the service account in the project.

    The service account will appear in the service account list after creation.

Receive the latest news, articles and updates from KubeSphere


Thanks for the feedback. If you have a specific question about how to use KubeSphere, ask it on Slack. Open an issue in the GitHub repo if you want to report a problem or suggest an improvement.

What’s on this Page