Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
sansae@win10pro-worksp:/workspaces$ kubectl create ns monitor-efk

03-02. StorageClass 확인

Code Block
sansae@win10pro-worksp:/workspaces$ kubectl get sc
NAME                PROVISIONER                RECLAIMPOLICY   VOLUMEBINDINGMODE      ALLOWVOLUMEEXPANSION   AGE
azurefile           kubernetes.io/azure-file   Delete          Immediate              true                   63d
azurefile-premium   kubernetes.io/azure-file   Delete          Immediate              true                   63d
default (default)   kubernetes.io/azure-disk   Delete          Immediate              true                   63d
managed             kubernetes.io/azure-disk   Delete          WaitForFirstConsumer   true                   28d
managed-premium     kubernetes.io/azure-disk   Delete          Immediate              true                   63d

03-03. Elasticsearch

Code Block
sansae@win10pro-worksp:/workspaces$ git clone
sansae@win10pro-worksp:/workspaces$ mv helm-charts elastic
sansae@win10pro-worksp:/workspaces$ cd elastic
sansae@win10pro-worksp:/workspaces/elastic$ 
sansae@win10pro-worksp:/workspaces/elastic$ vi elasticsearch/values.yaml
=========================================================
image: "docker.elastic.co/elasticsearch/elasticsearch"
imageTag: "7.12.0"
imagePullPolicy: "IfNotPresent"
----------------------------------------
volumeClaimTemplate:
  storageClassName: azurefilemanaged-premium
  accessModes: [ "ReadWriteOnce" ]
  resources:
    requests:
      storage: 30Gi
=========================================================
sansae@win10pro-worksp:/workspaces/elastic$ helm install elasticsearch/ --generate-name -n monitor-efk
NAME: elasticsearch-1617184828
LAST DEPLOYED: Wed Mar 31 19:00:30 2021
NAMESPACE: monitor-efk
STATUS: deployed
REVISION: 1
NOTES:
1. Watch all cluster members come up.
  $ kubectl get pods --namespace=monitor-efk -l app=elasticsearch-master -w
2. Test cluster health using Helm test.
  $ helm --namespace=monitor-efk test elasticsearch-1617184828

...