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

Enhance generate kubeconfig description #227

Merged
merged 1 commit into from
Apr 12, 2024

Conversation

gianlucam76
Copy link
Member

This PR also modifies the sveltosctl register cluster command by allowing labels to be specified.

For instance

sveltosctl register cluster \
  --namespace=monitoring \
  --cluster=prod-cluster \
  --kubeconfig=~/.kube/prod-cluster.config \
  --labels=environment=production,tier=backend

This command registers a cluster named "prod-cluster" in the "monitoring" namespace with labels "environment=production" and "tier=backend".

Register a cluster means creates a SveltosCluster instance in the "monitoring" namespace named "prod-cluster" with labels "environment=production" and "tier=backend".

This PR also modifies the `sveltosctl register cluster` command
by allowing labels to be specified.

For instance

```
sveltosctl register cluster \
  --namespace=monitoring \
  --cluster=prod-cluster \
  --kubeconfig=~/.kube/prod-cluster.config \
  --labels=environment=production,tier=backend
```

This command registers a cluster named "prod-cluster" in
the "monitoring" namespace with labels "environment=production" and "tier=backend".

Register a cluster means creates a SveltosCluster instance in the "monitoring"
namespace named "prod-cluster" with labels "environment=production" and "tier=backend".
@gianlucam76 gianlucam76 merged commit f02ce27 into projectsveltos:dev Apr 12, 2024
2 checks passed
@gianlucam76 gianlucam76 deleted the generate-message branch April 12, 2024 14:56
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