8000 GitHub - timerring/aibrixcli-demo
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

timerring/aibrixcli-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AIBrix CLI Demo

This is a demo implementation of the AIBrix CLI.

Installation

# Clone the repository
git clone https://github.com/timerring/aibrixcli-demo.git
cd aibrixcli-demo

# Build the binary
go mod tidy
go build -o aibrix

# Move to a directory in your PATH (Optional)
sudo mv aibrix /usr/local/bin/

Usage

# Get help
./aibrix help

# Deploy a nginx workload as a test
./aibrix nginx --replicas 3

# List all workloads
./aibrix list

# Get logs for a workload
./aibrix logs --workload nginx --tail 100

# Delete a workload
./aibrix delete --type deployment --name nginx

# Deploy a workload using a template `templates/nginx.yaml`
./aibrix deploy --template nginx --param name=nginx \
  --param replicas=3 \
  --param image=nginx:1.19 \
  --param port=8080

Environment Variables

  • KUBECONFIG: Path to your kubeconfig file (default: ~/.kube/config)
  • KUBE_NAMESPACE: Kubernetes namespace to use (default: default)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0