bullish/k8s/app/frontend.yaml
Ameya Shenoy b2f76391db
feat: working prod deploy with duplicate code
Signed-off-by: Ameya Shenoy <shenoy.ameya@gmail.com>
2021-02-12 03:26:27 +05:30

43 lines
661 B
YAML

---
apiVersion: apps/v1
kind: Deployment
metadata:
name: bullish-frontend
spec:
selector:
matchLabels:
app: bullish-frontend
replicas: 1
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 0
maxSurge: 1
template:
metadata:
labels:
app: bullish-frontend
spec:
containers:
- name: bullish-frontend
image: codingcoffee/bullish-frontend
---
apiVersion: v1
kind: Service
metadata:
name: bullish-frontend
labels:
app: bullish-frontend
spec:
type: ClusterIP
selector:
app: bullish-frontend
ports:
- port: 80
targetPort: 80
protocol: TCP
...