Skip to content

Commit 09910cc

Browse files
committed
Add missing catalog
1 parent edb2af4 commit 09910cc

File tree

5 files changed

+259
-293
lines changed

5 files changed

+259
-293
lines changed
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
kind: Deployment
2+
apiVersion: apps/v1
3+
metadata:
4+
annotations:
5+
alpha.image.policy.openshift.io/resolve-names: '*'
6+
app.openshift.io/route-disabled: 'false'
7+
app.openshift.io/vcs-ref: ''
8+
app.openshift.io/vcs-uri: 'https://github.com/coolstore-demo/catalog-spring-boot.git'
9+
name: catalog
10+
labels:
11+
app: catalog
12+
app.kubernetes.io/component: catalog
13+
app.kubernetes.io/instance: catalog
14+
app.kubernetes.io/name: catalog
15+
app.kubernetes.io/part-of: coolstore
16+
app.openshift.io/runtime: spring-boot
17+
spec:
18+
replicas: 1
19+
selector:
20+
matchLabels:
21+
app: catalog
22+
template:
23+
metadata:
24+
labels:
25+
app: catalog
26+
deployment: catalog
27+
spec:
28+
containers:
29+
- name: catalog
30+
image: quay.io/coolstore-demo/catalog-spring-boot:1.0.0
31+
ports:
32+
- containerPort: 8080
33+
protocol: TCP
34+
- containerPort: 8443
35+
protocol: TCP
36+
resources: {}
37+
terminationMessagePath: /dev/termination-log
38+
terminationMessagePolicy: File
39+
imagePullPolicy: Always
40+
restartPolicy: Always
41+
terminationGracePeriodSeconds: 30
42+
dnsPolicy: ClusterFirst
43+
securityContext: {}
44+
schedulerName: default-scheduler
45+
strategy:
46+
type: RollingUpdate
47+
rollingUpdate:
48+
maxUnavailable: 25%
49+
maxSurge: 25%
50+
revisionHistoryLimit: 10
51+
progressDeadlineSeconds: 600
52+
---
53+
kind: Service
54+
apiVersion: v1
55+
metadata:
56+
name: catalog-spring-boot
57+
labels:
58+
app: catalog
59+
app.kubernetes.io/component: catalog
60+
app.kubernetes.io/instance: catalog
61+
app.kubernetes.io/name: catalog
62+
app.kubernetes.io/part-of: coolstore
63+
app.openshift.io/runtime: java
64+
spec:
65+
ports:
66+
- name: 8080-tcp
67+
protocol: TCP
68+
port: 8080
69+
targetPort: 8080
70+
- name: 8443-tcp
71+
protocol: TCP
72+
port: 8443
73+
targetPort: 8443
74+
internalTrafficPolicy: Cluster
75+
sessionAffinity: None
76+
selector:
77+
app: catalog
78+
deployment: catalog

content/modules/ROOT/examples/coolstore/base/coolstore.yaml

Lines changed: 0 additions & 292 deletions
This file was deleted.

0 commit comments

Comments
 (0)