MàJ - Application.properties
This commit is contained in:
53
applications/lionsdev-client/kubernetes/service.yaml
Normal file
53
applications/lionsdev-client/kubernetes/service.yaml
Normal file
@@ -0,0 +1,53 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: lionsdev-client-service
|
||||
namespace: lions-apps
|
||||
labels:
|
||||
app: lionsdev-client
|
||||
app.kubernetes.io/name: lionsdev-client
|
||||
app.kubernetes.io/part-of: lions-infrastructure
|
||||
app.kubernetes.io/managed-by: lionsctl
|
||||
annotations:
|
||||
service.beta.kubernetes.io/aws-load-balancer-type: "nlb"
|
||||
prometheus.io/scrape: "true"
|
||||
prometheus.io/port: "8080"
|
||||
prometheus.io/path: "/metrics"
|
||||
spec:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- name: http
|
||||
port: 80
|
||||
targetPort: http
|
||||
protocol: TCP
|
||||
- name: metrics
|
||||
port: 8080
|
||||
targetPort: metrics
|
||||
protocol: TCP
|
||||
selector:
|
||||
app: lionsdev-client
|
||||
sessionAffinity: None
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: lionsdev-client-headless
|
||||
namespace: lions-apps
|
||||
labels:
|
||||
app: lionsdev-client
|
||||
app.kubernetes.io/name: lionsdev-client
|
||||
app.kubernetes.io/part-of: lions-infrastructure
|
||||
app.kubernetes.io/managed-by: lionsctl
|
||||
annotations:
|
||||
service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"
|
||||
spec:
|
||||
type: ClusterIP
|
||||
clusterIP: None
|
||||
ports:
|
||||
- name: http
|
||||
port: 80
|
||||
targetPort: http
|
||||
protocol: TCP
|
||||
selector:
|
||||
app: lionsdev-client
|
||||
publishNotReadyAddresses: true
|
||||
Reference in New Issue
Block a user