forked from derekoneil/twitter-feed
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathalpha-office-product-catalog.kubernetes.yml
More file actions
45 lines (45 loc) · 1.04 KB
/
alpha-office-product-catalog.kubernetes.yml
File metadata and controls
45 lines (45 loc) · 1.04 KB
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
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: product-catalog-app
labels:
commit: 4ca160fd05c003e5067fd6d9c8213656b24b962c
spec:
replicas: 2
selector:
matchLabels:
app: product-catalog-app
template:
metadata:
labels:
app: product-catalog-app
commit: 4ca160fd05c003e5067fd6d9c8213656b24b962c
spec:
containers:
- name: product-catalog-app-container
image: derekoneil/alpha-office-product-catalog:master-4ca160fd05c003e5067fd6d9c8213656b24b962c
imagePullPolicy: Always
ports:
- name: pc-app-port
containerPort: 80
protocol: TCP
imagePullSecrets:
- name: wercker
---
apiVersion: v1
kind: Service
metadata:
name: product-catalog-service
labels:
app: product-catalog-app
commit: 4ca160fd05c003e5067fd6d9c8213656b24b962c
spec:
ports:
- port: 30000
nodePort: 30000
targetPort: 80
selector:
app: product-catalog-app
commit: 4ca160fd05c003e5067fd6d9c8213656b24b962c
type: NodePort
---