Service Account

A service account is a “built-in user” that is managed by Kubernetes.

Service accounts are “built-in users” that are managed by Kubernetes. Service accounts control the operation rights of service accounts by binding them.

Entry: In the cloud management platform, click on the top left corner of navigation menu, and click “Containers/Clusters/Service Accounts” menu item in the left menu bar that pops up to enter the Service Accounts page.

View service accounts

This function is used to filter service account information based on clusters and namespaces.

  1. In the service account page, by default, you can view the service account information of all namespaces under a cluster.

  2. When there are multiple clusters in the environment, click the input box on the right side of the cluster above the list and select other clusters to view the service account information of all namespaces under other clusters.

  3. When there are multiple namespaces under the cluster, click the input box on the right side of the namespace above the list, select the namespace, and view the service account information under the specified namespace.

Delete service account

This function is used to delete a service account.

Delete

  1. On the service account page, click the “Delete” button in the action column to the right of the service account, and the action confirmation dialog box will pop up.
  2. Click the “OK” button to delete the service account and related resources.

Batch delete

  1. Select one or more service accounts in the service account list, and click the “Delete” button at the top of the list, the action confirmation dialog box pops up.
  2. Click the “OK” button to delete the service account(s) and the related resources.

View/Edit

This function is used to view or edit the service account’s yaml file.

  1. On the service account page, click the “View/Edit” button on the right action bar of the service account to bring up the View/Update dialog box.
  2. Support viewing and editing the yaml file information of the service account.
  3. After editing the yaml file, click the “OK” button to take effect.

View service account details

This function is used to view the information about the service account.

  1. On the service account page, click the service account name item to enter the service account details page.
  2. View the following information: Cloud ID, ID, name, status, domain, project, cluster, namespace, created at, updated at, notes, etc.

View source information

This function is used to view and edit the yaml information of a service account.

  1. On the Service Account page, click the service account name item to enter the service account details page.
  2. Click the “Source Information” tab to enter the source information page.
  3. Click the “Copy Content” button to copy the yaml file information of the node.
  4. After updating the yaml file, click the “Update” button.

View Operation Log

This function is used to view the operation logs related to the service account.

  1. On the service account page, click the service account name item to enter the service account details page.
  2. Click the Operation Log tab to enter the Operation Log page.
    • Load More Logs: In the Operation Logs page, the list shows 20 operation logs by default. To view more operation logs, click the “Load More” button to get more logs.
    • View Log Details: Click the “View” button on the right column of the operation log to view the log details. Copy details are supported.
    • View logs of specified time period: If you want to view the operation logs of a certain time period, set the specific date in the start date and end date at the top right of the list to query the log information of the specified time period.
    • Export logs: Currently, only the logs displayed on this page are supported to be exported. Click the upper-right corner of icon, set the export data column in the pop-up export data dialog, and click the “OK” button to export the logs.