deployment for docs
This commit is contained in:
parent
4ee40cdcc1
commit
ed5ee7badc
5 changed files with 113 additions and 1 deletions
45
docs/deployment/deployment.yaml
Normal file
45
docs/deployment/deployment.yaml
Normal file
|
@ -0,0 +1,45 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: docs
|
||||
name: docs
|
||||
spec:
|
||||
replicas: 1
|
||||
revisionHistoryLimit: 2
|
||||
selector:
|
||||
matchLabels:
|
||||
app: docs
|
||||
strategy:
|
||||
type: RollingUpdate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: docs
|
||||
spec:
|
||||
containers:
|
||||
- name: docs
|
||||
image: servala-2nkgm.app.codey.ch/servala/servala-portal-docs:latest
|
||||
imagePullPolicy: Always
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /index.html
|
||||
port: 8080
|
||||
periodSeconds: 60
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /index.html
|
||||
port: 8080
|
||||
periodSeconds: 60
|
||||
initialDelaySeconds: 5
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 8080
|
||||
protocol: TCP
|
||||
resources:
|
||||
limits:
|
||||
cpu: 500m
|
||||
memory: 512Mi
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 32Mi
|
Loading…
Add table
Add a link
Reference in a new issue