Commit 4d8c3f92 authored by Mathieu Leclaire's avatar Mathieu Leclaire
Browse files

Add pod name info

parent 6c774fb6
......@@ -17,6 +17,7 @@ import util.{Success, Failure}
object DeploymentOpenmole extends App {
//deployement name. Must contain the user uuid. Ex: "openmole-foo-123-456-789"
val openmoleDeploymentName = "openmole-scaladepl"
implicit val system = ActorSystem()
......@@ -42,7 +43,7 @@ object DeploymentOpenmole extends App {
def deployOpenmole() : Future[Deployment] = {
val openmoleLabel = "app" -> "openmole"
val openmoleContainer = Container(name="openmole",image="openmole/openmole", command=List("bin/bash","-c","openmole --port 20002 --password password --http --remote")).exposePort(20002)
val openmoleContainer = Container(name="openmole",image="openmole/openmole", command=List("bin/bash","-c","openmole --port 80 --password password --http --remote")).exposePort(80)
val openmoleTemplate = Pod.Template.Spec
.named("openmole")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment