Skip to content

Commit

Permalink
Merge pull request #2237 from sgayangi/sample-backend
Browse files Browse the repository at this point in the history
Add sample backend to add to apk-docs
  • Loading branch information
CrowleyRajapakse authored Apr 2, 2024
2 parents aa55725 + fbfaaf0 commit 0d15b10
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions developer/tryout/samples/qsg-sample-backend.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
apiVersion: v1
kind: Service
metadata:
name: employee-service
spec:
type: ClusterIP
ports:
- port: 80
targetPort: 80
selector:
app: employee-app
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: employee-service-deployment
spec:
replicas: 1
selector:
matchLabels:
app: employee-app
template:
metadata:
labels:
app: employee-app
spec:
containers:
- name: employee-service-container
image: sega1234/json-server-service:latest
ports:
- containerPort: 80

0 comments on commit 0d15b10

Please sign in to comment.