Last active
December 9, 2020 09:58
-
-
Save juanbrny/6f8466b523f94e397ad4dd25a5c29f39 to your computer and use it in GitHub Desktop.
Basic EFK stack for OpenShift using ClusterLogging and Elastic operators
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: "logging.openshift.io/v1" | |
kind: "ClusterLogging" | |
metadata: | |
name: "instance" | |
namespace: "openshift-logging" | |
spec: | |
managementState: "Managed" | |
logStore: | |
type: "elasticsearch" | |
retentionPolicy: | |
application: | |
maxAge: 2h | |
infra: | |
maxAge: 1h | |
audit: | |
maxAge: 1h | |
elasticsearch: | |
nodeSelector: | |
node-role.kubernetes.io/log: '' | |
nodeCount: 2 | |
resources: | |
requests: {} | |
limits: {} | |
storage: | |
storageClassName: "managed-premium" | |
size: "50G" | |
redundancyPolicy: "SingleRedundancy" | |
visualization: | |
type: "kibana" | |
kibana: | |
resources: | |
requests: {} | |
limits: {} | |
proxy: | |
resources: | |
requests: {} | |
limits: {} | |
replicas: 1 | |
curation: | |
type: "curator" | |
curator: | |
nodeSelector: | |
node-role.kubernetes.io/log: '' | |
resources: | |
requests: {} | |
limits: {} | |
schedule: "*/10 * * * *" | |
collection: | |
logs: | |
type: "fluentd" | |
fluentd: | |
resources: | |
requests: {} | |
limits: {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment