-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deploy Loki #2722
Deploy Loki #2722
Conversation
Hello alexandre-allard-scality,My role is to assist you with the merge of this Status report is not available. |
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list:
|
8ffd6e1
to
7d03763
Compare
7d03763
to
e5fce98
Compare
helm repo add loki https://grafana.github.io/loki/charts helm repo update helm fetch -d charts --untar loki/loki Refs: #2682
Add `--remove-manifest KIND NAME` option allowing to remove some manifests from the resulting chart. Useful when we want to deploy and manage ourself some object of an addon (e.g. Loki secret). Refs: #2682
this file is used to overwrite default values. Refs: #2682
Enable persistence from Loki chart NOTE: That Loki chart does not allow to provide selector to claim Volume, so any volume using `metalk8s-loki` storageClass can be bound to the Loki container Refs: #2682
./charts/render.py loki --namespace metalk8s-logging \ --remove-manifest Secret loki \ charts/loki.yaml charts/loki/ \ > salt/metalk8s/addons/logging/loki/deployed/chart.sls Refs: #2682
For now it only deploys loki, but it'll also include Fluent Bit installation. Refs: #2682
This is needed as we put Loki inside logging directory, so the path is not metalk8s/addons/loki/config/loki.yaml but metalk8s/addons/logging/loki/config/loki.yaml, so we need to be able to set the path. Refs: #2682
Re-render the chart with CSC: ./charts/render.py loki \ --remove-manifest Secret loki \ --namespace metalk8s-logging \ --service-config loki metalk8s-loki-config \ metalk8s/addons/logging/loki/config/loki.yaml \ charts/loki.yaml charts/loki/ \ > salt/metalk8s/addons/logging/loki/deployed/chart.sls Refs: #2682
Add test about Loki only, to check that Loki work properly, this test basically just use Loki API (https://grafana.com/docs/loki/latest/api/#get-lokiapiv1query) to push a Simple test log and then query this pushed log from Loki Refs: #2712
Add an example file to create a sparseLoopDevice volume for Loki, add this file in the ISO and also use it for CI and vagrant deployment Refs: #2682
e5fce98
to
784ae86
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/approve |
In the queueThe changeset has received all authorizations and has been added to the The changeset will be merged in:
The following branches will NOT be impacted:
There is no action required on your side. You will be notified here once IMPORTANT Please do not attempt to modify this pull request.
If you need this pull request to be removed from the queue, please contact a The following options are set: approve |
I have successfully merged the changeset of this pull request
The following branches have NOT changed:
Please check the status of the associated issue None. Goodbye alexandre-allard-scality. |
Component: salt, build, log
Context:
#2682
Summary:
render.py
scriptmetalk8s-loki
Acceptance criteria:
Closes: #2682
Refs: #2712