fluent-plugin-k8s-metrics-agg 1.2.1 → 1.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 565444ab4272096fd6512f642d8316a757e0b4e4db092495dc238315f75090a0
4
- data.tar.gz: a7c63569ce9fae8178319caa8e89c8c4927f153d5a36ae2a98bf1cee7eec2836
3
+ metadata.gz: cded98943680af7e7fdcebe5430b0b45d325995af651bd0d286649a76f9ef5ca
4
+ data.tar.gz: 86ba29cec815bc7363f4625dac5f2a59cf5aebc2e7e2cbddddf7ec3aebaaf8d0
5
5
  SHA512:
6
- metadata.gz: 9d0e86b6d56f3ddbcbe94141a3263568b4640c189ebd6ed759dd738b619ae47800d91714e70d683eaa1b909b4cbc553d6aaa60263ed803c327b6cfb759fc6003
7
- data.tar.gz: 7be1e3c1c52566ae81f6c5a7deaa7d79a999f27e44b43e1a83d3f2962556776aba87468dd3fdab818076c16c7fbcb389581a2fdf5dc2016ec1ddda986fff2d52
6
+ metadata.gz: 913364e7026aa0e6f1bbc9129e18387af5ed204fb12a8b283b0186dbf75e1c15fba3df982d7dde7c895d428941af80e9e77574baf48bd881b648608f41d0027d
7
+ data.tar.gz: cadc61c2c20e01cb429f561dd1701475ab00a982efd1d44392b5f5542602e07e5a063276e3ec7ceaa27845bc842472777d9c9e9972c27e8196f6d08a8d238767
@@ -25,7 +25,7 @@ jobs:
25
25
 
26
26
  - name: Builder
27
27
  run: |
28
- rake build -t -v
28
+ bundle exec rake build -t -v
29
29
  cp -R pkg /tmp
30
30
 
31
31
  - name: Cache pkg
@@ -158,6 +158,8 @@ jobs:
158
158
  curl -X POST -u $CI_SPLUNK_USERNAME:$CI_SPLUNK_PASSWORD -k https://$CI_SPLUNK_HOST:$CI_SPLUNK_PORT/servicesNS/nobody/splunk_httpinput/data/inputs/http/http/enable
159
159
  # Create new HEC token
160
160
  curl -X POST -u $CI_SPLUNK_USERNAME:$CI_SPLUNK_PASSWORD -k -d "name=splunk_hec_token&token=a6b5e77f-d5f6-415a-bd43-930cecb12959&disabled=0&index=default-events&indexes=default-events,$CI_INDEX_METRICS,$CI_INDEX_OBJECTS,$CI_INDEX_EVENTS,ns-anno,pod-anno" https://$CI_SPLUNK_HOST:$CI_SPLUNK_PORT/servicesNS/nobody/splunk_httpinput/data/inputs/http
161
+ # lower the limit to 50MiB. Higher limits throws error 'Search not executed XXXX'
162
+ kubectl exec -it splunk -- bash -c 'echo -e "\n[diskUsage]\nminFreeSpace = 50" >> /opt/splunk/etc/system/local/server.conf'
161
163
  # Restart Splunk
162
164
  curl -k -u $CI_SPLUNK_USERNAME:$CI_SPLUNK_PASSWORD https://$CI_SPLUNK_HOST:$CI_SPLUNK_PORT/services/server/control/restart -X POST
163
165
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fluent-plugin-k8s-metrics-agg (1.2.1)
4
+ fluent-plugin-k8s-metrics-agg (1.2.3)
5
5
  fluentd (>= 1.9.1)
6
6
  kubeclient (~> 4.9.3)
7
7
  multi_json (~> 1.14.1)
@@ -72,7 +72,7 @@ GEM
72
72
  http-cookie (>= 1.0.2, < 2.0)
73
73
  mime-types (>= 1.16, < 4.0)
74
74
  netrc (~> 0.8)
75
- rexml (3.2.5)
75
+ rexml (3.2.6)
76
76
  serverengine (2.3.0)
77
77
  sigdump (~> 0.2.2)
78
78
  sigdump (0.2.4)
@@ -110,4 +110,4 @@ DEPENDENCIES
110
110
  webmock (~> 3.5.1)
111
111
 
112
112
  BUNDLED WITH
113
- 2.3.26
113
+ 2.4.19
data/README.md CHANGED
@@ -1,3 +1,7 @@
1
+ # End of Support
2
+
3
+ **Important:** The fluent-plugin-k8s-metrics-agg will reach End of Support on January 1, 2024. After that date, this repository will no longer receive updates from Splunk and will no longer be supported by Splunk. Until then, only critical security fixes and bug fixes will be provided.
4
+
1
5
  # Fluentd Plugin for Kubernetes Metrics - Aggregator
2
6
 
3
7
  [Fluentd](https://fluentd.org/) input plugin collects kubernetes cluster metrics from the kubeapiserver API. The API is exposed by [KubeApiServer](https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/) on a kubernetes cluster.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.1
1
+ 1.2.3
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env bash
2
- set -e
2
+ sudo gem update --system
3
3
  gem install bundler
4
4
  bundle update --bundler
5
5
  bundle install
data/docker/Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM ruby:2.7.4-buster as builder
1
+ FROM ruby:3.1.4-buster as builder
2
2
 
3
3
  ADD ./ /app/
4
4
  WORKDIR /app
@@ -8,7 +8,7 @@ RUN bundle install
8
8
 
9
9
  RUN bundle exec rake build -t -v
10
10
 
11
- FROM registry.access.redhat.com/ubi8/ruby-27
11
+ FROM registry.access.redhat.com/ubi9/ruby-31
12
12
 
13
13
  ARG VERSION
14
14
 
@@ -31,8 +31,6 @@ RUN mkdir /licenses
31
31
  COPY --from=builder /app/LICENSE /licenses/LICENSE
32
32
 
33
33
  COPY --from=builder /app/docker/Gemfile* ./
34
- RUN gem update date cgi
35
- RUN rm -f /usr/share/gems/specifications/default/cgi-0.1.0.gemspec /usr/share/gems/specifications/default/date-3.0.0.gemspec
36
34
  RUN yum update -y \
37
35
  && yum remove -y nodejs npm \
38
36
  && gem install bundler \
data/docker/Gemfile CHANGED
@@ -12,7 +12,9 @@ gem 'multi_json', '~>1.14'
12
12
  gem 'http_parser.rb', '=0.8.0'
13
13
  gem 'bigdecimal', '=3.0.0'
14
14
  gem 'rack', '>= 3.0.0'
15
+ gem 'cgi', '~> 0.3.6'
16
+ gem 'date', '~> 3.3.3'
15
17
 
16
- gem "fluent-plugin-splunk-hec", "= 1.3.1"
18
+ gem "fluent-plugin-splunk-hec", "= 1.3.3"
17
19
 
18
20
  gem 'fluent-plugin-k8s-metrics-agg', path: 'gem/'
data/docker/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: gem
3
3
  specs:
4
- fluent-plugin-k8s-metrics-agg (1.2.1)
4
+ fluent-plugin-k8s-metrics-agg (1.2.3)
5
5
  fluentd (>= 1.9.1)
6
6
  kubeclient (~> 4.9.3)
7
7
  multi_json (~> 1.14.1)
@@ -10,9 +10,9 @@ PATH
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- activemodel (7.0.4)
14
- activesupport (= 7.0.4)
15
- activesupport (7.0.4)
13
+ activemodel (7.0.7.2)
14
+ activesupport (= 7.0.7.2)
15
+ activesupport (7.0.7.2)
16
16
  concurrent-ruby (~> 1.0, >= 1.0.2)
17
17
  i18n (>= 1.6, < 2)
18
18
  minitest (>= 5.1)
@@ -23,9 +23,11 @@ GEM
23
23
  attr_required (1.0.1)
24
24
  bigdecimal (3.0.0)
25
25
  bindata (2.4.14)
26
+ cgi (0.3.6)
26
27
  concurrent-ruby (1.1.10)
27
28
  connection_pool (2.3.0)
28
29
  cool.io (1.7.1)
30
+ date (3.3.3)
29
31
  domain_name (0.5.20190701)
30
32
  unf (>= 0.0.5, < 1.0.0)
31
33
  faraday (2.7.1)
@@ -43,7 +45,7 @@ GEM
43
45
  prometheus-client (>= 2.1.0)
44
46
  fluent-plugin-record-modifier (2.1.0)
45
47
  fluentd (>= 1.0, < 2)
46
- fluent-plugin-splunk-hec (1.3.1)
48
+ fluent-plugin-splunk-hec (1.3.3)
47
49
  fluentd (>= 1.5)
48
50
  json-jwt (~> 1.15.0)
49
51
  multi_json (~> 1.13)
@@ -115,7 +117,7 @@ GEM
115
117
  webfinger (>= 1.0.1)
116
118
  prometheus-client (4.0.0)
117
119
  public_suffix (4.0.7)
118
- rack (3.0.1)
120
+ rack (3.0.8)
119
121
  rack-oauth2 (1.21.3)
120
122
  activesupport
121
123
  attr_required
@@ -164,10 +166,12 @@ PLATFORMS
164
166
 
165
167
  DEPENDENCIES
166
168
  bigdecimal (= 3.0.0)
169
+ cgi (~> 0.3.6)
170
+ date (~> 3.3.3)
167
171
  fluent-plugin-k8s-metrics-agg!
168
172
  fluent-plugin-prometheus (>= 2.0)
169
173
  fluent-plugin-record-modifier (= 2.1.0)
170
- fluent-plugin-splunk-hec (= 1.3.1)
174
+ fluent-plugin-splunk-hec (= 1.3.3)
171
175
  fluentd (>= 1.15)
172
176
  http_parser.rb (= 0.8.0)
173
177
  kubeclient (= 4.9.3)
@@ -176,4 +180,4 @@ DEPENDENCIES
176
180
  rack (>= 3.0.0)
177
181
 
178
182
  BUNDLED WITH
179
- 2.1.4
183
+ 2.3.11
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-k8s-metrics-agg
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Splunk Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-24 00:00:00.000000000 Z
11
+ date: 2023-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler