apiVersion: apps/v1 kind: Deployment metadata: name: make-space labels: app.kubernetes.io/component: app spec: replicas: 0 strategy: type: RollingUpdate rollingUpdate: maxUnavailable: 0 maxSurge: 1 selector: matchLabels: app.kubernetes.io/name: make-space app.kubernetes.io/component: app template: metadata: labels: app.kubernetes.io/name: make-space app.kubernetes.io/component: app spec: serviceAccountName: make-space automountServiceAccountToken: false nodeSelector: kubernetes.io/arch: arm64 imagePullSecrets: - name: harbor-registry terminationGracePeriodSeconds: 60 securityContext: runAsNonRoot: true runAsUser: 65532 runAsGroup: 65532 fsGroup: 65532 seccompProfile: type: RuntimeDefault containers: - name: app image: registry.dahyeon.us/dahyeon/make-space imagePullPolicy: IfNotPresent securityContext: allowPrivilegeEscalation: false readOnlyRootFilesystem: true capabilities: drop: - ALL envFrom: - configMapRef: name: make-space-config - secretRef: name: make-space-secrets ports: - name: http containerPort: 3000 protocol: TCP startupProbe: httpGet: path: /health/live port: http periodSeconds: 5 failureThreshold: 24 livenessProbe: httpGet: path: /health/live port: http periodSeconds: 15 timeoutSeconds: 3 readinessProbe: httpGet: path: /health/live port: http periodSeconds: 10 timeoutSeconds: 3 resources: requests: cpu: 100m memory: 256Mi limits: cpu: "2" memory: 1Gi