k8s influxdb
This commit is contained in:
21
kube/02-databases/03-influxdb/04-service.yaml
Normal file
21
kube/02-databases/03-influxdb/04-service.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: influxdb
|
||||
namespace: hlaeja
|
||||
labels:
|
||||
app: influxdb
|
||||
environment: testing
|
||||
tier: database
|
||||
annotations:
|
||||
metallb.universe.tf/address-pool: default
|
||||
spec:
|
||||
type: LoadBalancer
|
||||
loadBalancerIP: 10.0.3.143
|
||||
selector:
|
||||
app: influxdb
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 8086
|
||||
protocol: TCP
|
||||
name: influxdb
|
||||
Reference in New Issue
Block a user