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

feat: Add edge commands #598

Conversation

maciaszczykm
Copy link
Member

@maciaszczykm maciaszczykm commented Jan 16, 2025

It adds edge commands:

$ plural edge image -h
NAME:
   plural edge image - prepares image ready to be used on Raspberry Pi 4

USAGE:
   plural edge image [command options] [arguments...]

OPTIONS:
   --project value        name of the project to use (default: "default")
   --user value           optional external user email to be the user identity for bootstrap token in audit logs
   --username value       name for the initial user account (default: "plural")
   --password value       password for the initial user account, required if cloud configuration file is not provided
   --wifi-ssid value      ssid of the wifi network
   --wifi-password value  password for the wifi network
   --output-dir value     output directory where the image will be stored (default: "image")
   --cloud-config value   path to cloud configuration file, if provided templating will be skipped
   --plural-config value  path to plural configuration file

$ plural edge bootstrap -h
NAME:
   plural edge bootstrap - registers edge cluster and installs agent onto it using the current kubeconfig

USAGE:
   plural edge bootstrap [command options] [arguments...]

OPTIONS:
   --machine-id value  the unique id of the edge device on which this cluster runs

See also https://github.com/pluralsh/edge.

Copy link

linear bot commented Jan 16, 2025

@maciaszczykm maciaszczykm added the enhancement New feature or request label Jan 16, 2025
cmd/command/edge/edge.go Fixed Show fixed Hide fixed
@maciaszczykm maciaszczykm changed the title feat: Add edge bootstrap command feat: Add edge commands Jan 21, 2025
@maciaszczykm maciaszczykm marked this pull request as ready for review January 21, 2025 15:46
…ize-cluster-registration-apis-to-fully-set-up-edge
@maciaszczykm maciaszczykm marked this pull request as draft January 29, 2025 17:20
@maciaszczykm maciaszczykm marked this pull request as ready for review January 30, 2025 10:35
Copy link
Member

@michaeljguarino michaeljguarino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pre-emptively approving when you feel like it's stable enough to merge

@maciaszczykm
Copy link
Member Author

@michaeljguarino I've tested it multiple times but I'll give it another try tomorrow and go through the code again. If I will not find anything then I'll merge it tomorrow.

maciaszczykm and others added 5 commits January 31, 2025 11:39
…-registration-apis-to-fully-set-up-edge' into marcin/prod-3106-utilize-cluster-registration-apis-to-fully-set-up-edge
@maciaszczykm maciaszczykm merged commit 05d619b into main Jan 31, 2025
11 checks passed
@maciaszczykm maciaszczykm deleted the marcin/prod-3106-utilize-cluster-registration-apis-to-fully-set-up-edge branch January 31, 2025 11:31
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

Successfully merging this pull request may close these issues.

2 participants