Skip to content

Commit

Permalink
feat: remove quiet flag in Minio (#5036)
Browse files Browse the repository at this point in the history
* remove quite flag in Minio

* collect minio logs
  • Loading branch information
nvanthao authored Dec 12, 2024
1 parent acfe1ac commit 3ed961a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/kotsadm/objects/minio_objects.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ func MinioStatefulset(deployOptions types.DeployOptions, size resource.Quantity)
Command: []string{
"/bin/sh",
"-ce",
"minio -C /home/minio/.minio/ --quiet server /export",
"minio -C /home/minio/.minio/ server /export",
},
Ports: []corev1.ContainerPort{
{
Expand Down
2 changes: 1 addition & 1 deletion pkg/snapshot/filesystem_minio.go
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ func fileSystemMinioDeploymentResource(clientset kubernetes.Interface, secretChe
MountPath: "/.minio/",
},
},
Args: []string{"--quiet", "server", "data"},
Args: []string{"server", "data"},
LivenessProbe: &corev1.Probe{
ProbeHandler: corev1.ProbeHandler{
HTTPGet: &corev1.HTTPGetAction{
Expand Down
5 changes: 5 additions & 0 deletions pkg/supportbundle/staticspecs/defaultspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ spec:
name: kots/admin_console
selector:
- app=kotsadm-dex
- logs:
collectorName: kotsadm-minio
name: kots/admin_console
selector:
- app=kotsadm-minio
- logs:
collectorName: kotsadm-fs-minio
name: kots/admin_console
Expand Down

0 comments on commit 3ed961a

Please sign in to comment.