-
Notifications
You must be signed in to change notification settings - Fork 0
/
deployment.yaml
45 lines (45 loc) · 959 Bytes
/
deployment.yaml
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
44
45
---
kind: Service
apiVersion: v1
metadata:
name: spring-boot-helloworld
namespace: mtls-test
labels:
app: spring-boot-helloworld
spec:
ports:
- name: tcp-8080
protocol: TCP
port: 8080
targetPort: 8080
selector:
app: spring-boot-helloworld
type: ClusterIP
---
kind: Deployment
apiVersion: apps/v1
metadata:
annotations:
openshift.io/generated-by: OpenShiftWebConsole
name: spring-boot-helloworld
labels:
app: spring-boot-helloworld
spec:
selector:
matchLabels:
app: spring-boot-helloworld
replicas: 1
template:
metadata:
labels:
app: spring-boot-helloworld
annotations:
sidecar.istio.io/inject: "true"
spec:
containers:
- name: spring-boot-helloworld
image: 'quay.io/cloudfirst/spring-boot-helloworld:latest'
ports:
- containerPort: 8080
protocol: TCP
imagePullPolicy: IfNotPresent