Skip to content

참고자료

KumKeeHyun edited this page Oct 5, 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
    • kubectl -n perisco-system port-forward --address=0.0.0.0 svc/perisco-grafana 8001:3000
  • elasticsearch
    • kubectl -n perisco-system port-forward --address=0.0.0.0 svc/elasticsearch-master 8002:9200

GKE

  • 세팅
    • 스탠다드 클러스터로 생성해야 함
    • 위치 asia-northeast1-a
    • 노드 풀 -> 노드 -> 노드 이미지 containerd를 포함한 ubuntu
    • elasticsearch volumeClaime storageclass=standard 설정해야함
    • elasticsearch resources request 조금 낮춰야 함
    • helm chart values.yaml -> perisco.config.cidrs 수정해야함
# gke ingress
# webapp targetPort: 7000 추가해야함
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: booksapp-ingress
spec:
  rules:
  - http:
      paths:
      - path: /*
        pathType: ImplementationSpecific
        backend:
          service:
            name: webapp
            port:
              number: 7000
Clone this wiki locally