|
|
|
@ -36,6 +36,7 @@ type Deployment struct {
|
|
|
|
|
LimitMem int
|
|
|
|
|
MinReplicas int
|
|
|
|
|
MaxReplicas int
|
|
|
|
|
ServiceAccount string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// DeploymentCommand is used to generate the kubernetes deployment yaml files.
|
|
|
|
@ -87,6 +88,7 @@ func DeploymentCommand(c *cli.Context) error {
|
|
|
|
|
LimitMem: c.Int("limitMem"),
|
|
|
|
|
MinReplicas: c.Int("minReplicas"),
|
|
|
|
|
MaxReplicas: c.Int("maxReplicas"),
|
|
|
|
|
ServiceAccount: c.String("serviceAccount"),
|
|
|
|
|
})
|
|
|
|
|
if err != nil {
|
|
|
|
|
return err
|
|
|
|
|