Skip to content

참고자료

KumKeeHyun edited this page Sep 23, 2023 · 16 revisions

Helm

helm install perisco . --create-namespace -n perisco-system
helm upgrade perisco . -n perisco-system
helm uninstall perisco -n perisco-system

api server proxy

$ kubectl proxy --address='0.0.0.0' --disable-filter=true
  • dashboard
    • 'kubectl -n kubernetes-dashboard port-forward --address=0.0.0.0 svc/kubernetes-dashboard 8001:80'
  • webapp
    • /api/v1/namespaces/default/services/http:webapp:service/proxy/
  • grafana
    • /api/v1/namespaces/perisco-system/services/http:perisco-grafana:service/proxy/

GKE

image image
  • 세팅
    • 스탠다드 클러스터로 생성해야 함
    • 위치 asia-northeast1-a
    • 노드 풀 -> 노드 -> 노드 이미지 containerd를 포함한 ubuntu
    • elasticsearch volumeClaime storageclass=standard 설정해야함
    • elasticsearch resources request 조금 낮춰야 함
perisco:
  image:
    repository: kbzjung359/perisco
    tag: 0.0.1
    pullPolicy: Always

  config:
    cidrs: 10.0.0.0/8
    protocols: HTTP/1
  
  exporter:
    name: elasticsearch
    elasticsearch:
      addresses: http://elasticsearch-master:9200

  resources:
    requests:
      memory: "512Mi"
      cpu: "150m"
    limits:
      memory: "2048Mi"

elasticsearch:
  enabled: true

  replicas: 1
  minimumMasterNodes: 1
  
  volumeClaimTemplate:
    accessModes:
      - ReadWriteOnce
    storageClassName: standard
    resources:
      requests:
        storage: 1Gi

  resources:
    requests:
      cpu: "300m"
      memory: "1Gi"
    limits:
      cpu: "500m"
      memory: "2Gi"
Clone this wiki locally