On Sat, Jul 21, 2018 at 8:37 PM, Burr Sutter <[email protected]> wrote:

> I do not know if we have the "how to go offline with minishift" but here
> is my basic process.
>
> 1. minishift start
> minishift profile set 9StepsAwesome
> minishift config set memory 12GB
> minishift config set cpus 3
> minishift config set vm-driver virtualbox
> minishift config set disk-size 30g
> minishift config set image-caching true
> minishift addon enable admin-user
> minishift addon enable anyuid
> minishift ip --set-static
> minishift start
>

minishift ip --set-static needs to be run after "minishift start"


2. load up everything you normally need like the Istio Tutorial, Helloworld
> MSA, doing whatever "docker build" that needs to happen, etc.
> 3. echo 'Current Cache'
> minishift image cache-config view
> 4. echo 'Docker images inside of VM'
> minishift image list --vm
> 5. echo 'Export those'
> minishift image export --all
> 6. echo 'Configure the cache of those images'
> minishift image cache-config add docker.io/fabric8/java-jboss-
> openjdk8-jdk:1.3.1
> minishift image cache-config add docker.io/istio/citadel:0.8.0
> minishift image cache-config add docker.io/istio/grafana:0.8.0
> minishift image cache-config add docker.io/istio/mixer:0.8.0
> minishift image cache-config add docker.io/istio/pilot:0.8.0
> minishift image cache-config add docker.io/istio/proxy_init:0.8.0
> minishift image cache-config add docker.io/istio/proxyv2:0.8.0
> minishift image cache-config add docker.io/istio/servicegraph:0.8.0
> minishift image cache-config add docker.io/istio/sidecar_injector:0.8.0
> minishift image cache-config add docker.io/jaegertracing/all-in-one:1.5
> minishift image cache-config add docker.io/jaegertracing/all-in-one:latest
> minishift image cache-config add docker.io/openshift/origin-
> deployer:v3.9.0
> minishift image cache-config add docker.io/openshift/origin-
> docker-registry:v3.9.0
> minishift image cache-config add docker.io/openshift/origin-
> haproxy-router:v3.9.0
> minishift image cache-config add docker.io/openshift/origin-pod:v3.9.0
> minishift image cache-config add docker.io/openshift/origin-
> web-console:v3.9.0
> minishift image cache-config add docker.io/openshift/origin:v3.9.0
> minishift image cache-config add docker.io/prom/prometheus:latest
> minishift image cache-config add docker.io/prom/statsd-exporter:latest
> minishift image cache-config add quay.io/coreos/hyperkube:v1.7.6_coreos.0
>
>
You do not need to run cache-config add for docker.io/openshift/origin
<http://docker.io/openshift/origin-deployer:v3.9.0>* containers as
Minishift takes care of it implicitly.
What you want is to pin a particular OpenShift version in the config e.g.
minishift config set openshift-version <version> . You can get the version
from "minishift openshift version list".

 FYI, upstream Minishift has a mailing list [1]. I would request you to use
that as we do not consider [email protected] as our upstream mailing
list.

[1] https://lists.minishift.io/admin/lists/minishift.lists.minishift.io/



> 7. minishift stop
> 8. minishift delete
> 9. repeat step #1
>

Thanks,
Lala

>
>
> _______________________________________________
> Devtools mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/devtools
>
>
_______________________________________________
Devtools mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/devtools

Reply via email to