Re: CRC and OpenShift Service Mesh?

2019-09-19 Thread John Mazzitelli
> Are these [1] instructions expected to work for CRC as well, or are there
> different instructions / its not possible to get the istio working on CRC?
> 
> Regards,
> Marvin
> 
> [1]
> https://docs.openshift.com/container-platform/4.1/service_mesh/service_mesh_install/installing-ossm.html

Unless you give your CRC VM large amounts of resources, you will not be able to 
do this. I've been trying to get this to work for the past few weeks with very 
limited success. Keep in mind Service Mesh can include Jaeger, ElasticSearch, 
and Kiali along with the base Istio components and Prometheus, and they need 
alot of resources.

Don't even consider trying it without giving your CRC VM a minimum of 4 CPUs 
(I've only had luck with 5 myself). And don't even consider trying it without 
giving your CRC VM at least 20 GB RAM (and even that probably isn't enough). I 
would think giving your CRC VM 32GB RAM should be enough, but I don't have that 
much RAM to try and confirm. I don't know the magic number, but I'm pretty 
confident in saying that anything lower than 20 GB RAM will not work.

You might have better luck by disabling Grafana, Jaeger, and Kiali in the 
ServiceMeshControlPlane CR - that would reduce the amount of resource you will 
require. But once you add in demo apps like bookinfo and you start sending in 
traffic to your mesh, that will creep up more resource usage.

In short, if you plan on trying this with CRC, give the CRC VM as much CPU and 
memory as you can spare.

For the record, here is a hack script I've been using to start up Service Mesh 
on CRC - it shows the commands I've been using to try to get this to work:

https://github.com/kiali/kiali/blob/master/hack/crc-openshift.sh

___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: [OKD/OCP v4]: deployment on a single node using CodeReady Container

2019-09-19 Thread Joel Pearson
Marvin, you could try enabling nested virtualisation in GCP?

https://cloud.google.com/compute/docs/instances/enable-nested-virtualization-vm-instances


On Fri, 20 Sep 2019 at 09:50, Just Marvin <
marvin.the.cynical.ro...@gmail.com> wrote:

> Fernando,
>
> Is CRC only expected to run on bare-metal? I tried running it on a VM
> in GCP and it didn't work, complaining about virtualization problems (sorry
> - forget the exact error). It runs find on my laptop, but I'd really like
> to not muddy up my laptop with all kinds of experimental things.
>
> Regards,
> Marvin
>
> On Wed, Sep 18, 2019 at 12:35 PM Fernando Lozano 
> wrote:
>
>> Hi Joel,
>>
>> Yes, CRC requires virtualization. It creates and manages a VM, using the
>> hypervisor provided by your laptop OS, and runs OpenShift inside that VM.
>> AFAIK there is no more all-in-one containerized support for OpenShift so
>> more 'oc cluster up' for OpenShift 4.x.
>>
>> []s, Fernando Lozano
>>
>>
>> On Wed, Sep 18, 2019 at 9:44 AM Joel Pearson <
>> japear...@agiledigital.com.au> wrote:
>>
>>> With CodeReady Container, it's not possible to use it without
>>> virtualisation right?  Because it needs CoreOS, and can't startup on an
>>> existing docker installation like you can with "oc cluster up"?
>>>
>>> I'm only asking because I almost got OKD 3.11 running on Windows 10 WSL
>>> (windows subsystem for linux) v2.  But if it's a full VM, then running
>>> inside WSL 2 doesn't really make sense (and probably doesn't work anyway).
>>>
>>> On Sat, 14 Sep 2019 at 02:35, Daniel Comnea 
>>> wrote:
>>>
 Recently folks were asking what is the minishift's alternative for v4
 and in case you've missed the news see [1]

 Hopefully that will also work for OKD v4 once  the MVP is out.


 Dani

 [1]
 https://developers.redhat.com/blog/2019/09/05/red-hat-openshift-4-on-your-laptop-introducing-red-hat-codeready-containers/
 ___
 users mailing list
 users@lists.openshift.redhat.com
 http://lists.openshift.redhat.com/openshiftmm/listinfo/users

>>>
>>> ___
>>> users mailing list
>>> users@lists.openshift.redhat.com
>>> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>>>
>> ___
>> users mailing list
>> users@lists.openshift.redhat.com
>> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>>
>

-- 
Kind Regards,

Joel Pearson
Agile Digital | Senior Software Consultant

Love Your Softwareâ„¢ | ABN 98 106 361 273
p: 1300 858 277 | m: 0405 417 843 <0405417843> | w: agiledigital.com.au
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: [OKD/OCP v4]: deployment on a single node using CodeReady Container

2019-09-19 Thread Fernando Lozano
Yes, bare-metal only.

On Thu, Sep 19, 2019 at 8:50 PM Just Marvin <
marvin.the.cynical.ro...@gmail.com> wrote:

> Fernando,
>
> Is CRC only expected to run on bare-metal? I tried running it on a VM
> in GCP and it didn't work, complaining about virtualization problems (sorry
> - forget the exact error). It runs find on my laptop, but I'd really like
> to not muddy up my laptop with all kinds of experimental things.
>
> Regards,
> Marvin
>
> On Wed, Sep 18, 2019 at 12:35 PM Fernando Lozano 
> wrote:
>
>> Hi Joel,
>>
>> Yes, CRC requires virtualization. It creates and manages a VM, using the
>> hypervisor provided by your laptop OS, and runs OpenShift inside that VM.
>> AFAIK there is no more all-in-one containerized support for OpenShift so
>> more 'oc cluster up' for OpenShift 4.x.
>>
>> []s, Fernando Lozano
>>
>>
>> On Wed, Sep 18, 2019 at 9:44 AM Joel Pearson <
>> japear...@agiledigital.com.au> wrote:
>>
>>> With CodeReady Container, it's not possible to use it without
>>> virtualisation right?  Because it needs CoreOS, and can't startup on an
>>> existing docker installation like you can with "oc cluster up"?
>>>
>>> I'm only asking because I almost got OKD 3.11 running on Windows 10 WSL
>>> (windows subsystem for linux) v2.  But if it's a full VM, then running
>>> inside WSL 2 doesn't really make sense (and probably doesn't work anyway).
>>>
>>> On Sat, 14 Sep 2019 at 02:35, Daniel Comnea 
>>> wrote:
>>>
 Recently folks were asking what is the minishift's alternative for v4
 and in case you've missed the news see [1]

 Hopefully that will also work for OKD v4 once  the MVP is out.


 Dani

 [1]
 https://developers.redhat.com/blog/2019/09/05/red-hat-openshift-4-on-your-laptop-introducing-red-hat-codeready-containers/
 ___
 users mailing list
 users@lists.openshift.redhat.com
 http://lists.openshift.redhat.com/openshiftmm/listinfo/users

>>>
>>> ___
>>> users mailing list
>>> users@lists.openshift.redhat.com
>>> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>>>
>> ___
>> users mailing list
>> users@lists.openshift.redhat.com
>> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>>
>
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


CRC and OpenShift Service Mesh?

2019-09-19 Thread Just Marvin
Hi,

Are these [1] instructions expected to work for CRC as well, or are
there different instructions / its not possible to get the istio working on
CRC?

Regards,
Marvin

[1]
https://docs.openshift.com/container-platform/4.1/service_mesh/service_mesh_install/installing-ossm.html
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: [OKD/OCP v4]: deployment on a single node using CodeReady Container

2019-09-19 Thread Just Marvin
Fernando,

Is CRC only expected to run on bare-metal? I tried running it on a VM
in GCP and it didn't work, complaining about virtualization problems (sorry
- forget the exact error). It runs find on my laptop, but I'd really like
to not muddy up my laptop with all kinds of experimental things.

Regards,
Marvin

On Wed, Sep 18, 2019 at 12:35 PM Fernando Lozano  wrote:

> Hi Joel,
>
> Yes, CRC requires virtualization. It creates and manages a VM, using the
> hypervisor provided by your laptop OS, and runs OpenShift inside that VM.
> AFAIK there is no more all-in-one containerized support for OpenShift so
> more 'oc cluster up' for OpenShift 4.x.
>
> []s, Fernando Lozano
>
>
> On Wed, Sep 18, 2019 at 9:44 AM Joel Pearson <
> japear...@agiledigital.com.au> wrote:
>
>> With CodeReady Container, it's not possible to use it without
>> virtualisation right?  Because it needs CoreOS, and can't startup on an
>> existing docker installation like you can with "oc cluster up"?
>>
>> I'm only asking because I almost got OKD 3.11 running on Windows 10 WSL
>> (windows subsystem for linux) v2.  But if it's a full VM, then running
>> inside WSL 2 doesn't really make sense (and probably doesn't work anyway).
>>
>> On Sat, 14 Sep 2019 at 02:35, Daniel Comnea 
>> wrote:
>>
>>> Recently folks were asking what is the minishift's alternative for v4
>>> and in case you've missed the news see [1]
>>>
>>> Hopefully that will also work for OKD v4 once  the MVP is out.
>>>
>>>
>>> Dani
>>>
>>> [1]
>>> https://developers.redhat.com/blog/2019/09/05/red-hat-openshift-4-on-your-laptop-introducing-red-hat-codeready-containers/
>>> ___
>>> users mailing list
>>> users@lists.openshift.redhat.com
>>> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>>>
>>
>> ___
>> users mailing list
>> users@lists.openshift.redhat.com
>> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>>
> ___
> users mailing list
> users@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users