Here is patch for juju 2.2 implementing --machines option from comment #8
How to apply:
cd $GOPATH/src/github.com/juju/juju patch -p1 < ~/juju-machines-2.2.patch
Example usage:
juju deploy somebundle.yaml --machines "0=0 1=1 2=2"
This patch has limitation, only works when bundle is specified as a file. I managed to install Canonical Kubernetes Distribution bundle on pre-created machines using Manual cloud. I hope it will be useful for other cases as well.
Here is patch for juju 2.2 implementing --machines option from comment #8
How to apply:
cd $GOPATH/ src/github. com/juju/ juju machines- 2.2.patch
patch -p1 < ~/juju-
Example usage:
juju deploy somebundle.yaml --machines "0=0 1=1 2=2"
This patch has limitation, only works when bundle is specified as a file. I managed to install Canonical Kubernetes Distribution bundle on pre-created machines using Manual cloud. I hope it will be useful for other cases as well.