Finalised demo.

This commit is contained in:
2023-02-22 09:34:09 +13:00
parent 5a8a466098
commit 635c304dcb
5 changed files with 243 additions and 17 deletions

View File

@ -0,0 +1,40 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: payment-processor
name: payment-processor
spec:
replicas: 3
selector:
matchLabels:
app: payment-processor
template:
metadata:
labels:
app: payment-processor
spec:
containers:
- name: payment-processor
image: quay.io/skupper/patient-portal-payment-processor
ports:
- containerPort: 8080
---
apiVersion: v1
kind: Service
metadata:
labels:
app: payment-processor
name: payment-processor
namespace: demo-onprem
spec:
ports:
- port: 8080
protocol: TCP
targetPort: 8080
selector:
app: payment-processor
sessionAffinity: None
type: ClusterIP