This commit is contained in:
2024-02-20 17:15:27 +08:00
committed by huty
parent 6706e1a633
commit 34158042ad
1529 changed files with 177765 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
apiVersion: v1
kind: Namespace
metadata:
name: kiamol-ch14-test
labels:
kiamol: ch14
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: timecheck
namespace: kiamol-ch14-test
labels:
kiamol: ch14
spec:
selector:
matchLabels:
app: timecheck
template:
metadata:
labels:
app: timecheck
spec:
containers:
- name: timecheck
image: kiamol/ch07-timecheck
env:
- name: Metrics__Enabled
value: "true"
ports:
- containerPort: 8080
name: metrics