Skip to content

Cherry-pick #21480 to 7.x: Add kubernetes composable inputs provider#21586

Merged
exekias merged 1 commit intoelastic:7.xfrom
exekias:backport_21480_7.x
Oct 6, 2020
Merged

Cherry-pick #21480 to 7.x: Add kubernetes composable inputs provider#21586
exekias merged 1 commit intoelastic:7.xfrom
exekias:backport_21480_7.x

Conversation

@exekias
Copy link
Copy Markdown
Contributor

@exekias exekias commented Oct 6, 2020

Cherry-pick of PR #21480 to 7.x branch. Original message:

What does this PR do?

Add kubernetes dynamic provider for Pods, this will allow to launch input configurations for discovered Pods in a Kubernetes cluster. Example config:

providers.kubernetes:
  kube_config: /Users/exekias/.kube/config
  node: minikube

inputs:
  - type: logfile
    streams:
      - paths: /var/log/containers/*${kubernetes.container.id}.log

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [ ] I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

Related issues

Closes #19271

* Add kubernetes composable inputs provider

(cherry picked from commit d6ee968)
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Oct 6, 2020
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/ingest-management (Team:Ingest Management)

@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/integrations-platforms (Team:Platforms)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Oct 6, 2020
@exekias exekias requested a review from blakerouse October 6, 2020 16:38
Copy link
Copy Markdown
Contributor

@blakerouse blakerouse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Backport looks good.

@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Pull request #21586 opened]

  • Start Time: 2020-10-06T16:38:38.431+0000

  • Duration: 38 min 16 sec

Test stats 🧪

Test Results
Failed 0
Passed 1386
Skipped 4
Total 1390

@exekias exekias merged commit 5feee4a into elastic:7.x Oct 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Team:Platforms Label for the Integrations - Platforms team [zube]: In Review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants