Skip to content

Commit 63fc802

Browse files
committed
Update imagePullPolicy to Never for backend and frontend deployments; upgrade MLflow version in Dockerfile
1 parent 237c600 commit 63fc802

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

backend/infrastructure/k8s_registry_deployment_adapter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def _create_or_update_mlflow_deployment(self, project_name: str):
8282
client.V1Container(
8383
name="mlflow",
8484
image="ghcr.io/octo-technology/model-platform/mlflow:latest",
85-
image_pull_policy="Always",
85+
image_pull_policy="Never",
8686
ports=[client.V1ContainerPort(container_port=self.port)],
8787
env=[
8888
client.V1EnvVar(name="MLFLOW_SERVER_HOST", value="0.0.0.0"),

infrastructure/k8s/backend-deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ spec:
2424
containers:
2525
- name: backend
2626
image: ${BACKEND_IMAGE}:${IMAGE_TAG}
27-
imagePullPolicy: Always
27+
imagePullPolicy: Never
2828
ports:
2929
- containerPort: 8000
3030
envFrom:

infrastructure/k8s/frontend-deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ spec:
1616
containers:
1717
- name: frontend
1818
image: ${FRONTEND_IMAGE}:${IMAGE_TAG}
19-
imagePullPolicy: Always
19+
imagePullPolicy: Never
2020
ports:
2121
- containerPort: 8501
2222
envFrom:

infrastructure/registry/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
FROM ghcr.io/mlflow/mlflow:v2.21.0
1+
FROM ghcr.io/mlflow/mlflow:v3.9.0
22

33
RUN pip install psycopg2-binary boto3

0 commit comments

Comments
 (0)