{% from 'lib.sls' import pod_deploy with context %} Create loki root directory: file.directory: - name: /srv/loki - user: 10001 - group: root - mode: "0755" Create loki data directory: file.directory: - name: /srv/loki - user: 10001 - group: root - mode: "0755" Create loki config directory: file.directory: - name: /srv/loki/config - user: 10001 - group: root - mode: "0755" {{ pod_deploy('loki') }}