-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeployment.yaml
More file actions
43 lines (43 loc) · 767 Bytes
/
deployment.yaml
File metadata and controls
43 lines (43 loc) · 767 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
apiVersion: apps/v1
kind: Deployment
metadata:
creationTimestamp: null
labels:
app: poc-devops-java
name: poc-devops-java
spec:
replicas: 1
selector:
matchLabels:
app: poc-devops-java
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
app: poc-devops-java
spec:
containers:
- image: dicaeffe/poc-devops-java:0.0.2-SNAPSHOT
name: poc-devops-java
resources: {}
status: {}
---
apiVersion: v1
kind: Service
metadata:
creationTimestamp: null
labels:
app: poc-devops-java
name: poc-devops-java
spec:
ports:
- name: 8080-8080
port: 8080
protocol: TCP
targetPort: 8080
selector:
app: poc-devops-java
type: ClusterIP
status:
loadBalancer: {}