Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MultiCluster: Implement krius spec describe-cluster to describe the stack #12

Open
girishg4t opened this issue Apr 9, 2021 · 6 comments
Assignees
Labels
enhancement New feature or request

Comments

@girishg4t
Copy link
Contributor

When user give krius spec describe-cluster it will describe the entire stack across multiple clusters and current state

@jeswinkninan jeswinkninan self-assigned this Aug 7, 2021
@jeswinkninan
Copy link
Contributor

@YachikaRalhan @hr1sh1kesh can you please let me know Cluster means the entire stack(Identifier as helm package) or is it like the individual resources that we got deployed?.

@hr1sh1kesh
Copy link
Collaborator

@jeswinkninan So, the describe-cluster is actually to describe all the components.
The way we are visualizing it (and we can refine it as well, so please suggest) is that the deployment is multi-cluster. We would want to run krius spec describe-cluster --file spec.yaml will describe all components in such manner
eg:
Cluster 1 (Thanos receiver)

  • Details about it
    Cluster 2 (sidecar deployment / source cluster)
  • Details about it. Resources, details etc.
    Cluster 3 (sidecar / source cluster)
  • Details about it. Resources, details etc.

@YachikaRalhan you can pitch in with your idea too

@jeswinkninan
Copy link
Contributor

@hr1sh1kesh okay sure, I will also work on this plan. Thank you sharing the details.

@jeswinkninan
Copy link
Contributor

jeswinkninan commented Sep 13, 2021

@hr1sh1kesh @YachikaRalhan Please find the sample expected output when describing the cluster using spec config file

krius spec describe-cluster -c /home/infracloud/test.yaml 
---------------------------------------------------------------------------
 Kubernetes Cluster Context: kind-cluster1
 Krius Cluster
 - Name: prometheus
 - Namespace: thanos1
 - Type: prometheus
 - ObjectConfiguration Name: bucketcluster2-new
 - Status: 
 - Workloads
   ->  Statefulsets: 
   ->  Deployment: 
   ->  Pod:
   -> Services:  
---------------------------------------------------------------------------
---------------------------------------------------------------------------
 Kubernetes Cluster Context: kind-cluster1
 Krius Cluster
 - Name: thanos-cluster1
 - Namespace: thanos1
 - Type: thanos
 - ObjectConfiguration Name: bucketcluster2-new
 - Status: 
 -  Workloads
    ->  Statefulsets: 
    ->  Deployment: 
    ->  Pod:
    -> Services:  
---------------------------------------------------------------------------

@jeswinkninan
Copy link
Contributor

PR #46 will impletment the meta-data part from the spec-file, WIP for the workloads part

@jeswinkninan
Copy link
Contributor

jeswinkninan commented Oct 8, 2021

PR #51 will implements the status to describe-cluster

@YachikaRalhan YachikaRalhan added the enhancement New feature or request label Jan 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants