hello <@U04S8PLJWMT> why minio server is not resta...
# ask-ai
k
hello @kapa.ai why minio server is not restarting when we deploy a new helm chart. it is the only service that seems to stay live
k
New message text here
k
@kapa.ai how do I safely restart the minio server after helm chart deployment
k
A message from kapa.ai
To safely restart the Minio server after a Helm chart deployment in Airbyte, you can manually restart the Minio StatefulSet or pod. This approach is supported by user experiences and recommendations in the knowledge sources. Here’s how you can do it: 1. Restart the Minio StatefulSet: You can trigger a rolling restart of the Minio pod(s) using the following kubectl command:
Copy code
kubectl rollout restart statefulset airbyte-minio -n <namespace>
Replace
<namespace>
with the namespace where Airbyte is deployed (commonly
airbyte
). 2. Alternatively, Delete the Minio Pod: Deleting the Minio pod will cause Kubernetes to automatically recreate it:
Copy code
kubectl delete pod -l app.kubernetes.io/name=minio -n <namespace>
This is safe because the Minio data is stored on a PersistentVolume, so the pod will come back up with the same data. Note: This approach is referenced by users who needed to remove or restart the Minio pod after a Helm operation, and it is considered safe as long as your persistent storage is correctly configured. For example, one user noted: > Those who are new kubernetes and helm use this to remove minio pod >
kubectl delete statefulset airbyte-minio -n <nameSpace>
> [source](https://github.com/airbytehq/airbyte/issues/18591) Caution: Always ensure that no critical jobs are running that depend on Minio before restarting, as there may be a brief period of unavailability. If you have further customizations or a different setup, please check your specific deployment details before proceeding.
k
cc @Gaëtan Manchon