meta.helm.sh/release-name: stage
meta.helm.sh/release-namespace: stage
creationTimestamp: "2021-05-03T08:09:58Z"
generation: 1
labels:
app: kuku
app.kubernetes.io/managed-by: Helm
chart: kuku-0.1.0
customer: kuku
release: stage
type: kuku
name: kuku
namespace: stage
resourceVersion: "231196908"
selfLink: /apis/apps/v1/namespaces/stage/deployments/kuku-kuku
uid: 98ab52f6-08bd-4b0d-867a-9c06e1a2346e
spec:
progressDeadlineSeconds: 600
replicas: 1
revisionHistoryLimit: 5
selector:
matchLabels:
app: kuku-kuku
name: kuku-kuku
release: stage
service: kuku-kuku
strategy:
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
type: RollingUpdate
template:
metadata:
creationTimestamp: null
labels:
app: kuku-kuku
name: kuku-kuku
release: stage
service: kuku-kuku
spec:
containers:
- env:
- name: ENV
value: stage
- name: NAME
value: gilad176
- name: MINER_DNS
value: kuku.com
- name: MINER_PORT
value: "31819"
- name: BACKOFFICE_DNS
- name: BACKOFFICE_PORT
- name: APP_TYPE
- name: START_FROM_BLOCK
- name: LBS_DNS
value: kuku-lbs.stage.kuku.com
image: 000000000.dkr.ecr.eu-west-1.amazonaws.com/wkuku:kuku-176
imagePullPolicy: Always
livenessProbe:
failureThreshold: 3
httpGet:
path: /?healthpw_tok_2644
port: 8082
scheme: HTTP
initialDelaySeconds: 120
periodSeconds: 20
successThreshold: 1
timeoutSeconds: 300
name: kuku
ports:
- containerPort: 8080
name: kuku
protocol: TCP
- containerPort: 8082
name: ui
protocol: TCP
readinessProbe:
failureThreshold: 3
httpGet:
path: /?healthpw_tok_2644
port: 8082
scheme: HTTP
initialDelaySeconds: 120
periodSeconds: 20
successThreshold: 1
timeoutSeconds: 300
resources:
limits:
cpu: 500m
memory: 2Gi
requests:
cpu: 100m
memory: 1Gi
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
dnsPolicy: ClusterFirst
nodeSelector:
type: spot
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
tolerations:
- effect: NoSchedule
key: type
value: spot
status:
availableReplicas: 1
conditions:
- lastTransitionTime: "2021-05-03T08:34:16Z"
lastUpdateTime: "2021-05-03T08:38:02Z"
message: ReplicaSet "kuku" has successfully progressed.
reason: NewReplicaSetAvailable
status: "True"
type: Progressing
- lastTransitionTime: "2021-05-19T20:27:47Z"
lastUpdateTime: "2021-05-19T20:27:47Z"
message: Deployment has minimum availability.
reason: MinimumReplicasAvailable
status: "True"
type: Available
observedGeneration: 1
readyReplicas: 1
replicas: 1
updatedReplicas: 1
мои глаза
долго работал, пока не сдох? похоже, что приложение в поде под ноги себе временные файлы кидает
apiVersion: apps/v1 kind: Deployment metadata: annotations: deployment.kubernetes.io/revision: "1" meta.helm.sh/release-name: stage meta.helm.sh/release-namespace: stage creationTimestamp: "2021-05-03T08:09:58Z" generation: 1 labels: app: kuku app.kubernetes.io/managed-by: Helm chart: kuku-0.1.0 customer: kuku release: stage type: kuku name: kuku namespace: stage resourceVersion: "231196908" selfLink: /apis/apps/v1/namespaces/stage/deployments/kuku-kuku uid: 98ab52f6-08bd-4b0d-867a-9c06e1a2346e spec: progressDeadlineSeconds: 600 replicas: 1 revisionHistoryLimit: 5 selector: matchLabels: app: kuku-kuku name: kuku-kuku release: stage service: kuku-kuku strategy: rollingUpdate: maxSurge: 1 maxUnavailable: 0 type: RollingUpdate template: metadata: creationTimestamp: null labels: app: kuku-kuku name: kuku-kuku release: stage service: kuku-kuku spec: containers: - env: - name: ENV value: stage - name: NAME value: gilad176 - name: MINER_DNS value: kuku.com - name: MINER_PORT value: "31819" - name: BACKOFFICE_DNS - name: BACKOFFICE_PORT - name: APP_TYPE - name: START_FROM_BLOCK - name: LBS_DNS value: kuku-lbs.stage.kuku.com image: 000000000.dkr.ecr.eu-west-1.amazonaws.com/wkuku:kuku-176 imagePullPolicy: Always livenessProbe: failureThreshold: 3 httpGet: path: /?healthpw_tok_2644 port: 8082 scheme: HTTP initialDelaySeconds: 120 periodSeconds: 20 successThreshold: 1 timeoutSeconds: 300 name: kuku ports: - containerPort: 8080 name: kuku protocol: TCP - containerPort: 8082 name: ui protocol: TCP readinessProbe: failureThreshold: 3 httpGet: path: /?healthpw_tok_2644 port: 8082 scheme: HTTP initialDelaySeconds: 120 periodSeconds: 20 successThreshold: 1 timeoutSeconds: 300 resources: limits: cpu: 500m memory: 2Gi requests: cpu: 100m memory: 1Gi terminationMessagePath: /dev/termination-log terminationMessagePolicy: File dnsPolicy: ClusterFirst nodeSelector: type: spot restartPolicy: Always schedulerName: default-scheduler securityContext: {} terminationGracePeriodSeconds: 30 tolerations: - effect: NoSchedule key: type value: spot status: availableReplicas: 1 conditions: - lastTransitionTime: "2021-05-03T08:34:16Z" lastUpdateTime: "2021-05-03T08:38:02Z" message: ReplicaSet "kuku" has successfully progressed. reason: NewReplicaSetAvailable status: "True" type: Progressing - lastTransitionTime: "2021-05-19T20:27:47Z" lastUpdateTime: "2021-05-19T20:27:47Z" message: Deployment has minimum availability. reason: MinimumReplicasAvailable status: "True" type: Available observedGeneration: 1 readyReplicas: 1 replicas: 1 updatedReplicas: 1 Сорри Извени Ну а как и вправду с этим бороться в продакшене этого нет но разница между ними что стейдж бежит на Spot а прод нет
чувак, давай на pastebin заливай. Сжалься над людьми с телефонами
Разницу между спот и не спот нет, ну, может в кубелет там разные настройки
Обсуждают сегодня