Skip to content

Manage Kubernetes Context Action #2598

@mohitsuman

Description

@mohitsuman

Currently, the Switch Kubernetes context action opens a quick pick action with the list of the config in the kubeconfig file. This becomes tricky to select as the list keeps on growing.

For the user, they should be able to do the following with the Manage Kubernetes Context action:

  • Switch current context
  • Delete any cluster context

Solution:

A quick pick is opened with the list of all configs. Every list has 2 icons once hovered, Switch and Delete.

  1. If the user selects Switch Action:
    -- An information box is shown: Are you sure to switch the context? Yes/No

  2. If the user selects Delete Action:
    -- An information box is shown: Are you sure you want to delete this cluster information from kubeconfig. This action cannot be undone. Yes/No

  3. Rename the Button to Manage Kubernetes Context

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions