Skip to content

Commit

Permalink
feat(jzero): add kubernetes.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
jaronnie committed Apr 11, 2024
1 parent 02e3b0a commit 1b396cd
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions kubernetes.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: jzerod
spec:
selector:
matchLabels:
app: jzerod
replicas: 1
template:
metadata:
labels:
app: jzerod
spec:
containers:
- name: jzerod
image: "jaronnie/jzero:latest"
ports:
- name: http
containerPort: 8001
- name: grpc
containerPort: 8000
---
apiVersion: v1
kind: Service
metadata:
name: jzerod
spec:
selector:
app: jzerod
ports:
- name: http
protocol: TCP
port: 8001
targetPort: 8001
- name: grpc
protocol: TCP
port: 8000
targetPort: 8000
type: NodePort

0 comments on commit 1b396cd

Please sign in to comment.