Skip to content
Snippets Groups Projects
Commit c8cd41b9 authored by vijay Shedge's avatar vijay Shedge
Browse files

k8s configs

parent 676440c2
Branches master
No related tags found
No related merge requests found
apiVersion: apps/v1
kind: Deployment
metadata:
name: myapp
spec:
selector:
matchLabels:
app: myapp
replicas: 2
template:
metadata:
labels:
app: myapp
spec:
containers:
- name: myapp
image: asia-south1-docker.pkg.dev/zippy-parity-410718/mytestrepo/mynodeimage
ports:
- containerPort: 3000
\ No newline at end of file
apiVersion: v1
kind: Service
metadata:
name: myapp
spec:
selector:
app: myapp
ports:
- protocol: TCP
port: 3000
type: LoadBalancer
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment