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

addition of cluster get and sync status #89

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

scott-cotton
Copy link
Member

@scott-cotton scott-cotton commented Oct 25, 2023

depends on signadot/go-sdk#35

Example:

23-10-25 scott@air cli % ./signadot cluster get minikube -o yaml
createdAt: 2023-09-14T22:55:21Z
name: minikube
operator:
  version: 0.14.0
syncStatus:
  lastError: "can't get cluster: invalid connection"
  lastErrorTime: 2023-10-25T01:44:33+02:00
  lastSync:
    routegroups:
      clusterState: []
      errors: []
    sandboxes:
      clusterState:
      - count: 2
        readyCondition: "true"
        readyReason: AllDesiredWorkloadsReady
      errors: []
    time: 2023-10-25T15:21:20+02:00
23-10-25 scott@air cli % ./signadot cluster get minikube
NAME       CREATED                OPERATOR VERSION   LAST SYNC
minikube   2023-09-14T22:55:21Z   0.14.0             2023-10-25T15:21:50+02:00

Please note there is some known issues w.r.t. omit empty and go-sdk: https://github.com/signadot/signadot/issues/2226

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant