You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to enhance the functionality within the 'Configuration->Deployment->Clusters' section to allow users the capability to CREATE new clusters. This involves extending the current dialog for adding clusters with an additional option, enabling users to select between adding an existing cluster or creating a new one.
The dialog for creating a new cluster should be straightforward, prompting the user for the cluster name and offering the option to switch to a YAML format for more advanced configuration.
Upon entering the name of the cluster, the system should automatically generate the following object:
Acceptance Criteria
The 'Configuration->Deployment->Clusters' section should include an option to add a new cluster. And new Section "Virtual Clusters"
A dialog for creating a new cluster should be implemented, asking only for the cluster name and offering a YAML format option.
Upon cluster creation, the specified YAML object should be generated with the user-provided CLUSTER_NAME and NAMESPACE extracted from the 'edp-config.edp_name' configmap.
UI should highlight clusters that are the virtual one and was created using create dialog
label app.edp.epam.com/app-type=cluster
name max char 10, [a-z]
Implementation Plan
Extend the existing dialog in the 'Configuration->Deployment->Clusters' section.
Implement the new cluster creation dialog with the name input and YAML format option.
Ensure the backend logic creates the appropriate YAML object based on user input and configmap data.
The text was updated successfully, but these errors were encountered:
We need to enhance the functionality within the 'Configuration->Deployment->Clusters' section to allow users the capability to CREATE new clusters. This involves extending the current dialog for adding clusters with an additional option, enabling users to select between adding an existing cluster or creating a new one.
The dialog for creating a new cluster should be straightforward, prompting the user for the cluster name and offering the option to switch to a YAML format for more advanced configuration.
Upon entering the name of the cluster, the system should automatically generate the following object:
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: {NAMESPACE}-{CLUSTER_NAME}
namespace: {NAMESPACE}
labels:
app.edp.epam.com/secret-type=cluster
spec:
project: {NAMESPACE}
source:
repoURL: https://github.com/loft-sh/vcluster
targetRevision: v0.20.0
path: chart
helm:
parameters:
- name: controlPlane.statefulSet.image.tag
value: "0.20.0"
- name: exportKubeConfig.server
value: "https://{CLUSTER_NAME}.{NAMESPACE}.svc:443"
- name: controlPlane.statefulSet.persistence.volumeClaim.retentionPolicy
value: "Delete"
destination:
server: https://kubernetes.default.svc
namespace: {NAMESPACE}
syncPolicy:
automated:
prune: true
selfHeal: true
Acceptance Criteria
The 'Configuration->Deployment->Clusters' section should include an option to add a new cluster. And new Section "Virtual Clusters"
A dialog for creating a new cluster should be implemented, asking only for the cluster name and offering a YAML format option.
Upon cluster creation, the specified YAML object should be generated with the user-provided
CLUSTER_NAME
andNAMESPACE
extracted from the 'edp-config.edp_name' configmap.UI should highlight clusters that are the virtual one and was created using create dialog
label app.edp.epam.com/app-type=cluster
name max char 10, [a-z]
Implementation Plan
Extend the existing dialog in the 'Configuration->Deployment->Clusters' section.
Implement the new cluster creation dialog with the name input and YAML format option.
Ensure the backend logic creates the appropriate YAML object based on user input and configmap data.
The text was updated successfully, but these errors were encountered: