Skip to content

kedgeproject/kedge-draft-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Draft plugin for Kedge

  • Install using: draft plugin install https://github.com/kedgeproject/kedge-draft-plugin

  • Make sure there is a Dockerfile for Draft to use to build your container image

  • Make sure you have set the following label to your Kubernetes controller in your kedge file, e.g. Deployment:

    labels:
      "draft": "<app name>"
  • Make sure your container image is defined as the following in your kedge file, and there is a containerPort set -

    containers:
    - image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
    ports:
    - containerPort: 5000
  • That's it! Now start your iterative development using the following commands:

    • draft kedge initialize <app name> <kedge file>
    • draft up
    • draft connect
    • Rinse and repeat!

About

* throwaway code * Kedge plugin for draft

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages