Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 

Repository files navigation

ldev

A single shell-script to setup local development environment. Making use of https://github.com/minixxie/k8s-services

Download and install

curl -sSL https://raw.githubusercontent.com/minixxie/ldev/refs/heads/main/ldev | bash -s -- install

Upgrade afterwards

ldev install

Howto

ldev help  # prints out how to use

Components

  1. k8s
  2. gpu
  3. mysql
  4. pgsql
  5. redis
  6. mongo
  7. apollo
  8. minio
  9. ollama

MySQL

ldev mysql up  # start mysql in k8s

ldev mysql get  # get mysql k8s resources (deployment, pod, svc, pvc, etc)

ldev mysql down  # stop mysql in k8s

ldev mysql cli  # use mysql cli to connect to the mysql server

My Application

ldev command can also configure and execute my application in k8s as deployments, with minimal effort. You don't need to write the Containerfile/kustomization files on your own. The ldev script will detect your project and generate them for you. And minimized configurations can be customized in ldev.yaml at the root folder of your project.

Step 1: initialize the yaml config file ldev.yaml

ldev init

Step 2: build the container image

ldev build

Step 3: generate the kustomization files and spin up in k8s

ldev up

To stop and remove from k8s:

ldev down

To list what resources were created in k8s:

ldev get

To tail the logs of the pod:

ldev logs

Enter the pod's main container to debug:

ldev exec

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages