Cloud Pak for Integration

 View Only
Expand all | Collapse all

Implementing Istio with CP4I

  • 1.  Implementing Istio with CP4I

    IBM Champion
    Posted Fri July 31, 2020 09:44 AM
    Hi,
    Is there a reference material available on how to implement Istio service mesh with CP4I ?

    ------------------------------
    Thanks,
    Santhosh Ramanathan
    ------------------------------


  • 2.  RE: Implementing Istio with CP4I

    Posted Mon August 03, 2020 04:23 AM
    @Christopher Phillips @Claudio Tag @Timothy Quigly have written a wonderful article and published a Video. You can find details in Chri's Github series https://chrisphillips-cminion.github.io/apiconnect/2019/07/16/Istio.html   ​​​​​

    ------------------------------
    PETER BRABEC
    ------------------------------



  • 3.  RE: Implementing Istio with CP4I

    Posted Thu May 13, 2021 04:34 PM
    Thank you, Peter. That was useful. But looking at Tim and Claudio's video Istio appears to be installed on ICP not CP4I. Can the same deployment topology be implemented with OpenShift (CP4I)? Are there any licensing implications?

    ------------------------------
    Lokesh Ramakrishna
    ------------------------------



  • 4.  RE: Implementing Istio with CP4I

    IBM Champion
    Posted Thu May 13, 2021 11:43 PM
    Hi Lokesh,

    I have implemented istio on Openshift for CP4I applications. Openshift has its own implementation on top of istio called Service Mesh, you can install OpenShift Service Mesh operator and then you can able to use istio for your applications.

    ------------------------------
    Thanks,
    Santhosh Ramanathan
    ------------------------------



  • 5.  RE: Implementing Istio with CP4I

    Posted Fri May 14, 2021 01:49 AM
    Many thanks Santhosh. I also found this one: https://community.ibm.com/community/user/integration/blogs/claudio-tag1/2020/10/30/istio-cp4i-2
    I am fairly new to CP4I and planning to start with a POC/POT in the next couple of weeks. May have some more questions, will use this community. Thanks again Santhosh.

    ------------------------------
    Lokesh Ramakrishna
    ------------------------------



  • 6.  RE: Implementing Istio with CP4I

    Posted Fri May 14, 2021 09:58 AM
    Hi Santhosh

    May I know the version of CP4I you are running with the Service Mesh, please?  If I recall correctly, Openshift 4.6 upgraded the underlying istio version in Service Mesh.  I am keen to know if 2021.1.1 works with the new Service Mesh.

    The last known working version was in 2020.3.1 on Openshift 4.4, as described in https://community.ibm.com/community/user/integration/blogs/claudio-tag1/2020/10/30/istio-cp4i-2.

    ------------------------------
    Colin Lim
    Director
    Syntegrity Solutions
    Sydney
    61 4 14486173
    ------------------------------



  • 7.  RE: Implementing Istio with CP4I

    IBM Champion
    Posted Mon May 17, 2021 09:43 AM
    Hi Colin,

    I implemented ServiceMesh in Openshift v4.5 and CP4I V2020.3.1 . I haven't tried it in v2021. So its not supported in v2021?

    ------------------------------
    Thanks,
    Santhosh Ramanathan
    ------------------------------



  • 8.  RE: Implementing Istio with CP4I

    Posted Tue May 18, 2021 09:29 PM
    Hi Santhosh

    My first attempt failed.  The only difference I can see is the version of Openshift Service Mesh. 

    In Openshift 4.4 and 4.5 the Service Mesh supported was 1.1.x (with istio 1.4.8). 

    In Openshift 4.6, the Service Mesh supported is 2.0.x (with istio 1.6.14).

    I will attempt to install it with CP4I 2020.4.1 EUS with Openshift 4.6.






    ------------------------------
    Colin Lim
    ------------------------------



  • 9.  RE: Implementing Istio with CP4I

    Posted Wed May 19, 2021 08:47 AM
    Hi Santhosh

    I have successfully installed and configured the Service Mesh for CP4I 2020.4.1 EUS with Openshift 4.6.

    I did run into an issue when my integration server deployment refers to an MQ configuration policy.  I think the sidecar proxy is blocking the external IP.

    Below is the log from the pod Integration server container

    2021-05-19T12:38:58.204Z Image created: 2021-04-22T11:56:07+00:00
    2021-05-19T12:38:58.204Z Image revision: Not specified
    2021-05-19T12:38:58.204Z Image source: Not specified
    2021-05-19T12:38:58.397Z ACE version: 110012
    2021-05-19T12:38:58.397Z ACE level: S1100-L210327.21333
    2021-05-19T12:38:58.397Z ACE build type: Production, 64 bit, amd64_linux_2
    2021-05-19T12:38:58.397Z Go Version: go1.16.3
    2021-05-19T12:38:58.397Z Go OS/Arch: linux/amd64
    2021-05-19T12:38:58.397Z Checking for valid working directory
    2021-05-19T12:38:58.397Z Checking if work dir is already initialized
    2021-05-19T12:38:58.397Z Checking for contents in the work dir
    2021-05-19T12:38:58.397Z Work dir initialization complete
    2021-05-19T12:38:58.397Z Setup configuration files - configuration names: mqpolicy-ace-2.0,is-fe-is-adminssl
    2021-05-19T12:38:58.400Z Failed to get configuration: mqpolicy-ace-2.0: &url.Error{Op:"Get", URL:"https://172.30.0.1:443/apis/appconnect.ibm.com/v1beta1/namespaces/test-cp4i/configurations/mqpolicy-ace-2.0", Err:(*errors.errorString)(0xc000397380)}
    2021-05-19T12:38:58.400Z Get "https://172.30.0.1:443/apis/appconnect.ibm.com/v1beta1/namespaces/test-cp4i/configurations/mqpolicy-ace-2.0": http: server gave HTTP response to HTTPS client
    2021-05-19T12:38:58.400Z Stopping Integration Server
    2021-05-19T12:38:58.400Z Integration Server stopped
    2021-05-19T12:38:58.400Z Stopping Queue Mgr
    2021-05-19T12:38:58.400Z Queue Mgr stopped
    2021-05-19T12:38:58.400Z Contents of log directory
    2021-05-19T12:38:58.404Z total 0


    ------------------------------
    Regards
    Colin Lim
    ------------------------------



  • 10.  RE: Implementing Istio with CP4I

    IBM Champion
    Posted Wed May 19, 2021 09:05 AM
    Hi Colin,

    Great. yes, looks like issue with MQPolicy. Thanks for sharing your learnings. I will try with 2021, if you get succeeded in implementing service mesh on 2021, please share your learnings. It will be really helpful for us.

    ------------------------------
    Thanks,
    Santhosh Ramanathan
    ------------------------------