Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 806 Bytes

README.md

File metadata and controls

25 lines (21 loc) · 806 Bytes

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!