Skip to content

Commit b65a5c2

Browse files
authored
[NEW][netdata][1.0.1]new app netdata (#621)
auto merge
1 parent 2caba3c commit b65a5c2

9 files changed

+315
-0
lines changed

netdata/.helmignore

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Patterns to ignore when building packages.
2+
# This supports shell glob matching, relative path matching, and
3+
# negation (prefixed with !). Only one pattern per line.
4+
.DS_Store
5+
# Common VCS dirs
6+
.git/
7+
.gitignore
8+
.bzr/
9+
.bzrignore
10+
.hg/
11+
.hgignore
12+
.svn/
13+
# Common backup files
14+
*.swp
15+
*.bak
16+
*.tmp
17+
*.orig
18+
*~
19+
# Various IDEs
20+
.project
21+
.idea/
22+
*.tmproj
23+
.vscode/

netdata/Chart.yaml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
apiVersion: v2
2+
name: netdata
3+
description: "Open Source Apps To Grow Your Business."
4+
5+
# A chart can be either an 'application' or a 'library' chart.
6+
#
7+
# Application charts are a collection of templates that can be packaged into versioned archives
8+
# to be deployed.
9+
#
10+
# Library charts provide useful utilities or functions for the chart developer. They're included as
11+
# a dependency of application charts to inject those utilities and functions into the rendering
12+
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
13+
type: application
14+
15+
# This is the chart version. This version number should be incremented each time you make changes
16+
# to the chart and its templates, including the app version.
17+
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18+
version: '1.0.1'
19+
20+
# This is the version number of the application being deployed. This version number should be
21+
# incremented each time you make changes to the application. Versions are not expected to
22+
# follow Semantic Versioning. They should reflect the version the application is using.
23+
# It is recommended to use it with quotes.
24+
appVersion: "v2.2.6"

netdata/OlaresManifest.yaml

+92
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
olaresManifest.version: '0.8.1'
2+
olaresManifest.type: app
3+
metadata:
4+
name: netdata
5+
description: 'High-performance, open-source observability platform'
6+
icon: https://file.bttcdn.com/appstore/netdata/icon.png
7+
appid: netdata
8+
version: '1.0.1'
9+
title: Netdata
10+
categories:
11+
- Productivity
12+
permission:
13+
appData: true
14+
appCache: true
15+
userData:
16+
- Home
17+
spec:
18+
versionName: '2.2.6'
19+
fullDescription: |
20+
Netdata is a high-performance, open-source observability platform designed for real-time monitoring of modern infrastructures. It delivers per-second insights into your systems, containers, and applications, empowering you with immediate visibility for troubleshooting, capacity planning, and performance optimization.
21+
22+
Key Features:
23+
24+
Real-Time
25+
Per-second data collection and real-time processing provides immediate visibility into your infrastructure's behavior.
26+
27+
Zero-Configuration
28+
Start monitoring in minutes with automatic detection and discovery, fully automated dashboards, and hundreds of pre-configured alerts.
29+
30+
ML-Powered
31+
Unsupervised anomaly detection and pattern recognition for all metrics, providing advanced correlations and instant root cause analysis.
32+
33+
Long-Term Retention
34+
High-performance and efficient tiered storage for years of retention and fast query responses.
35+
36+
Advanced Visualization
37+
Rich, interactive low-latency dashboards for deep system and applications insights and rapid troubleshooting.
38+
39+
Extreme Scalability
40+
Native horizontal scalability, while maintaining performance and ease of use.
41+
42+
Complete End-to-End Visibility
43+
From infrastructure to applications, logs to metrics, hardware to databases, all in one solution.
44+
45+
Edge-Based
46+
All processing and storage of your data, at your premises, as close to the edge as possible.
47+
48+
developer: Netdata
49+
website: https://www.netdata.cloud/
50+
sourceCode: https://github.com/netdata/netdata
51+
submitter: Olares
52+
doc: https://learn.netdata.cloud/
53+
license:
54+
- text: GPL-3.0
55+
url: https://github.com/netdata/netdata?tab=GPL-3.0-1-ov-file
56+
locale:
57+
- en-US
58+
requiredMemory: 512Mi
59+
limitedMemory: 3Gi
60+
requiredDisk: 1Gi
61+
limitedDisk: 10Gi
62+
requiredCpu: 0.5
63+
limitedCpu: 3
64+
supportArch:
65+
- amd64
66+
- arm64
67+
options:
68+
allowedOutboundPorts:
69+
- 465
70+
- 587
71+
dependencies:
72+
- name: olares
73+
type: system
74+
version: '>=1.10.1-0'
75+
policies:
76+
- uriRegex: ^/(auth)(/.*)?(\?.*)?$
77+
level: system
78+
oneTime: false
79+
validDuration: 3600s
80+
entranceName: netdata
81+
entrances:
82+
- name: netdata
83+
port: 19999
84+
host: netdata
85+
title: netdata
86+
icon: https://file.bttcdn.com/appstore/netdata/icon.png
87+
openMethod: window
88+
middleware:
89+
postgres:
90+
username: netdata
91+
databases:
92+
- name: netdata
+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
metadata:
2+
title: Netdata
3+
description: "High-performance, open-source observability platform"
4+
spec:
5+
fullDescription: |
6+
Netdata is a high-performance, open-source observability platform designed for real-time monitoring of modern infrastructures. It delivers per-second insights into your systems, containers, and applications, empowering you with immediate visibility for troubleshooting, capacity planning, and performance optimization.
7+
8+
Key Features:
9+
10+
Real-Time
11+
Per-second data collection and real-time processing provides immediate visibility into your infrastructure's behavior.
12+
13+
Zero-Configuration
14+
Start monitoring in minutes with automatic detection and discovery, fully automated dashboards, and hundreds of pre-configured alerts.
15+
16+
ML-Powered
17+
Unsupervised anomaly detection and pattern recognition for all metrics, providing advanced correlations and instant root cause analysis.
18+
19+
Long-Term Retention
20+
High-performance and efficient tiered storage for years of retention and fast query responses.
21+
22+
Advanced Visualization
23+
Rich, interactive low-latency dashboards for deep system and applications insights and rapid troubleshooting.
24+
25+
Extreme Scalability
26+
Native horizontal scalability, while maintaining performance and ease of use.
27+
28+
Complete End-to-End Visibility
29+
From infrastructure to applications, logs to metrics, hardware to databases, all in one solution.
30+
31+
Edge-Based
32+
All processing and storage of your data, at your premises, as close to the edge as possible.
+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
metadata:
2+
title: Netdata
3+
description: '高性能开源可观测性平台'
4+
spec:
5+
fullDescription: |
6+
Netdata 是一个高性能开源可观测性平台,旨在实时监控现代基础设施。它提供对您的系统、容器和应用程序的每秒洞察,使您能够立即了解故障排除、容量规划和性能优化。
7+
8+
主要特点
9+
实时:每秒数据收集和实时处理可让您立即了解基础设施的行为。
10+
11+
零配置:通过自动检测和发现、全自动仪表板和数百个预配置警报,在几分钟内开始监控。
12+
13+
ML 驱动:针对所有指标的无监督异常检测和模式识别,提供高级关联和即时根本原因分析。
14+
15+
长期保留:高性能和高效的分层存储,可保留多年并快速响应查询。
16+
17+
高级可视化:丰富、交互式的低延迟仪表板,提供深入的系统和应用程序洞察和快速故障排除。
18+
19+
极高的可扩展性:本机水平可扩展性,同时保持性能和易用性。
20+
21+
完整的端到端可视性:从基础设施到应用程序、从日志到指标、从硬件到数据库,一站式解决方案。
22+
23+
基于边缘:所有数据的处理和存储都尽可能在您的场所进行,尽可能靠近边缘。

netdata/owners

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
owners:
2+
- 'LittleLollipop'
3+
- 'TShentu'
4+
- 'pengpeng'
5+
- 'harveyff'
6+
- 'zdf-org'

netdata/templates/configmap.yaml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# netdata-smtp-configmap.yaml
2+
apiVersion: v1
3+
kind: ConfigMap
4+
metadata:
5+
name: netdata-smtp-config
6+
namespace: {{ .Release.Namespace }}
7+
data:
8+
msmtprc: |
9+
defaults
10+
auth on
11+
tls off
12+
logfile /var/log/msmtp.log
13+
14+
account netdata
15+
host smtp.qq.com
16+
port 465
17+
18+
19+
password YOUR_SMTP_PASSWORD_PLACEHOLDER
20+
21+
account default : netdata

netdata/templates/netdata.yaml

+84
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
---
2+
apiVersion: apps/v1
3+
kind: Deployment
4+
metadata:
5+
name: {{ .Release.Name }}
6+
namespace: {{ .Release.Namespace }}
7+
labels:
8+
app: netdata
9+
spec:
10+
replicas: 1
11+
selector:
12+
matchLabels:
13+
app: netdata
14+
template:
15+
metadata:
16+
labels:
17+
app: netdata
18+
spec:
19+
containers:
20+
- name: netdata
21+
image: docker.io/netdata/netdata:v2.2.6
22+
env:
23+
- name: PGID
24+
value: "1000"
25+
- name: PUID
26+
value: "1000"
27+
- name: TZ
28+
value: Etc/UTC
29+
- name: DISPLAY
30+
value: ":0"
31+
resources:
32+
requests:
33+
cpu: 500m
34+
memory: 500Mi
35+
limits:
36+
cpu: 1000m
37+
memory: 1Gi
38+
ports:
39+
- name: http
40+
containerPort: 19999
41+
protocol: TCP
42+
volumeMounts:
43+
- mountPath: /host/proc
44+
name: proc-data
45+
readOnly: true
46+
- mountPath: /host/sys
47+
name: sys-data
48+
readOnly: true
49+
- name: smtp-config
50+
mountPath: /etc/msmtprc
51+
subPath: msmtprc
52+
securityContext:
53+
privileged: true
54+
volumes:
55+
- name: proc-data
56+
hostPath:
57+
type: DirectoryOrCreate
58+
path: "{{ .Values.userspace.appData }}/netdata/proc"
59+
- name: sys-data
60+
hostPath:
61+
type: DirectoryOrCreate
62+
path: "{{ .Values.userspace.appData }}/netdata/sys"
63+
- name: smtp-config
64+
configMap:
65+
name: netdata-smtp-config
66+
items:
67+
- key: msmtprc
68+
path: msmtprc
69+
---
70+
apiVersion: v1
71+
kind: Service
72+
metadata:
73+
name: netdata
74+
namespace: {{ .Release.Namespace }}
75+
labels:
76+
io.kompose.service: netdata
77+
spec:
78+
ports:
79+
- name: http
80+
port: 19999
81+
targetPort: 19999
82+
protocol: TCP
83+
selector:
84+
app: netdata

netdata/values.yaml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
image:
2+
version: 'v2.2.6'
3+
4+
userspace:
5+
appdata: ""
6+
7+
postgres:
8+
host: local
9+
port: 5432
10+
password: default

0 commit comments

Comments
 (0)