Skip to content

Projects ​

Clusters are assigned to projects, so in order to create a cluster, you must create a project first. A Project acts as a logical grouping of clusters and resources.

Create a Project ​

To create a project:

  1. Navigate to the desired KS Environment.
  2. Click on the "Kubernetes Projects" tab in the navigation menu.
  3. An overview of existing projects will be displayed. Add Project
  4. To create a new project, click the "Add Kubernetes Project" button located at the top right corner of the page.
  5. Fill in the project details in the form:
    • Project Name: A descriptive name for the project.
    • Technical Name: A unique, system-friendly identifier.
    • Description: Brief summary of the project's purpose.
    • Technical Contact Email: Contact email for the project's technical lead or support.
  6. Click "Submit" to create the new Kubernetes project. Add Project Details

Delete a Project ​

  1. Navigate to the desired KS Environment.
  2. Click on the "Kubernetes Projects" tab in the navigation menu.
  3. An overview of existing projects will be displayed.
  4. Click on the project that should be deleted. Delete Project
  5. On the right-hand side, click "Delete Kubernetes Project".
  6. Type DELETE to confirm, then click "Yes, Delete".

Managing Access to Projects ​

User access to Kubernetes projects is managed in the KKP UI, not in the ESC Portal.

A jump-off link is available for direct navigation to the relevant section in the KKP UI. This link can be found within the KS Environment as well as on the Project Detail page in the ESC Portal.

KS JumpOff

Add a Member ​

  1. Navigate to the Projects section in the KKP dashboard.
  2. Select the project you want to manage.
  3. Go to "Members". KS Project Access
  4. Click Add Member. KS Project Add Member
  5. Enter the email address of the user.
  6. Select the role.
  7. Confirm with Add.

Manage and Delete Members ​

  1. Navigate to the Projects section in the KKP dashboard.

  2. Select the project you want to manage.

  3. Go to "Members". A list of current project members will be displayed. KS Manage Project Members

  4. To change a members role:

    • Click the pencil/edit icon next to the members name.
    • Select a new role from the dropdown (Owner, Editor, Viewer).
    • Click Save Changes to apply the changes.
  5. To remove a member from the project:

    • Click the trash/delete icon next to the members entry.
    • Confirm the removal when prompted.

Add and manage Groups ​

In a similar fashion, groups can be added and configured within a project:

  1. Navigate to the Projects section in the KKP dashboard.

  2. Select the project you want to manage.

  3. Go to "Groups". A list of current project groups will be displayed.

  4. To change a group role:

    • Click the pencil/edit icon next to the group name.
    • Select a new role from the dropdown (Owner, Editor, Viewer).
    • Click Save Changes to apply the changes.
  5. To remove a group from the project:

    • Click the trash/delete icon next to the group entry.
    • Confirm the removal when prompted.

⚠️ OIDC Group Prefix

All group names must be prefixed with oidc: when adding them to a project. The Kubernetes API Server is configured with --oidc-groups-prefix=oidc: which automatically prepends this prefix to all group names received from the OIDC provider in order to prevent conflicts with other authentication strategies.

For example, if your Identity Provider group is called developers, you must enter oidc:developers as the group name in KKP.

💡 Note

In order to grant access to the portal via Groups, a filter prefix must be configured in SCO Portal keycloak (AD group example: DG_PF00-Tenant1-Kubernetes-Access-). Users that have groups matching the prefix will be able to login into the portal granted the appropriate group is configured in the project. This can be configured directly in the ESC Portal in Administration > Cloud Service Settings > Kubernetes > Kubernetes Group Prefixes. In case you have issues please reach out to the SCO Portal team via the following link: https://wiki.swisscom.com/spaces/ICLS/pages/2068987043/Support

Create a Service Account and Tokens ​

  1. Navigate to the Projects section in the KKP dashboard.
  2. Select the project you want to manage.
  3. Go to "Service Accounts".
  4. Click Create Service Account.
  5. Enter the name for your service account.
  6. Select the role.
  7. Confirm with Create Service Account.
  8. Expand your Service Account User and click on Add Token.
  9. Enter the name of your token and confirm with Add Token.
  10. Retrieve the token from the response. Please note that the token is only displayed once, a token renewal is required if you did not save the data.

Manage and Delete Service Accounts ​

  1. Navigate to the Projects section in the KKP dashboard.

  2. Select the project you want to manage.

  3. Go to "Service Accounts".

  4. To change a service account role:

    • Click the pencil/edit icon next to the service account name.
    • Select a new role from the dropdown (Project Manager, Editor, Viewer).
    • Click Save Changes to apply the changes.
  5. To remove a service account from the project:

    • Click the trash/delete icon next to the service account entry.
    • Confirm the removal when prompted.

Roles ​

RoleDescription
OwnerFull access to the project; can manage members, clusters, settings, and quotas.
Project ManagersCan manage members and service accounts as well as edit and delete projects. This role is not allowed to interact with clusters.
EditorCan create, update, and delete clusters and resources, but cannot manage project settings or members.
ViewerRead-only access to clusters and project resources.

Add SSH Keys ​

If you want to ssh into the project VMs, you need to provide your SSH public key. SSH keys are tied to a project. During cluster creation you can choose which SSH keys should be added to nodes. To add an SSH key:

  1. Select the project you want to add SSH keys to
  2. Navigate to Access → SSH Keys on the left side menu and click on Add SSH Key:

KS Add SSH Keys

  1. A pop-up will appear. Enter a unique name and paste the full contents of your SSH key into the designated field:

KS Add SSH Keys

Quotas ​

When creating or managing projects, the following default resource quotas apply unless otherwise specified:

ResourceDefault QuotaDescription
CPU256 vCPUsMaximum number of virtual CPUs available for the project.
Memory1024 GiB (1 TiB)Maximum amount of RAM allocated to the project.
Storage10 TiBMaximum disk storage capacity assigned to the project.

These quotas ensure fair resource allocation and prevent overuse within the Kubernetes environment.

💡 Note

Quotas for the resources vCPU, Memory, and Storage can be requested by the Project Administrator via Service Request for individual projects.