Skip to content
This repository has been archived by the owner on Jan 9, 2025. It is now read-only.

Commit

Permalink
update CI test manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
lostbean committed Sep 25, 2024
1 parent 426d68c commit 33a7e30
Showing 1 changed file with 22 additions and 18 deletions.
40 changes: 22 additions & 18 deletions ci/obd-demo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -159,24 +159,7 @@ spec:
protocol: TCP
appProtocol: HTTP
targetPort: 8080
---
apiVersion: v1
kind: Service
metadata:
name: frontend-external
annotations:
kardinal.dev.service/ingress: "true"
kardinal.dev.service/host: "prod.app.localhost"
spec:
type: LoadBalancer
selector:
app: frontend
ports:
- name: http
port: 80
targetPort: 8080
protocol: TCP
appProtocol: HTTP

---
apiVersion: apps/v1
kind: Deployment
Expand Down Expand Up @@ -328,3 +311,24 @@ spec:
targetPort: 8070
protocol: TCP
appProtocol: HTTP

---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
kubernetes.io/ingress.class: nginx
kardinal.dev.service/ingress: "true"
name: ingress
spec:
rules:
- host: prod.app.localhost
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: frontend
port:
number: 80

0 comments on commit 33a7e30

Please sign in to comment.