사내 ALB 설정은 아래와 같다.
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
kubernetes.io/ingress.class: alb
alb.ingress.kubernetes.io/scheme: internet-facing
alb.ingress.kubernetes.io/healthcheck-path: /
alb.ingress.kubernetes.io/target-type: ip
alb.ingress.kubernetes.io/healthcheck-protocol: HTTP
alb.ingress.kubernetes.io/subnets: subnet-041a058cf4f06363c, subnet-06c5935aee30890a9
alb.ingress.kubernetes.io/listen-ports: '[{"HTTP":80}]'
name: devops-argocd-alb-ingress
namespace: argocd # 설치할 네임스페이스
spec:
rules:
- http:
paths:
- backend:
service:
name: argocd-server
port:
number: 80
path: /*
pathType: ImplementationSpecific