You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
794 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: website
name: website
namespace: website
annotations:
keel.sh/policy: major
keel.sh/trigger: poll
spec:
replicas: 1
selector:
matchLabels:
app: website
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
labels:
app: website
spec:
containers:
- image: sgoudham/website:1.0.1
imagePullPolicy: IfNotPresent
name: website
ports:
- containerPort: 3000
protocol: TCP
livenessProbe:
httpGet:
path: /
port: 3000
resources: {}
dnsPolicy: ClusterFirst
restartPolicy: Always