--- apiVersion: apps/v1 kind: Deployment metadata: name: workspaces-frontend-static namespace: workspaces labels: app: workspaces-frontend-static spec: progressDeadlineSeconds: 600 replicas: 1 revisionHistoryLimit: 10 selector: matchLabels: app: workspaces-frontend-static strategy: rollingUpdate: maxSurge: 25% maxUnavailable: 25% type: RollingUpdate template: metadata: labels: app: workspaces-frontend-static spec: containers: - image: cr.yandex/crp3ccidau046kdj8g9q/workspaces-frontend-static:severstal2 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 10 httpGet: path: /ping port: 8080 scheme: HTTP initialDelaySeconds: 10 periodSeconds: 60 successThreshold: 1 timeoutSeconds: 1 name: workspaces-frontend-static ports: - containerPort: 8080 name: http protocol: TCP readinessProbe: failureThreshold: 20 httpGet: path: /ping port: 8080 scheme: HTTP initialDelaySeconds: 10 periodSeconds: 30 successThreshold: 1 timeoutSeconds: 1 resources: {} terminationMessagePath: /dev/termination-log terminationMessagePolicy: File dnsPolicy: ClusterFirst imagePullSecrets: - name: dockerhub nodeSelector: name: generic restartPolicy: Always schedulerName: default-scheduler securityContext: {} terminationGracePeriodSeconds: 30 --- apiVersion: v1 kind: Service metadata: name: workspaces-frontend-static-service namespace: workspaces labels: app: workspaces-frontend-static spec: ports: - name: http port: 8080 protocol: TCP targetPort: 8080 selector: app: workspaces-frontend-static sessionAffinity: None type: ClusterIP