Complex example that runs on Kubernetes/OpenShift?

87 views
Skip to first unread message

Seahope

unread,
Oct 23, 2016, 5:55:53 AM10/23/16
to fabric8
Hi,

It would nice to see a more complex example running with pods containing multiple containers e.g. a database server, a web server, messaging server etc.

Also a client example that shows the best way to obtain the service details e.g. to send messages.

I thought it would be easy to find the git repos of more complex examples, but I haven't been able to.

 If anyone knows of a good more complex example then one please can they share the details?

Thanks

Steve

James Strachan

unread,
Oct 24, 2016, 4:54:08 AM10/24/16
to Seahope, fabric8
On 23 October 2016 at 10:55, Seahope <stev...@gmail.com> wrote:
Hi,

It would nice to see a more complex example running with pods containing multiple containers e.g. a database server, a web server, messaging server etc.

Agreed!

I guess the fabric8 platform itself is a complex example; with jenkins, nexus, gogs, fabric8-forge and the fabric8 console all talking to each other; with optional plugins like elasticsearch; then hubot-notifier or chaos monkey talking to hubot. But its maybe harder to grok as, say, a Java developer trying to get a demo going with a bunch of separate pods.

 
Also a client example that shows the best way to obtain the service details e.g. to send messages.

Claus did a really great talk recently at a couple of conferences where he showed 2 separate Camel apps; one was a client invoking the other using kubernetes service discovery, load balancing and scaling which helps folks grok how it all works. Its also shows how the lack of readiness checks can make things look bad in a failover scenario (as traffic goes to a pod thats not ready to listen for requests etc).

I don't think the video of Claus's talk is online yet - but it will be soon & I'll post a link here when I find it.



 

I thought it would be easy to find the git repos of more complex examples, but I haven't been able to.

 If anyone knows of a good more complex example then one please can they share the details?

There's a moderately complex example in kubeflix:

Though I think we should have a standard quickstart we can use to show, say, 2 microservices working together to help folks grok how the service discovery, scaling, readiness checks all work together. 

Lemme raise an issue, we should be able to get something together soon:

This example would also be handy to show how folks could choose to use either Ribbon or linkerd to do client side discovery & load balancing; or enable auto-retries etc.

 

Thanks

Steve

--
You received this message because you are subscribed to the Google Groups "fabric8" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fabric8+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
James
-------
Red Hat

Twitter: @jstrachan
Email: james.s...@gmail.com
Blog: https://medium.com/@jstrachan/

open source microservices platform

Christian Posta

unread,
Oct 24, 2016, 10:01:13 AM10/24/16
to Seahope, fabric8
FWIW, here's a set of git repos with examples that use messaging (kafka) database (mysql) binlog streaming (debezium/kafka connect) and microservices broken down by DDD bounded contexts:


Uses a combination of spring-boot, wildfly-swarm, camel, angular, etc. Hope to have a blog of it running with fabric8 CI/CD soon.

LMK if you have any questions.



--
You received this message because you are subscribed to the Google Groups "fabric8" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fabric8+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Christian Posta
twitter: @christianposta

Reply all
Reply to author
Forward
0 new messages