12345678910111213141516171819202122232425262728293031323334 |
- ---
- - name: Service for loki
- kubernetes.core.k8s:
- state: present
- definition:
- apiVersion: v1
- kind: Service
- metadata:
- name: "{{ loki_k8s_name }}"
- namespace: "{{ grafana_namespace }}"
- labels:
- app: "{{ loki_k8s_name }}"
- spec:
- type: ClusterIP
- ports:
- - name: loki
- port: "{{ loki_port }}"
- selector:
- app: "{{ loki_k8s_name }}"
|