Created
December 2, 2019 17:40
-
-
Save bryanl/99f5c1dae1aa5176f62ad9ab5dd6441c to your computer and use it in GitHub Desktop.
hungry
This file contains 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
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
name: lab-5 | |
--- | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
labels: | |
lab: lab-5 | |
name: hungry | |
namespace: lab-5 | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
lab: lab-5 | |
strategy: | |
rollingUpdate: | |
maxSurge: 1 | |
maxUnavailable: 1 | |
type: RollingUpdate | |
template: | |
metadata: | |
labels: | |
lab: lab-5 | |
spec: | |
containers: | |
- image: docker.io/bryanl/k8st-hungry:latest | |
name: app | |
ports: | |
- containerPort: 8080 | |
name: http | |
dnsPolicy: ClusterFirst | |
restartPolicy: Always | |
schedulerName: default-scheduler | |
securityContext: {} | |
terminationGracePeriodSeconds: 30 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment