-
Notifications
You must be signed in to change notification settings - Fork 0
/
deployment.azure.yml
50 lines (49 loc) · 1.13 KB
/
deployment.azure.yml
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
46
47
48
49
50
apiVersion: apps/v1
kind: Deployment
metadata:
name: ngrp-wiremock-server-deployment
spec:
selector:
matchLabels:
app: services-wiremock
replicas: 1
template:
metadata:
labels:
app: services-wiremock
spec:
containers:
- name: services-wiremock
image: ngrpdevregistry.azurecr.io/ngrp-wiremock-server:#{Build.BuildId}#
livenessProbe:
httpGet:
path: /status
port: 8080
initialDelaySeconds: 30
periodSeconds: 300
ports:
- containerPort: 8080
- containerPort: 8443
imagePullSecrets:
- name: regcred
---
# https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service
kind: Service
apiVersion: v1
metadata:
name: ngrp-wiremock-server-service
annotations:
service.beta.kubernetes.io/azure-load-balancer-internal: "false"
spec:
selector:
app: services-wiremock
ports:
- protocol: TCP
name: http
port: 8080
targetPort: 8080
- protocol: TCP
name: https
port: 8443
targetPort: 8443
type: LoadBalancer