This commit is contained in:
parent
9245c6c3d4
commit
9b3dacbdf8
2 changed files with 42 additions and 0 deletions
1
fleet.yaml
Normal file
1
fleet.yaml
Normal file
|
@ -0,0 +1 @@
|
||||||
|
namespace: nya-site
|
41
manifests/workload.yaml
Normal file
41
manifests/workload.yaml
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: nya
|
||||||
|
namespace: nya
|
||||||
|
spec:
|
||||||
|
progressDeadlineSeconds: 600
|
||||||
|
replicas: 1
|
||||||
|
revisionHistoryLimit: 10
|
||||||
|
strategy:
|
||||||
|
rollingUpdate:
|
||||||
|
maxSurge: 25%
|
||||||
|
maxUnavailable: 25%
|
||||||
|
type: RollingUpdate
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
creationTimestamp: null
|
||||||
|
namespace: nya
|
||||||
|
spec:
|
||||||
|
affinity: {}
|
||||||
|
containers:
|
||||||
|
- image: git.smgames.club/sevenofaces/personal-site:latest
|
||||||
|
imagePullPolicy: Always
|
||||||
|
name: nya
|
||||||
|
ports:
|
||||||
|
- containerPort: 80
|
||||||
|
name: http
|
||||||
|
protocol: TCP
|
||||||
|
resources: {}
|
||||||
|
securityContext:
|
||||||
|
allowPrivilegeEscalation: false
|
||||||
|
privileged: false
|
||||||
|
readOnlyRootFilesystem: false
|
||||||
|
runAsNonRoot: false
|
||||||
|
terminationMessagePath: /dev/termination-log
|
||||||
|
terminationMessagePolicy: File
|
||||||
|
dnsPolicy: ClusterFirst
|
||||||
|
restartPolicy: Always
|
||||||
|
schedulerName: default-scheduler
|
||||||
|
securityContext: {}
|
||||||
|
terminationGracePeriodSeconds: 30
|
Loading…
Add table
Reference in a new issue