News for hackers. Stuff that matters.
Re:Show HN: Gitkube – Deploy to Kubernetes Using Git Push by 1_player on Tuesday March 13, 2018 @09:54AM (#16576075)
Do you know of a tool like Keel, but for Docker Swarm?
Re:Show HN: Gitkube – Deploy to Kubernetes Using Git Push by deforciant on Tuesday March 13, 2018 @10:34AM (#16576413)
Hi, if you would want Keel to support Docker Swarm, please create an issue here: https://github.com/keel-hq/keel/issues.

I planned to add Docker Swarm support from the beginning but a lot of people said that it's unnecessary. It's quite simple to add new providers, they need to implement this interface:

  // Provider - generic provider interface
  type Provider interface {
 	Submit(event types.Event) error  // <- this is where new image event comes in
	TrackedImages() ([]*types.TrackedImage, error) // <- provider needs to tell some triggers which images to track (registry watcher)
	GetName() string
	Stop()
  }


Even though Keel was created for Kubernetes, later on Helm was added where Keel talks directly to Tiller and doesn't really use K8s API.
Re:Show HN: Gitkube – Deploy to Kubernetes Using Git Push by BretFisher on Wednesday March 14, 2018 @11:58PM (#16590320)
Maybe https://github.com/v2tec/watchtower, but Keel looks cool.
Re:Show HN: Gitkube – Deploy to Kubernetes Using Git Push by 1_player on Thursday March 15, 2018 @11:31AM (#16593691)
Doesn't support Swarm, but thanks for the pointer.