Skip to content

Commit

Permalink
Create deployment.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
devopstrainingbanglore authored Jun 28, 2020
1 parent 1ebb0f3 commit e63d7c3
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions deployment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: javawebapp-ENVIRONMENT-BUILD_NUMBER
spec:
replicas: 1
template:
metadata:
labels:
app: javawebapp
version: "BUILD_NUMBER"
spec:
containers:
- name: javawebapp-ENVIRONMENT-BUILD_NUMBER
image: IMAGE
imagePullPolicy: IfNotPresent
ports:
- containerPort: 8080

0 comments on commit e63d7c3

Please sign in to comment.