From 9b3dacbdf855370a56a8ce2f937bc4ec96e7d217 Mon Sep 17 00:00:00 2001 From: Seven Of Aces Date: Sat, 25 Jan 2025 20:07:42 -0800 Subject: [PATCH] . --- fleet.yaml | 1 + manifests/workload.yaml | 41 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 fleet.yaml create mode 100644 manifests/workload.yaml diff --git a/fleet.yaml b/fleet.yaml new file mode 100644 index 0000000..88c1df5 --- /dev/null +++ b/fleet.yaml @@ -0,0 +1 @@ +namespace: nya-site \ No newline at end of file diff --git a/manifests/workload.yaml b/manifests/workload.yaml new file mode 100644 index 0000000..92c436f --- /dev/null +++ b/manifests/workload.yaml @@ -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 \ No newline at end of file