Skip to main content
Skip table of contents

Policies​​

Overview

We support viewing, creating, modifying, and deleting access policies for Kubernetes clusters managed by organizations. Policies are the first step in implementing and applying Kubernetes access permissions effectively.

image-20240721-072128.png

Administrator > Kubernetes > K8s Access Control > Policies

Viewing Policies

image-20240721-072306.png

Administrator > Kubernetes > K8s Access Control > Policies > List Details

  1. Navigate to the Administrator > Kubernetes > K8s Access Control > Policies menu.

  2. Use the search bar at the top left of the table to search for Policy names based on your criteria.

  3. Use the refresh button at the top right of the table to update the list of Policies with the latest information.

  4. The table provides the following column information:

    1. Name : Policy name

    2. Description : Detailed description of the policy

    3. Created At : Date and time the policy was initially created

    4. Updated At : Date and time the policy was last updated

    5. Updated By : Name of the administrator who last updated the policy

  5. You can view detailed information about each policy by clicking on its respective row.

    1. Detail

      image-20240721-072345.png
      1. This is the default tab where you can view the code defined for the policy.

      2. While on the Detail tab, you can switch to the Code Editor page by clicking the Go to Editor Mode button located on the right side.

    2. Roles

      image-20240721-072412.png
      1. The list enumerates roles assigned to the respective policy.

      2. The list displays the following details for each role:

        1. Name : Role name

        2. Description : Detailed description of the role

        3. Assigned At : Date and time the policy was assigned to the role

        4. Assigned By : Name of the administrator who assigned the policy to the role

      3. You can click on each row to expand and view detailed information about the role in a drawer format.

        image-20240721-072435.png
        1. Name : Role name

          • Provides a link to the detailed page of this role.

        2. Description : Detailed description of the role

        3. Last Access At : Last access time of this role

        4. Created At : Role creation timestamp

        5. Created By : Name of the creator of this role

        6. Updated At : Timestamp of the last update to this role

        7. Updated By : Name of the last person who updated this role

    3. Versions

      image-20240721-072503.png
      1. The tab lists the history of each version of the policy.

        • Policy versions are updated when the code is modified and saved.

      2. Each version in the list displays the following information:

        1. Version : Version name

        2. Justification : Reason for updating the policy

        3. Updated At : Timestamp when this version was updated

        4. Updated By : Name of the person who modified this version

      3. Clicking each row provides detailed information about the version in a drawer format.

        image-20240721-072547.png
        1. (Title) : Policy name

        2. Version : Policy version

        3. Justification : Reason for updating the policy

        4. Updated At : Timestamp when this version was updated

        5. Updated By : Name of the person who modified this version

        6. At the bottom, the policy code snapshot from that version is displayed.

Creating a Policy

image-20240721-072621.png
  1. Navigate to the Administrator > Kubernetes > K8s Access Control > Policies menu.

  2. Click the + Create Policy button in the top right corner.

  3. Enter the following information to create the policy. (The following information is visible to all users.)

    1. Name : A recognizable name for the policy (required)

    2. Description : Additional description for the policy

  4. Click the OK button to create.

  5. At the top of the policy list, click the newly created policy.

  6. Refer to the Configure Kubernetes Policies guide to configure the policy.

Editing a Policy

image-20240721-072705.png
  1. Navigate to the Administrator > Kubernetes > K8s Access Control > Policies menu.

  2. Click on the policy you want to modify from the list to navigate to its detail page.

  3. Click the Edit button in the top right corner of the screen to modify the following information:

    1. Name : A recognizable name for the policy (required)

    2. Description : Additional description for the policy

  4. Click the OK button to apply the changes.

Duplicating a Policy

image-20240721-072804.png
  1. Navigate to the Administrator > Kubernetes > K8s Access Control > Policies menu.

  2. Click on the policy you want to duplicate from the list to navigate to its detail page.

  3. Click the Duplicate button in the top right corner of the screen to duplicate the policy and modify its information.

    1. Name : A recognizable name for the policy (required)

    2. Description : Additional description for the policy

  4. Click the OK button to apply the changes.

  5. Click on the newly duplicated policy at the top of the policy list to view or modify it.

Deleting a Policy

image-20240721-072845.png
  1. Navigate to the Administrator > Kubernetes > K8s Access Control > Policies menu.

  2. You can proceed with deletion in two ways:

    1. Delete from the List:

      1. Check the checkbox on the left of the policy you want to delete in the table.

      2. Click the Delete button that appears on the table column line.

    2. Delete from the Detail Page:

      • Click the Delete button in the top right corner of the screen.

  3. When the popup appears, click the Delete button to confirm and proceed with deletion.

When a policy is deleted, it is automatically unlinked from any associated resources and roles.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.