Skip to content

Commit

Permalink
Adding Backend file for Shiksha
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhilashKD committed May 31, 2024
1 parent 879d470 commit 3d1d48e
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions manifest/backend.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: /snap/kompose/19/kompose-linux-amd64 convert -f shiksha.yaml
kompose.version: 1.21.0 (992df58d8)
creationTimestamp: null
labels:
io.kompose.service: backend
name: backend
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: backend
strategy: {}
template:
metadata:
annotations:
kompose.cmd: /snap/kompose/19/kompose-linux-amd64 convert -f shiksha.yaml
kompose.version: 1.21.0 (992df58d8)
creationTimestamp: null
labels:
io.kompose.service: backend
spec:
containers:
- image: dubea/pratham-backend:latest
imagePullPolicy: ""
name: backend-pratham
ports:
- containerPort: 3000
resources: {}
restartPolicy: Always
serviceAccountName: ""
volumes: null
status: {}

---
apiVersion: v1
kind: Service
metadata:
annotations:
kompose.cmd: /snap/kompose/19/kompose-linux-amd64 convert -f backend.yaml
kompose.version: 1.21.0 (992df58d8)
labels:
io.kompose.service: backend
name: backend
spec:
type: NodePort
ports:
- port: 31265
targetPort: 3000
nodePort: 31265
selector:
io.kompose.service: backend

0 comments on commit 3d1d48e

Please sign in to comment.