deployment.yml
413 Bytes
apiVersion: apps/v1
kind: Deployment
metadata:
name: frontend
labels:
app: frontend
tier: frontend
spec:
selector:
matchLabels:
app: frontend
replicas: 1
template:
metadata:
labels:
app: frontend
spec:
containers:
- name: frontend
image: khujay15/next-docker-test
ports:
- containerPort: 3000
name: frontend