weaveworks / scope

Monitoring, visualisation & management for Docker & Kubernetes
https://www.weave.works/oss/scope/
Apache License 2.0
5.86k stars 714 forks source link

Managing Weave Scope deployment descriptors #1507

Open sadovnikov opened 8 years ago

sadovnikov commented 8 years ago

I'm from https://github.com/ContainerSolutions/minimesos/ project - running Apache Mesos cluster on a single machine for prototyping and unit testing of Mesos frameworks.

In minimesos default cluster configuration file includes URL to Marathon JSON file for installing Weave Scope. Currently the file is hosted within minimesos repository itself https://github.com/ContainerSolutions/minimesos/blob/master/opt/apps/weave-scope.json and URL in cluster configuration file looks like https://raw.githubusercontent.com/ContainerSolutions/minimesos/e2a43362f4581122762c80d8780d09b567783f1a/apps/weave-scope.json

Would you be possible to host this file in Weave Scope repository, so its versioning becomes more transparent. For example, https://raw.githubusercontent.com/weaveworks/scope/v0.13.1/some-path/marathon.json

pidster commented 8 years ago

cc @errordeveloper - for consideration re: adding this to the Kubernetes generator.

sadovnikov commented 8 years ago

@pidster, @errordeveloper possibly "Kubernetes generator" is wider than its name tells, however Apaches Mesos with Marathon are not directly related to Kubernetes

tomwilkie commented 8 years ago

Yes the kubernetes generator could be made to also generate marathon config; but in the mean time getting the config into this repo seems sensible. @sadovnikov could you make a PR?

sadovnikov commented 8 years ago

yes, sure. Let me study this repository structure to pick the most suitable location