Skip to content

Enhance development experience of k8s-nmstate operator with Tiltfile #1454

@sanjay7178

Description

@sanjay7178

Problem : The current development workflow for the nmstate operator involves multi-step Make targets, slow container builds, manual manifest regeneration, and re-deployment. This results in slow iteration and developer friction.

The current workflow (make cluster-sync) is slow:

  • Build images → Push to registry → Generate manifests → Deploy → Wait
  • Takes 2-3 minutes per code change
  • No live reload or unified view of logs

Introduce a Tiltfile to accelerate development and enable fast inner-loop workflows:

Solution : Tiltfile that provides :

  • Live code updates and see changes in 5-10 seconds
  • Automatic Container rebuilds happen when Go fiiles , Dockerfiles and manifest changes
  • Tiltfile Also shows the logs . build status and resource health
  • Also provides port forwarding for easier debugging
  • Integrates with existing kubevirtci local cluster setup

References :

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions