Kubernetes!
This commit is contained in:
parent
0ea172d6ad
commit
2e92761d11
4 changed files with 50 additions and 14 deletions
40
deployment.yaml
Normal file
40
deployment.yaml
Normal file
|
@ -0,0 +1,40 @@
|
|||
kind: Deployment
|
||||
apiVersion: apps/v1
|
||||
metadata:
|
||||
name: smgames-club
|
||||
namespace: smgames-club
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
k8s-app: smgames-club
|
||||
template:
|
||||
metadata:
|
||||
name: smgames-club
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
k8s-app: smgames-club
|
||||
spec:
|
||||
containers:
|
||||
- name: smgames-club
|
||||
image: git.smgames.club/mad-star-studio/hubsite:latest
|
||||
resources: {}
|
||||
terminationMessagePath: /dev/termination-log
|
||||
terminationMessagePolicy: File
|
||||
imagePullPolicy: Always
|
||||
securityContext:
|
||||
privileged: false
|
||||
restartPolicy: Always
|
||||
terminationGracePeriodSeconds: 30
|
||||
dnsPolicy: ClusterFirst
|
||||
securityContext: {}
|
||||
imagePullSecrets:
|
||||
- name: forgejo-access
|
||||
schedulerName: default-scheduler
|
||||
strategy:
|
||||
type: RollingUpdate
|
||||
rollingUpdate:
|
||||
maxUnavailable: 25%
|
||||
maxSurge: 25%
|
||||
revisionHistoryLimit: 10
|
||||
progressDeadlineSeconds: 600
|
Loading…
Add table
Add a link
Reference in a new issue