Skip to content

Commit

Permalink
k8s fe manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
ausbennett committed Nov 12, 2023
1 parent 9829f9e commit e7acbec
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
21 changes: 21 additions & 0 deletions cloud-infra/k8s/frontend-deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: frontend-deployment
labels:
app: frontend
spec:
replicas: 1
selector:
matchLabels:
app: frontend
template:
metadata:
labels:
app: frontend
spec:
containers:
- name: frontend
image: us-central1-docker.pkg.dev/automateml/frontend-docker-image/frontend:latest
ports:
- containerPort: 3000
12 changes: 12 additions & 0 deletions cloud-infra/k8s/frontend-service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: v1
kind: Service
metadata:
name: frontend-service
spec:
selector:
app: frontend
ports:
- protocol: TCP
port: 80
targetPort: 3000
type: LoadBalancer

0 comments on commit e7acbec

Please sign in to comment.