initial commit
All checks were successful
Build and Push Image / build-and-push (push) Successful in 1m26s
All checks were successful
Build and Push Image / build-and-push (push) Successful in 1m26s
This commit is contained in:
parent
3bba1f6db6
commit
b56e866071
36 changed files with 4160 additions and 0 deletions
23
k8s/service.yaml
Normal file
23
k8s/service.yaml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: snauw-counter
|
||||
namespace: snauw-counter
|
||||
labels:
|
||||
app.kubernetes.io/name: snauw-counter
|
||||
app.kubernetes.io/component: web
|
||||
app.kubernetes.io/part-of: snauw-counter
|
||||
annotations:
|
||||
prometheus.io/scrape: "true"
|
||||
prometheus.io/port: "5000"
|
||||
prometheus.io/path: "/metrics"
|
||||
spec:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: http
|
||||
protocol: TCP
|
||||
name: http
|
||||
selector:
|
||||
app.kubernetes.io/name: snauw-counter
|
||||
app.kubernetes.io/component: web
|
||||
Loading…
Add table
Add a link
Reference in a new issue