Skip to content

Latest commit

 

History

History
61 lines (44 loc) · 1.44 KB

tools.md

File metadata and controls

61 lines (44 loc) · 1.44 KB

Tools and requirements

Follow these steps to setup your development environment:

  • golang: 1.23.2

  • minikube: >= 1.34

    # ubuntu
    curl -LO https://github.com/kubernetes/minikube/releases/download/v1.35.0/minikube_1.35.0-0_amd64.deb
    sudo dpkg -i minikube_1.35.0-0_amd64.deb
    
    # macos
    brew install minikube
    
    # deploy
    cd hack/
    ./kdlctl.sh dev
    ./kdlctl.sh deploy
  • docker: >= 25 install

  • helm: >= v3.14 install

  • helmfile: >= v0.168.0 install

  • gettext: OS package to fill templates during deployment

    # ubuntu
    sudo apt-get install gettext
    
    # macos
    brew install gettext
  • kubectl: >= v1.28 install

  • jq: JSON processor to configure insecure-registries.

    # macos
    brew install jq
  • yq: YAML processor to configure KDL Remote developement.

    # macos
    brew install yq

Continue reading the Running your develop environment guide.

Local Development

In order to use go development tools in your local environment, you need to have a go.work file in your root path in the supported go version of KDL (1.23.2).

How to generate a go.work file:

go work init ./app/api ./repo-cloner