Dell NativeEdge: Blueprint 배포의 성능 문제
Summary: 청사진 배포가 예상보다 오래 걸리고 Fluent Bit 포드에서 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
이 문제의 근본 원인은 리소스 제한이 제대로 설정되지 않은것을 포함하여 Fluent Bit 포드의 CPU 사용률입니다.
Resolution
리소스 가용성 및 부하에 따라 CPU 제한을 최적화할 수 있습니다. Daemonset Fluent 비트에서 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" >> 은 env로드 및 리소스 할당에 따라 숫자로 변경합니다.
참고: - 위의 변경에는 약간의 시간이 걸리며 Fluent Bit Pod를 다시 만듭니다.
다음을 실행하여 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.