[Experimental] Justfile for custom commands & scripts#9289
Merged
rasswanth-s merged 19 commits intodevfrom Sep 19, 2024
Merged
Conversation
rasswanth-s
approved these changes
Sep 19, 2024
Collaborator
rasswanth-s
left a comment
There was a problem hiding this comment.
Well done @yashgorana
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Use justfile for common k8s commands. Lighter than tox. Better arg support. Need to be a bit thoughtful when setting up commands. >>Can chain high-level commands (as long as we don't parameters it)<<
Setup
brew install just fzfExamples:
justorjust --listshow everythingjust start-highcreate high side clusterjust stop-highdelete high side clusterjust reset-highrun scripts/reset_k8s.sh for high side clusterjust cleanup-highdelete "syft" namespace for high side cluster-lowand-gw^^just tracing=false deploy-highdeploy with tracing=falsejust profiles="bigquery-scenario-tests,tracing" deploy-lowChaining examples:
Commands are run sequentially
Setup signoz cluster, high side datasite & run k9s on it
Multi-cluster deployment:
Single cluster mutliple namespace deployment:
need to expose services for each namespace to appropriate ports.
Notes
python3command may fail if it's not availableAffected Dependencies
List any dependencies that are required for this change.
How has this been tested?
Checklist