Created
May 11, 2021 12:31
-
-
Save maxisme/39d5122e6d996334f841e9e0d5268ec4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kind: Deployment | |
apiVersion: apps/v1 | |
metadata: | |
name: notifi | |
namespace: default | |
uid: 6be58be2-a0f4-4b2f-a129-372ace9f814a | |
resourceVersion: '17491934' | |
generation: 4 | |
creationTimestamp: '2021-05-11T11:34:45Z' | |
labels: | |
app: notifi | |
app.kubernetes.io/managed-by: Helm | |
annotations: | |
deployment.kubernetes.io/revision: '5' | |
meta.helm.sh/release-name: notifi | |
meta.helm.sh/release-namespace: default | |
policies.kyverno.io/patches: > | |
insert-pod-antiaffinity.insert-pod-location-anti-affinity.kyverno.io: | |
added /spec/template/spec/affinity | |
managedFields: | |
- manager: Go-http-client | |
operation: Update | |
apiVersion: apps/v1 | |
time: '2021-05-11T11:34:45Z' | |
fieldsType: FieldsV1 | |
fieldsV1: | |
'f:metadata': | |
'f:annotations': | |
.: {} | |
'f:meta.helm.sh/release-name': {} | |
'f:meta.helm.sh/release-namespace': {} | |
'f:labels': | |
.: {} | |
'f:app': {} | |
'f:app.kubernetes.io/managed-by': {} | |
'f:spec': | |
'f:progressDeadlineSeconds': {} | |
'f:replicas': {} | |
'f:revisionHistoryLimit': {} | |
'f:selector': {} | |
'f:strategy': | |
'f:rollingUpdate': | |
.: {} | |
'f:maxSurge': {} | |
'f:maxUnavailable': {} | |
'f:type': {} | |
'f:template': | |
'f:metadata': | |
'f:labels': | |
.: {} | |
'f:app': {} | |
'f:spec': | |
'f:containers': | |
'k:{"name":"notifi"}': | |
.: {} | |
'f:env': | |
.: {} | |
'k:{"name":"DATABASE_HOST"}': | |
.: {} | |
'f:name': {} | |
'f:value': {} | |
'k:{"name":"DATABASE_NAME"}': | |
.: {} | |
'f:name': {} | |
'f:value': {} | |
'k:{"name":"DATABASE_PASS"}': | |
.: {} | |
'f:name': {} | |
'f:valueFrom': | |
.: {} | |
'f:secretKeyRef': | |
.: {} | |
'f:key': {} | |
'f:name': {} | |
'k:{"name":"DATABASE_USER"}': | |
.: {} | |
'f:name': {} | |
'f:value': {} | |
'f:envFrom': {} | |
'f:image': {} | |
'f:imagePullPolicy': {} | |
'f:livenessProbe': | |
.: {} | |
'f:failureThreshold': {} | |
'f:httpGet': | |
.: {} | |
'f:path': {} | |
'f:port': {} | |
'f:scheme': {} | |
'f:periodSeconds': {} | |
'f:successThreshold': {} | |
'f:timeoutSeconds': {} | |
'f:name': {} | |
'f:ports': | |
.: {} | |
'k:{"containerPort":8080,"protocol":"TCP"}': | |
.: {} | |
'f:containerPort': {} | |
'f:protocol': {} | |
'f:readinessProbe': | |
.: {} | |
'f:failureThreshold': {} | |
'f:httpGet': | |
.: {} | |
'f:path': {} | |
'f:port': {} | |
'f:scheme': {} | |
'f:periodSeconds': {} | |
'f:successThreshold': {} | |
'f:timeoutSeconds': {} | |
'f:resources': {} | |
'f:terminationMessagePath': {} | |
'f:terminationMessagePolicy': {} | |
'f:dnsPolicy': {} | |
'f:initContainers': | |
.: {} | |
'k:{"name":"migrate"}': | |
.: {} | |
'f:command': {} | |
'f:env': | |
.: {} | |
'k:{"name":"DATABASE_HOST"}': | |
.: {} | |
'f:name': {} | |
'f:value': {} | |
'k:{"name":"DATABASE_NAME"}': | |
.: {} | |
'f:name': {} | |
'f:value': {} | |
'k:{"name":"DATABASE_PASS"}': | |
.: {} | |
'f:name': {} | |
'f:valueFrom': | |
.: {} | |
'f:secretKeyRef': | |
.: {} | |
'f:key': {} | |
'f:name': {} | |
'k:{"name":"DATABASE_USER"}': | |
.: {} | |
'f:name': {} | |
'f:value': {} | |
'f:image': {} | |
'f:imagePullPolicy': {} | |
'f:name': {} | |
'f:resources': {} | |
'f:terminationMessagePath': {} | |
'f:terminationMessagePolicy': {} | |
'f:nodeSelector': | |
.: {} | |
'f:external': {} | |
'f:restartPolicy': {} | |
'f:schedulerName': {} | |
'f:securityContext': {} | |
'f:terminationGracePeriodSeconds': {} | |
- manager: k3s | |
operation: Update | |
apiVersion: apps/v1 | |
time: '2021-05-11T12:18:39Z' | |
fieldsType: FieldsV1 | |
fieldsV1: | |
'f:metadata': | |
'f:annotations': | |
'f:deployment.kubernetes.io/revision': {} | |
'f:status': | |
'f:availableReplicas': {} | |
'f:collisionCount': {} | |
'f:conditions': | |
.: {} | |
'k:{"type":"Available"}': | |
.: {} | |
'f:lastTransitionTime': {} | |
'f:lastUpdateTime': {} | |
'f:message': {} | |
'f:reason': {} | |
'f:status': {} | |
'f:type': {} | |
'k:{"type":"Progressing"}': | |
.: {} | |
'f:lastTransitionTime': {} | |
'f:lastUpdateTime': {} | |
'f:message': {} | |
'f:reason': {} | |
'f:status': {} | |
'f:type': {} | |
'f:observedGeneration': {} | |
'f:readyReplicas': {} | |
'f:replicas': {} | |
'f:unavailableReplicas': {} | |
'f:updatedReplicas': {} | |
spec: | |
replicas: 2 | |
selector: | |
matchLabels: | |
app: notifi | |
template: | |
metadata: | |
creationTimestamp: null | |
labels: | |
app: notifi | |
spec: | |
initContainers: | |
- name: migrate | |
image: 'maxisme/notifi-backend:sha-a87d946' | |
command: | |
- ./app | |
- migrate | |
env: | |
- name: DATABASE_PASS | |
valueFrom: | |
secretKeyRef: | |
name: notifi.acid-notifi.credentials.postgresql.acid.zalan.do | |
key: password | |
- name: DATABASE_USER | |
value: notifi | |
- name: DATABASE_NAME | |
value: notifi | |
- name: DATABASE_HOST | |
value: acid-notifi-pooler | |
resources: {} | |
terminationMessagePath: /dev/termination-log | |
terminationMessagePolicy: File | |
imagePullPolicy: IfNotPresent | |
containers: | |
- name: notifi | |
image: 'maxisme/notifi-backend:sha-a87d946' | |
ports: | |
- containerPort: 8080 | |
protocol: TCP | |
envFrom: | |
- secretRef: | |
name: notifi | |
env: | |
- name: DATABASE_PASS | |
valueFrom: | |
secretKeyRef: | |
name: notifi.acid-notifi.credentials.postgresql.acid.zalan.do | |
key: password | |
- name: DATABASE_USER | |
value: notifi | |
- name: DATABASE_NAME | |
value: notifi | |
- name: DATABASE_HOST | |
value: acid-notifi-pooler | |
resources: {} | |
livenessProbe: | |
httpGet: | |
path: / | |
port: 8080 | |
scheme: HTTP | |
timeoutSeconds: 1 | |
periodSeconds: 10 | |
successThreshold: 1 | |
failureThreshold: 3 | |
readinessProbe: | |
httpGet: | |
path: / | |
port: 8080 | |
scheme: HTTP | |
timeoutSeconds: 1 | |
periodSeconds: 10 | |
successThreshold: 1 | |
failureThreshold: 3 | |
terminationMessagePath: /dev/termination-log | |
terminationMessagePolicy: File | |
imagePullPolicy: Always | |
restartPolicy: Always | |
terminationGracePeriodSeconds: 30 | |
dnsPolicy: ClusterFirst | |
nodeSelector: | |
external: 'true' | |
securityContext: {} | |
affinity: | |
podAntiAffinity: | |
requiredDuringSchedulingIgnoredDuringExecution: | |
- labelSelector: | |
matchExpressions: | |
- key: app | |
operator: In | |
values: | |
- notifi | |
topologyKey: location | |
schedulerName: default-scheduler | |
strategy: | |
type: RollingUpdate | |
rollingUpdate: | |
maxUnavailable: 25% | |
maxSurge: 25% | |
revisionHistoryLimit: 10 | |
progressDeadlineSeconds: 600 | |
status: | |
observedGeneration: 4 | |
replicas: 3 | |
updatedReplicas: 1 | |
readyReplicas: 1 | |
availableReplicas: 1 | |
unavailableReplicas: 2 | |
conditions: | |
- type: Available | |
status: 'False' | |
lastUpdateTime: '2021-05-11T11:34:45Z' | |
lastTransitionTime: '2021-05-11T11:34:45Z' | |
reason: MinimumReplicasUnavailable | |
message: Deployment does not have minimum availability. | |
- type: Progressing | |
status: 'False' | |
lastUpdateTime: '2021-05-11T12:28:40Z' | |
lastTransitionTime: '2021-05-11T12:28:40Z' | |
reason: ProgressDeadlineExceeded | |
message: ReplicaSet "notifi-bd56cb5c7" has timed out progressing. | |
collisionCount: 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment