Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions k8s/graphql-deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
apiVersion: v1
kind: Service
metadata:
name: contact-tracing-graphql
namespace: contact-tracing
labels:
app: graphql
spec:
ports:
- name: "api"
port: 8080
targetPort: 8080
selector:
app: graphql
type: NodePort

---

apiVersion: apps/v1
kind: Deployment
metadata:
name: contact-tracing-graphql
namespace: contact-tracing
labels:
app: graphql
spec:
replicas: 1
selector:
matchLabels:
app: graphql
template:
metadata:
labels:
app: graphql
spec:
containers:
- image: <IMAGE>
name: graphql
ports:
- containerPort: 8080