16 lines
241 B
YAML
16 lines
241 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: loki-svc
|
|
namespace: monitoring
|
|
labels:
|
|
app.kubernetes.io/name: loki
|
|
spec:
|
|
ports:
|
|
- name: http
|
|
port: 3100
|
|
protocol: TCP
|
|
targetPort: 3100
|
|
selector:
|
|
app: loki
|