-
-
Save rupinus85/1590d489f8b56c32624ab0da3400b080 to your computer and use it in GitHub Desktop.
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: apps/v1beta2 # for versions before 1.8.0 use apps/v1beta1 | |
kind: Deployment | |
metadata: | |
name: gs-spring-boot-docker-deployment | |
labels: | |
app: gs-spring-boot-docker | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: gs-spring-boot-docker | |
template: | |
metadata: | |
labels: | |
app: gs-spring-boot-docker | |
spec: | |
containers: | |
- name: gs-spring-boot-docker | |
image: dtlabs/gs-spring-boot-docker:1.0 | |
ports: | |
- containerPort: 8080 | |
imagePullPolicy: Always | |
resources: | |
requests: | |
memory: "256Mi" | |
cpu: "200m" | |
limits: | |
memory: "1Gi" | |
cpu: "500m" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment