Skip to content

Commit 149db75

Browse files
prometheus operator video files
1 parent 50117a6 commit 149db75

24 files changed

+90
-6
lines changed

kubernetes/deployments/deployment.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ spec:
2626
imagePullPolicy: Always
2727
ports:
2828
- containerPort: 5000
29-
livenessProbe:
30-
httpGet:
31-
path: /status
32-
port: 5000
33-
initialDelaySeconds: 3
34-
periodSeconds: 3
29+
# livenessProbe:
30+
# httpGet:
31+
# path: /status
32+
# port: 5000
33+
# initialDelaySeconds: 3
34+
# periodSeconds: 3
3535
resources:
3636
requests:
3737
memory: "64Mi"

kubernetes/services/service.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,14 @@ apiVersion: v1
22
kind: Service
33
metadata:
44
name: example-service
5+
labels:
6+
app: example-app
57
spec:
8+
type: LoadBalancer
69
selector:
710
app: example-app
811
ports:
912
- protocol: TCP
13+
name: http
1014
port: 80
1115
targetPort: 5000

0 commit comments

Comments
 (0)