operationalizing-openshift-lab icon indicating copy to clipboard operation
operationalizing-openshift-lab copied to clipboard

Issue #5 - Add EFK logging install template for OCP 4.1

Open themoosman opened this issue 6 years ago • 8 comments

Add template to install EFK stack on OCP 4.1.

Fully tested on a 4.1.8 cluster.

Resolves issue #5

themoosman avatar Aug 06 '19 19:08 themoosman

Template construction based off this OCP documentation. https://docs.openshift.com/container-platform/4.1/logging/efk-logging-deploying.html

themoosman avatar Aug 06 '19 20:08 themoosman

I was working on a similar template. I think the logging stack should probably run on separate nodes. Using taints and toleration we should make sure only the logging stack ends up on those nodes. This would work similarly to how masters are kept isolated for normal workloads. here is my recipe: https://github.com/raffaelespazzoli/openshift-enablement-exam/tree/master/misc4.0/logging

raffaelespazzoli avatar Aug 06 '19 20:08 raffaelespazzoli

@raffaelespazzoli that makes sense. how do we want to proceed? @themoosman do you have time/desire to enhance your template to add MachineSets like @raffaelespazzoli's example?

etsauer avatar Aug 06 '19 20:08 etsauer

Sure, I can probably get to it in the next week or so. @etsauer

themoosman avatar Aug 06 '19 21:08 themoosman

@themoosman cool. Just so you know, we have standard variables already in place in automation for building out the MachineSets. take a look at https://github.com/redhat-cop/operationalizing-openshift-lab/blob/master/templates/machineautoscaler.yaml#L17-L23

etsauer avatar Aug 06 '19 22:08 etsauer

Added support for node selectors. I made this very generic as to work with the OOTB cluster as well as any custom MachineSets.

themoosman avatar Aug 13 '19 13:08 themoosman

Circling back on this. Where did we land on splitting this into 2 templates?

themoosman avatar Aug 27 '19 21:08 themoosman

@themoosman I think we agreed that split into two is better.

etsauer avatar Aug 28 '19 02:08 etsauer