Skip to content

Commit

Permalink
Publish updated main docs, 1693488820
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Aug 31, 2023
1 parent cd37e14 commit c640b7f
Show file tree
Hide file tree
Showing 309 changed files with 1,488 additions and 506 deletions.
24 changes: 20 additions & 4 deletions docs/_print/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
<li>5.1: <a href="#pg-c0708ac9ee8c8fbda19457c73798a929">The Logging custom resource</a></li><li>5.2: <a href="#pg-73731e87b595ac2d32428566811fc127">Configure Fluentd</a></li><li>5.3: <a href="#pg-e0c4f740879ef5ce79b6d0d086ef5e14">Configure syslog-ng</a></li><li>5.4: <a href="#pg-e55dcde4fa90369f23e1167b78e14986">Fluent Bit log collector</a></li><li>5.5: <a href="#pg-d8f4a300f3d0e2b8000fec50bc64befb">Multiple Fluent Bit agents in the cluster</a></li><li>5.6: <a href="#pg-34e5e120deddba15a35b3c3d1135cbb2">TLS encryption</a></li><li>5.7: <a href="#pg-ad05d57db5d08bb5a16b343b608e91fa">Security</a></li><ul>
</ul></ul><li>6: <a href="#pg-2468a881210107c399941aefc2a95a23">Operation</a></li><ul>
<li>6.1: <a href="#pg-85dfc8f2bc8d8124c30cdb1fdddb3b6c">Logging operator troubleshooting</a></li><ul>
<li>6.1.1: <a href="#pg-741171b799e509ff0eabf397d862c757">Troubleshooting Fluent Bit</a></li><li>6.1.2: <a href="#pg-08d978e8b4bd5dff112fd9e079aaba48">Troubleshooting Fluentd</a></li><li>6.1.3: <a href="#pg-3f9ff6b76f6626e8e1fb3f91c1ad7b0f">Troubleshooting syslog-ng</a></li><li>6.1.4: <a href="#pg-ff4769d67e22b03ee37bf3b31cd60c80">Running on KinD</a></li></ul><li>6.2: <a href="#pg-f43e816fa3bb01ec74b11406f7aa77ce">Monitor your logging pipeline with Prometheus Operator</a></li><li>6.3: <a href="#pg-362f849752620b4cf0d070e2fc884699">Alerting</a></li><li>6.4: <a href="#pg-e1b978ea58e795d55d2b6d7ad7aabb23">Readiness probe</a></li><li>6.5: <a href="#pg-791b523329c1485057fb827f9ed4b80b">Collect Fluentd errors</a></li><li>6.6: <a href="#pg-5ac19d15e22096d860ccfc7422b529f9">Optimization</a></li><li>6.7: <a href="#pg-af5ba8326f5b4c35d5dc6de4337c19b0">Scaling</a></li><li>6.8: <a href="#pg-2ea22a017fd9fef2575c36200cd7f9b8">CPU and memory requirements</a></li></ul><li>7: <a href="#pg-b9683b78eca24c9572e4995734221f3f">For developers</a></li><li>8: <a href="#pg-956da29f025cba37fca9fe6b80ab5d48">Frequently asked questions</a></li><li>9: <a href="#pg-0c44f8157757ae9807433efcf75c4e52">License</a></li></ul><div class="content">
<li>6.1.1: <a href="#pg-741171b799e509ff0eabf397d862c757">Troubleshooting Fluent Bit</a></li><li>6.1.2: <a href="#pg-08d978e8b4bd5dff112fd9e079aaba48">Troubleshooting Fluentd</a></li><li>6.1.3: <a href="#pg-3f9ff6b76f6626e8e1fb3f91c1ad7b0f">Troubleshooting syslog-ng</a></li><li>6.1.4: <a href="#pg-ff4769d67e22b03ee37bf3b31cd60c80">Running on KinD</a></li></ul><li>6.2: <a href="#pg-f43e816fa3bb01ec74b11406f7aa77ce">Monitor your logging pipeline with Prometheus Operator</a></li><li>6.3: <a href="#pg-362f849752620b4cf0d070e2fc884699">Alerting</a></li><li>6.4: <a href="#pg-e1b978ea58e795d55d2b6d7ad7aabb23">Readiness probe</a></li><li>6.5: <a href="#pg-791b523329c1485057fb827f9ed4b80b">Collect Fluentd errors</a></li><li>6.6: <a href="#pg-5ac19d15e22096d860ccfc7422b529f9">Optimization</a></li><li>6.7: <a href="#pg-af5ba8326f5b4c35d5dc6de4337c19b0">Scaling</a></li><li>6.8: <a href="#pg-2ea22a017fd9fef2575c36200cd7f9b8">CPU and memory requirements</a></li></ul><li>7: <a href="#pg-58416e0a7f68f24b8e7d9b1834b3036f">Images used by Logging operator</a></li><li>8: <a href="#pg-b9683b78eca24c9572e4995734221f3f">For developers</a></li><li>9: <a href="#pg-956da29f025cba37fca9fe6b80ab5d48">Frequently asked questions</a></li><li>10: <a href="#pg-0c44f8157757ae9807433efcf75c4e52">License</a></li></ul><div class="content">
<p>Welcome to the Logging operator documentation!</p><h2 id="overview">Overview</h2><p>The Logging operator solves your logging-related problems in Kubernetes environments by automating the deployment and configuration of a Kubernetes logging pipeline.</p><ol>
<li>The operator deploys and configures a log collector (currently a Fluent Bit DaemonSet) on every node to collect container and application logs from the node file system.</li><li>Fluent Bit queries the Kubernetes API and enriches the logs with metadata about the pods, and transfers both the logs and the metadata to a log forwarder instance.</li><li>The log forwarder instance receives, filters, and transforms the incoming the logs, and transfers them to one or more destination outputs. The Logging operator supports <a href="https://www.fluentd.org/">Fluentd</a> and syslog-ng (via the <a href="https://axoflow.com/docs/axosyslog-core/">AxoSyslog syslog-ng distribution</a>) as log forwarders.</li></ol><p>Your logs are always transferred on authenticated and encrypted channels.</p><p>This operator helps you bundle logging information with your applications: you can describe the behavior of your application in its charts, the Logging operator does the rest.</p><p align="center"><img src="img/logging_operator_flow.png" alt="How Logging operator works"></p><h2 id="feature-highlights">Feature highlights</h2><ul>
<li>Namespace isolation</li><li>Native Kubernetes label selectors</li><li>Secure communication (TLS)</li><li>Configuration validation</li><li>Multiple flow support (multiply logs for different transformations)</li><li>Multiple <a href="/docs/configuration/plugins/outputs/">output</a> support (store the same logs in multiple storage: S3, GCS, ES, Loki and more&mldr;)</li><li>Multiple logging system support (multiple Fluentd, Fluent Bit deployment on the same cluster)</li><li>Support for both syslog-ng and Fluentd as the central log routing component</li></ul><h2 id="architecture">Architecture</h2><p>The Logging operator manages the log collectors and log forwarders of your logging infrastructure, and the routing rules that specify where you want to send your different log messages.</p><p>The <strong>log collectors</strong> are endpoint agents that collect the logs of your Kubernetes nodes and send them to the log forwarders. Logging operator currently uses Fluent Bit as log collector agents.</p><p>The <strong>log forwarder</strong> instance receives, filters, and transforms the incoming logs, and transfers them to one or more destination outputs. The Logging operator supports Fluentd and syslog-ng as log forwarders. Which log forwarder is best for you depends on your logging requirements. For tips, see <a href="/docs/configuration/fluentd-vs-syslog-ng/">Which log forwarder to use</a>.</p><p>You can filter and process the incoming log messages using the <a href="/docs/configuration/flow/"><strong>flow</strong></a> custom resource of the log forwarder to route them to the appropriate <a href="/docs/configuration/output/"><strong>output</strong></a>. The outputs are the destinations where you want to send your log messages, for example, Elasticsearch, or an Amazon S3 bucket. You can also define cluster-wide outputs and flows, for example, to use a centralized output that namespaced users can reference but cannot modify. Note that flows and outputs are specific to the type of log forwarder you use (Fluentd or syslog-ng).</p><p>You can configure the Logging operator using the following Custom Resource Definitions.</p><ul>
Expand Down Expand Up @@ -4729,7 +4729,23 @@ <h1 id="pg-2ea22a017fd9fef2575c36200cd7f9b8">6.8 - CPU and memory requirements</
</span></span></span><span style="display:flex"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:700">cpu</span><span style="color:#000;font-weight:700">:</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#0000cf;font-weight:700">1</span><span style="color:#f8f8f8;text-decoration:underline">
</span></span></span><span style="display:flex"><span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#204a87;font-weight:700">memory</span><span style="color:#000;font-weight:700">:</span><span style="color:#f8f8f8;text-decoration:underline"> </span><span style="color:#000">1Gi</span><span style="color:#f8f8f8;text-decoration:underline">
</span></span></span></code></pre></div></div><div class="td-content" style="page-break-before:always">
<h1 id="pg-b9683b78eca24c9572e4995734221f3f">7 - For developers</h1><p>This documentation helps to set-up a developer environment and writing plugins for the Logging operator.</p><h2 id="setting-up-kind">Setting up Kind</h2><ol>
<h1 id="pg-58416e0a7f68f24b8e7d9b1834b3036f">7 - Images used by Logging operator</h1><p>Logging operator uses the following image versions.</p><h2 id="logging-operator-version-43">Logging operator version 4.3</h2><table>
<thead>
<tr>
<th>Image repository</th><th>GitHub repository</th><th>Version</th></tr></thead><tbody>
<tr>
<td>ghcr.io/kube-logging/node-exporter</td><td><a href="https://github.com/kube-logging/node-exporter-image">https://github.com/kube-logging/node-exporter-image</a></td><td>v0.6.1</td></tr><tr>
<td>ghcr.io/kube-logging/config-reloader</td><td><a href="https://github.com/kube-logging/config-reloader">https://github.com/kube-logging/config-reloader</a></td><td>v0.0.5</td></tr><tr>
<td>ghcr.io/kube-logging/fluentd-drain-watch</td><td><a href="https://github.com/kube-logging/fluentd-drain-watch">https://github.com/kube-logging/fluentd-drain-watch</a></td><td>v0.2.0</td></tr><tr>
<td>k8s.gcr.io/pause</td><td></td><td>3.2</td></tr><tr>
<td>docker.io/busybox</td><td><a href="https://github.com/docker-library/busybox">https://github.com/docker-library/busybox</a></td><td>latest</td></tr><tr>
<td>ghcr.io/axoflow/axosyslog</td><td><a href="https://github.com/axoflow/axosyslog-docker/">https://github.com/axoflow/axosyslog-docker/</a></td><td>4.3.0</td></tr><tr>
<td>docker.io/fluent/fluent-bit</td><td><a href="https://github.com/fluent/fluent-bit-docker-image">https://github.com/fluent/fluent-bit-docker-image</a></td><td>2.1.4</td></tr><tr>
<td>ghcr.io/kube-logging/fluentd</td><td><a href="https://github.com/kube-logging/fluentd-images">https://github.com/kube-logging/fluentd-images</a></td><td>v1.15-ruby3</td></tr><tr>
<td>ghcr.io/kube-logging/syslog-ng-exporter</td><td><a href="https://github.com/kube-logging/syslog_ng_exporter">https://github.com/kube-logging/syslog_ng_exporter</a></td><td>v0.0.16</td></tr><tr>
<td>ghcr.io/kube-logging/syslogng-reload</td><td><a href="https://github.com/kube-logging/syslogng-reload-image">https://github.com/kube-logging/syslogng-reload-image</a></td><td>v1.3.1</td></tr><tr>
<td>banzaicloud/eventrouter</td><td><a href="https://github.com/kube-logging/event-router">https://github.com/kube-logging/event-router</a></td><td>v0.1.0</td></tr></tbody></table></div><div class="td-content" style="page-break-before:always">
<h1 id="pg-b9683b78eca24c9572e4995734221f3f">8 - For developers</h1><p>This documentation helps to set-up a developer environment and writing plugins for the Logging operator.</p><h2 id="setting-up-kind">Setting up Kind</h2><ol>
<li>
<p>Install Kind on your computer</p><div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-bash" data-lang="bash"><span style="display:flex"><span>go get sigs.k8s.io/[email protected]
</span></span></code></pre></div></li><li>
Expand Down Expand Up @@ -4789,7 +4805,7 @@ <h1 id="pg-b9683b78eca24c9572e4995734221f3f">7 - For developers</h1><p>This docu
</span></span></span><span style="display:flex"><span><span style="color:#8f5902;font-style:italic"></span><span style="color:#000">Buffer</span> <span style="color:#ce5c00;font-weight:700">*</span><span style="color:#000">Buffer</span> <span style="color:#4e9a06">`json:&#34;buffer,omitempty&#34;`</span>
</span></span></code></pre></div><h3 id="generate-docs-for-your-plugin">Generate docs for your Plugin</h3><div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-bash" data-lang="bash"><span style="display:flex"><span>make docs
</span></span></code></pre></div></div><div class="td-content" style="page-break-before:always">
<h1 id="pg-956da29f025cba37fca9fe6b80ab5d48">8 - Frequently asked questions</h1><h2 id="how-can-i-run-the-unreleased-master-version">How can I run the unreleased master version?</h2><ol>
<h1 id="pg-956da29f025cba37fca9fe6b80ab5d48">9 - Frequently asked questions</h1><h2 id="how-can-i-run-the-unreleased-master-version">How can I run the unreleased master version?</h2><ol>
<li>
<p>Clone the logging-operator repo.</p><div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-bash" data-lang="bash"><span style="display:flex"><span>git clone [email protected]:kube-logging/logging-operator.git
</span></span></code></pre></div></li><li>
Expand All @@ -4800,7 +4816,7 @@ <h1 id="pg-956da29f025cba37fca9fe6b80ab5d48">8 - Frequently asked questions</h1>
<p>Helm v3</p><div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-bash" data-lang="bash"><span style="display:flex"><span> helm upgrade --install --wait --create-namespace --namespace logging logging ./charts/logging-operator --set image.tag<span style="color:#ce5c00;font-weight:700">=</span>master
</span></span></code></pre></div></li></ul></li></ol><h2 id="how-can-i-support-the-project">How can I support the project?</h2><ul>
<li>Give a star to <a href="https://github.com/kube-logging/logging-operator">this repository</a></li><li>Add your company to the <a href="https://github.com/kube-logging/logging-operator/blob/master/ADOPTERS.md">adopters</a> list</li></ul></div><div class="td-content" style="page-break-before:always">
<h1 id="pg-0c44f8157757ae9807433efcf75c4e52">9 - License</h1><p>Copyright (c) 2017-2019 <a href="https://banzaicloud.com">Banzai Cloud, Inc.</a>
<h1 id="pg-0c44f8157757ae9807433efcf75c4e52">10 - License</h1><p>Copyright (c) 2017-2019 <a href="https://banzaicloud.com">Banzai Cloud, Inc.</a>
Copyright (c) 2020-2023 <a href="https://cisco.com">Cisco Systems, Inc.</a>
Copyright (c) 2023- <a href="https://github.com/kube-logging/">kube-logging authors</a></p><p>Licensed under the Apache License, Version 2.0 (the &ldquo;License&rdquo;);
you may not use this file except in compliance with the License.
Expand Down
11 changes: 7 additions & 4 deletions docs/configuration/crds/extensions/eventtailer_types/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
Default: -">
<meta property="og:type" content="article">
<meta property="og:url" content="https://kube-logging.dev/docs/configuration/crds/extensions/eventtailer_types/"><meta property="article:section" content="docs">
<meta property="article:modified_time" content="2023-08-30T15:04:49+02:00"><meta property="og:site_name" content="Logging operator">
<meta property="article:modified_time" content="2023-08-31T15:33:39+02:00"><meta property="og:site_name" content="Logging operator">
<meta itemprop="name" content="EventTailer">
<meta itemprop="description" content="EventTailerSpec EventTailerSpec defines the desired state of EventTailer
controlNamespace (string, required) The resources of EventTailer will be placed into this namespace
Expand All @@ -53,7 +53,7 @@
Default: -
containerOverrides (*types.ContainerBase, optional) Override container fields for the given statefulset
Default: -">
<meta itemprop="dateModified" content="2023-08-30T15:04:49+02:00">
<meta itemprop="dateModified" content="2023-08-31T15:33:39+02:00">
<meta itemprop="wordCount" content="128">
<meta itemprop="keywords" content><meta name="twitter:card" content="summary">
<meta name="twitter:title" content="EventTailer">
Expand Down Expand Up @@ -514,7 +514,10 @@
</li><li class="td-sidebar-nav__section-title td-sidebar-nav__section without-child" id="m-docsoperationrequirements-li">
<input type="checkbox" id="m-docsoperationrequirements-check">
<label for="m-docsoperationrequirements-check"><a href="/docs/operation/requirements/" title="CPU and memory requirements" class="align-left pl-0 td-sidebar-link td-sidebar-link__page" id="m-docsoperationrequirements"><span>Resource requirements</span></a></label>
</li></ul></li><li class="td-sidebar-nav__section-title td-sidebar-nav__section without-child" id="m-docsdevelopers-li">
</li></ul></li><li class="td-sidebar-nav__section-title td-sidebar-nav__section without-child" id="m-docsimage-versions-li">
<input type="checkbox" id="m-docsimage-versions-check">
<label for="m-docsimage-versions-check"><a href="/docs/image-versions/" class="align-left pl-0 td-sidebar-link td-sidebar-link__page" id="m-docsimage-versions"><span>Images used by Logging operator</span></a></label>
</li><li class="td-sidebar-nav__section-title td-sidebar-nav__section without-child" id="m-docsdevelopers-li">
<input type="checkbox" id="m-docsdevelopers-check">
<label for="m-docsdevelopers-check"><a href="/docs/developers/" class="align-left pl-0 td-sidebar-link td-sidebar-link__page" id="m-docsdevelopers"><span>For developers</span></a></label>
</li><li class="td-sidebar-nav__section-title td-sidebar-nav__section without-child" id="m-docsfaq-li">
Expand Down Expand Up @@ -556,7 +559,7 @@
</li></ol></nav><div class="td-content">
<h1>EventTailer</h1><header class="article-meta">
</header><h2 id="eventtailerspec">EventTailerSpec</h2><p>EventTailerSpec defines the desired state of EventTailer</p><h3 id="eventtailerspec-controlnamespace">controlNamespace (string, required)</h3><p>The resources of EventTailer will be placed into this namespace</p><p>Default: -</p><h3 id="eventtailerspec-positionvolume">positionVolume (volume.KubernetesVolume, optional)</h3><p>Volume definition for tracking fluentbit file positions (optional)</p><p>Default: -</p><h3 id="eventtailerspec-workloadmetaoverrides">workloadMetaOverrides (*types.MetaBase, optional)</h3><p>Override metadata of the created resources</p><p>Default: -</p><h3 id="eventtailerspec-workloadoverrides">workloadOverrides (*types.PodSpecBase, optional)</h3><p>Override podSpec fields for the given statefulset</p><p>Default: -</p><h3 id="eventtailerspec-containeroverrides">containerOverrides (*types.ContainerBase, optional)</h3><p>Override container fields for the given statefulset</p><p>Default: -</p><h2 id="eventtailerstatus">EventTailerStatus</h2><p>EventTailerStatus defines the observed state of EventTailer</p><h2 id="eventtailer">EventTailer</h2><p>EventTailer is the Schema for the eventtailers API</p><h3 id="eventtailer-">(metav1.TypeMeta, required)</h3><p>Default: -</p><h3 id="eventtailer-metadata">metadata (metav1.ObjectMeta, optional)</h3><p>Default: -</p><h3 id="eventtailer-spec">spec (EventTailerSpec, optional)</h3><p>Default: -</p><h3 id="eventtailer-status">status (EventTailerStatus, optional)</h3><p>Default: -</p><h2 id="eventtailerlist">EventTailerList</h2><p>EventTailerList contains a list of EventTailer</p><h3 id="eventtailerlist-">(metav1.TypeMeta, required)</h3><p>Default: -</p><h3 id="eventtailerlist-metadata">metadata (metav1.ListMeta, optional)</h3><p>Default: -</p><h3 id="eventtailerlist-items">items ([]EventTailer, required)</h3><p>Default: -</p><div class="text-muted mt-5 pt-3 border-top">
Last modified August 30, 2023: <a href="https://github.com/kube-logging/kube-logging.github.io/commit/d7ee0e31c376ae02cc0ec8198c6771979967dd9b">Merge pull request #180 from kube-logging/fix-pagefind-indexing-step (d7ee0e3)</a>
Last modified August 31, 2023: <a href="https://github.com/kube-logging/kube-logging.github.io/commit/2c7faf2090642856590cdc47d805c39f913680c1">Merge pull request #181 from kube-logging/lo-4.3-image-versions (2c7faf2)</a>
</div></div></main></div></div><footer class="bg-dark py-5 row d-print-none">
<div class="container-fluid mx-sm-5">
<div class="row">
Expand Down
Loading

0 comments on commit c640b7f

Please sign in to comment.