Skip to content

Instantly share code, notes, and snippets.

@scottleedavis
Created September 22, 2019 23:12
Show Gist options
  • Save scottleedavis/aafa290220eeecf87041ac3c1e2f884e to your computer and use it in GitHub Desktop.
Save scottleedavis/aafa290220eeecf87041ac3c1e2f884e to your computer and use it in GitHub Desktop.
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
annotations:
deployment.kubernetes.io/revision: "1"
creationTimestamp: "2019-09-22T22:59:28Z"
generation: 1
labels:
app: fn
name: fn
namespace: default
resourceVersion: "8153"
selfLink: /apis/extensions/v1beta1/namespaces/default/deployments/fn
uid: a18f4e34-dd8c-11e9-84c3-0a0c0c5c7938
spec:
progressDeadlineSeconds: 600
replicas: 1
revisionHistoryLimit: 10
selector:
matchLabels:
app: fn
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
creationTimestamp: null
labels:
app: fn
spec:
containers:
- image: 982879137855.dkr.ecr.us-west-2.amazonaws.com/server-null/fndocker
imagePullPolicy: Always
name: fndocker
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
env:
- name: FN_PORT
value: "8080"
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
status:
conditions:
- lastTransitionTime: "2019-09-22T22:59:28Z"
lastUpdateTime: "2019-09-22T22:59:29Z"
message: ReplicaSet "fn-7f97ffc547" has successfully progressed.
reason: NewReplicaSetAvailable
status: "True"
type: Progressing
- lastTransitionTime: "2019-09-22T22:59:51Z"
lastUpdateTime: "2019-09-22T22:59:51Z"
message: Deployment does not have minimum availability.
reason: MinimumReplicasUnavailable
status: "False"
type: Available
observedGeneration: 1
replicas: 1
unavailableReplicas: 1
updatedReplicas: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment