• EnglishEspañol日本語한국어Português
  • 로그인지금 시작하기

사용자의 편의를 위해 제공되는 기계 번역입니다.

In the event of any inconsistency between the English version and the translated version, the English versionwill take priority. Please visit this page for more information.

문제 신고

AWS Marketplace에서 EKS 추가 기능 설치

Amazon Elastic Kubernetes Service(Amazon EKS)는 AWS와 온프레미스 모두에서 Kubernetes를 쉽게 실행할 수 있게 해주는 관리형 Kubernetes 서비스입니다. Kubernetes는 컨테이너화된 애플리케이션의 배포, 확장 및 관리를 자동화하기 위한 오픈 소스 시스템입니다. 이 문서에서는 AWS Marketplace에서 EKS 애드온을 사용하는 데 필요한 단계를 안내합니다.

전제 조건

중요

이 추가 기능은 현재 x86 인스턴스 유형에서만 지원되며 ARM64도 곧 지원될 예정입니다.

AWS 콘솔을 통해 EKS 추가 기능 프로비저닝

  1. EKS Cluster > Add-Ons > Get More add-ons 으로 이동합니다.

  2. AWS Marketplace 추가 기능에서 뉴렐릭 Kubernetes 통합을 검색하거나 찾아보고 이동하여 확인란을 선택하고 Next을 클릭합니다.

  3. 최신 기본 버전을 선택하거나 필요한 경우 대체 버전을 선택하고 Next 클릭합니다.

  4. Create 을(를) 클릭합니다.

몇 분 내에 New Relic의 Kubernetes 운영자가 활성화되고 실행되기 시작합니다. EKS 클러스터에서 관측 가능성 데이터를 수집하고 New Relic으로 전송하려면 아래 구성 단계를 확인하세요.

AWS CLI를 통해 EKS 추가 기능 프로비저닝

EKS 클러스터 이름으로 --cluster-name 사용하여 다음 명령을 실행하여 NewRelic 추가 기능을 설치합니다.

bash
$
aws eks create-addon --cluster-name REPLACE_ME --addon-name new-relic_kubernetes-operator

다음과 유사한 출력이 표시됩니다.

bash
$
{
$
"addon": {
$
"addonName": "new-relic_kubernetes-operator",
$
"clusterName": "newrelic-test",
$
"status": "CREATING",
$
"addonVersion": "v0.1.8-eksbuild.1",
$
"health": {
$
"issues": []
$
},
$
"addonArn": "arn:aws:eks:ap-northeast-2:###############:addon/kubecon2023-127/new-relic_kubernetes-operator/6cc5e7b7-d8f1-5fa0-c668-2bc9727e16b3",
$
"createdAt": "2023-07-27T11:47:57.023000-07:00",
$
"modifiedAt": "2023-07-27T11:47:57.044000-07:00",
$
"tags": {}
$
}
$
}

Kubernetes 연산자 구성

CLI에서 kubectl get all -n newrelic 실행하여 Kubernetes 연산자가 작동하는지 확인할 수 있습니다. 측정항목 수집을 시작하고 New Relic으로 배송하려면 다음 샘플 사용자 정의 리소스 정의(CRD)를 사용하세요.

  1. EKS 클러스터 이름으로 spec.global.cluster , New Relic 라이선스 키로 spec.global.licensekey 사용하여 아래 정의를 사용하여 crd.yml 파일을 생성합니다.

    apiVersion: newrelic.com/v1alpha1
    kind: NRIBundle
    metadata:
    name: nribundle-sample
    spec:
    global:
    cluster: "<cluster>"
    licenseKey: "<licenseKey>"
    lowDataMode: true
    newrelic-infrastructure:
    enabled: true
    privileged: true
    kube-state-metrics:
    image:
    tag: "v2.10.0"
    enabled: true
    kubeEvents:
    enabled: true
    newrelic-prometheus-agent:
    enabled: true
    lowDataMode: true
    config:
    kubernetes:
    integrations_filter:
    enabled: false
  2. 원하는 구성을 업데이트한 후 다음 명령을 사용하여 솔루션을 업그레이드하십시오.

    kubectl apply -f crd.yml -n newrelic
Copyright © 2024 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.