mirror of https://github.com/sgoudham/k8s
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
40 lines
794 B
YAML
2 years ago
|
apiVersion: apps/v1
|
||
|
kind: Deployment
|
||
|
metadata:
|
||
|
labels:
|
||
|
app: website
|
||
|
name: website
|
||
|
namespace: website
|
||
1 year ago
|
annotations:
|
||
|
keel.sh/policy: major
|
||
|
keel.sh/trigger: poll
|
||
2 years ago
|
spec:
|
||
|
replicas: 1
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
app: website
|
||
|
strategy:
|
||
|
rollingUpdate:
|
||
|
maxSurge: 25%
|
||
|
maxUnavailable: 25%
|
||
|
type: RollingUpdate
|
||
|
template:
|
||
|
metadata:
|
||
|
labels:
|
||
|
app: website
|
||
|
spec:
|
||
|
containers:
|
||
1 year ago
|
- image: sgoudham/website:1.0.1
|
||
|
imagePullPolicy: IfNotPresent
|
||
|
name: website
|
||
|
ports:
|
||
|
- containerPort: 3000
|
||
|
protocol: TCP
|
||
|
livenessProbe:
|
||
|
httpGet:
|
||
|
path: /
|
||
|
port: 3000
|
||
|
resources: {}
|
||
2 years ago
|
dnsPolicy: ClusterFirst
|
||
1 year ago
|
restartPolicy: Always
|