Skip to content

Commit

Permalink
FEAT
Browse files Browse the repository at this point in the history
ingress yaml
  • Loading branch information
MJun111 committed Jan 29, 2024
1 parent 4329217 commit 8a58eec
Show file tree
Hide file tree
Showing 3 changed files with 96 additions and 2 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
env.yaml
**docker-compose.yml
**ingress.yaml
apply_script.sh
delete_script.sh
2 changes: 1 addition & 1 deletion eks-oneclick-jtg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ Parameters:
WorkerNodeCount:
Description: Worker Node Counts
Type: String
Default: 5
Default: 6
WorkerNodeVolumesize:
Description: Worker Node Volumes size
Type: String
Expand Down
95 changes: 95 additions & 0 deletions ingress_alb/ingress.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: ingress-alb
namespace: prod
annotations:
kubernetes.io/ingress.class: alb
alb.ingress.kubernetes.io/scheme: internet-facing
alb.ingress.kubernetes.io/target-type: ip
alb.ingress.kubernetes.io/load-balancer-name: jeontongju-alb
alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80},{"HTTPS":443}]'
alb.ingress.kubernetes.io/certificate-arn: ${CRETARN}
alb.ingress.kubernetes.io/ssl-redirect: "443"
spec:
rules:
- host: api.jeontongju.shop
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: api-gateway-service
port:
number: 8000
- host: discovery.jeontongju.shop
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: discovery-service
port:
number: 8761
- host: prometheus.jeontongju.shop
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: prometheus-operated
port:
number: 9090
- host: grafana.jeontongju.shop
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: kube-prometheus-stack-grafana
port:
number: 80
- host: zipkin.jeontongju.shop
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: zipkin-service
port:
number: 9411
- host: config.jeontongju.shop
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: config-service
port:
number: 8888
- host: opsview.jeontongju.shop
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: kube-ops-view
port:
number: 8080
- host: kafdrop.jeontongju.shop
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: kafdrop
port:
number: 9000

0 comments on commit 8a58eec

Please sign in to comment.