Skip to content

Instantly share code, notes, and snippets.

@dalmarcogd
Created November 24, 2018 16:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dalmarcogd/e511f15f790754a558ed1e4b7cc5b878 to your computer and use it in GitHub Desktop.
Save dalmarcogd/e511f15f790754a558ed1e4b7cc5b878 to your computer and use it in GitHub Desktop.
Deploy
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
annotations:
deployment.kubernetes.io/revision: "1"
creationTimestamp: 2018-11-24T15:56:24Z
generation: 1
labels:
run: gwa-auth-web
name: gwa-auth-web
namespace: default
resourceVersion: "7798"
selfLink: /apis/extensions/v1beta1/namespaces/default/deployments/gwa-auth-web
uid: 7ed9eb43-f001-11e8-9528-42010a80018c
spec:
replicas: 1
selector:
matchLabels:
run: gwa-auth-web
strategy:
rollingUpdate:
maxSurge: 1
maxUnavailable: 1
type: RollingUpdate
template:
metadata:
creationTimestamp: null
labels:
run: gwa-auth-web
spec:
containers:
- image: gcr.io/gym-app-gd/gwa-auth-app:v4
imagePullPolicy: IfNotPresent
name: gwa-auth-web
ports:
- containerPort: 8080
protocol: TCP
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
status:
conditions:
- lastTransitionTime: 2018-11-24T15:56:24Z
lastUpdateTime: 2018-11-24T15:56:24Z
message: Deployment has minimum availability.
reason: MinimumReplicasAvailable
status: "True"
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