Skip to content
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

feat: add Terraform module for mlflow-server #267

Merged
merged 5 commits into from
Sep 20, 2024

Conversation

DnPlas
Copy link
Contributor

@DnPlas DnPlas commented Sep 18, 2024

This commit adds the terraform/ directory to the root of the repository to host the Terraform module of this charm. This follows the standard set in CC006. For more information please also refer to canonical/argo-operators/pull/198.

Fixes #266

Testing instructions

  1. Check the correctness of the module with tox -e tflint
  2. Apply with terraform apply -var "channel=latest/edge" -var "model_name=kubeflow" --auto-approve
  3. Wait for the charm to be deployed.

For reviewers

This module must expose all the information in the metadata.yaml of this charm, make sure you review it by comparing that file to the Tf files in this PR.

This commit adds the terraform/ directory to the root of the repository to host
the Terraform module of this charm. This follows the standard set in CC006.
For more information please also refer to canonical/argo-operators/pull/198.

Fixes #266
@DnPlas DnPlas force-pushed the KF-6242-terraform-module-mlflow-server branch from 17eb6e7 to 6d3ae20 Compare September 18, 2024 21:48
Copy link

@orfeas-k orfeas-k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like the PR is working but we 'll need to file and issue and skip the apply job. The charm isn't going to blocked, rather it stays in waiting

Model     Controller  Cloud/Region        Version  SLA          Timestamp
kubeflow  microk8s    microk8s/localhost  3.4.5    unsupported  12:39:00+03:00

App            Version  Status   Scale  Charm          Channel      Rev  Address        Exposed  Message
mlflow-server           waiting      1  mlflow-server  latest/edge  696  10.152.183.70  no       installing agent

Unit              Workload  Agent  Address     Ports  Message
mlflow-server/0*  waiting   idle   10.1.217.9         Waiting for object-storage relation data

This is not the same for other relations where e.g. it goes to blocked when there's no database related

mlflow-server/0*      blocked   idle   10.1.217.9                  Please add relation to the database

terraform/README.md Outdated Show resolved Hide resolved
Copy link
Contributor

@NohaIhab NohaIhab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@DnPlas DnPlas merged commit d7a2442 into main Sep 20, 2024
11 checks passed
@DnPlas DnPlas deleted the KF-6242-terraform-module-mlflow-server branch September 20, 2024 14:41
DnPlas added a commit that referenced this pull request Sep 24, 2024
* feat: add Terraform module for mlflow-server

This commit adds the terraform/ directory to the root of the repository to host
the Terraform module of this charm. This follows the standard set in CC006.
For more information please also refer to canonical/argo-operators/pull/198.

Fixes #266
DnPlas added a commit that referenced this pull request Sep 25, 2024
* feat: add Terraform module for mlflow-server

This commit adds the terraform/ directory to the root of the repository to host
the Terraform module of this charm. This follows the standard set in CC006.
For more information please also refer to canonical/argo-operators/pull/198.

Fixes #266
DnPlas added a commit that referenced this pull request Sep 27, 2024
This commit introduces the following: 

* ci, docs: update to match standards for terraform (ci, docs: update to match standards for terraform #273)
* feat: add Terraform module for mlflow-server (feat: add Terraform module for mlflow-server #267)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create a terraform module for mlflow-server charm
3 participants