Dell NativeEdge: ブループリント導入のパフォーマンスの問題
Summary: ブループリントの導入に予想以上の時間がかかり、Fluent Bit PodでCPU使用率が高くなり、パフォーマンスの問題が発生する。この記事では、パフォーマンスを調整または問題を回避して、全体的なブループリントの処理時間を増加させる方法について説明します。
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
ブループリントのデプロイ中、Fluent Bit ポッドの CPU 使用率が高くなり、定義された CPU 制限に近づきます。このように使用率が高くなると、ブループリントのデプロイ プロセス全体の速度が低下する可能性があります。
kubectl top po -A --containers | grep fluent
NAMESPACE POD NAME CONTAINER NAME CPU (cores) MEMORY (bytes)
hzp fluentbit-btz2g fluentbit 999m 43Mi
CPU Usage: 999m means the container is using 999 millicores, which is nearly 1 full CPU core
メモ:kubectl topコマンドを実行するには、メトリック サーバーをインストールする必要があります。
Cause
この問題の根本的な原因は、リソース制限を含む流暢なビット ポッドのCPU使用率が正しく 設定されていないことです。
Resolution
CPU 制限は、リソースの可用性と負荷に応じて最適化できます。Daemonsetの流暢なビットでCPU制限を増やします。Fluent bit pod は Deamon set によって制御されるため、Pod を直接編集することはできず、fluent bit Daemonset の CPU 制限値を変更する必要があります。
kubectl edit daemonset fluentbit -n hzp
spec:
containers:
- env:
- name: AWS_ACCESS_KEY_ID
valueFrom:
secretKeyRef:
key: AWS_ACCESS_KEY_ID
name: eo-management-seaweedfs-s3-secret
- name: AWS_SECRET_ACCESS_KEY
valueFrom:
secretKeyRef:
key: AWS_SECRET_ACCESS_KEY
name: eo-management-seaweedfs-s3-secret
- name: K8S_NODE_NAME
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: spec.nodeName
- name: FLUENT_FOWARD_HOST
value: localhost
- name: FLUENT_FOWARD_PORT
value: "80"
image: harbor-dell.default.svc.cluster.local/renbaobabga/fluent/fluent-bit:3.2.6
imagePullPolicy: IfNotPresent
name: fluentbit
ports:
- containerPort: 8080
protocol: TCP
resources:
limits:
cpu: "1" >> change it to number depends on your env load and resource allocation
CPU:「1」 >> 数値に変更するかは、環境負荷とリソース割り当てによって異なります。
メモ: - 上記の変更には時間がかかり、流暢なビットポッドが再作成されます。
次のコマンドを実行して、CPU制限の変更を確認します
kubectl describe po fluentbit-btz2g -n hzp
次のコマンドを実行してCPU使用率を確認します。
kubectl top po -A --containers | grep fluent
Affected Products
NativeEdge Solutions, NativeEdgeArticle Properties
Article Number: 000329136
Article Type: Solution
Last Modified: 10 Jun 2025
Version: 1
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.