Last active
July 19, 2022 18:12
-
-
Save hakaneroztekin/a987b1845d2f99c4e6cfbd8c1aba62f1 to your computer and use it in GitHub Desktop.
deployment [kube in a nutshell]
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/v1 | |
kind: Deployment | |
metadata: | |
name: basic-spring-app-deployment | |
spec: | |
replicas: 5 | |
selector: | |
matchLabels: | |
env: development | |
minReadySeconds: 15 | |
strategy: | |
type: RollingUpdate | |
rollingUpdate: | |
maxUnavailable: 1 | |
maxSurge: 1 | |
template: | |
metadata: | |
name: basic-spring-app | |
labels: | |
env: development | |
spec: | |
containers: | |
- name: basic-spring-app | |
image: hakaneroztekin/basic-spring-app | |
ports: | |
- containerPort: 8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment