You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the same time the following python3 boto3 code worked without any issues:
importboto3frombotocore.clientimportConfig# S3/MinIO credentials and configurationaws_key_id="console"aws_sec_key="console123"s3_bucket="tekton-logs"s3_region="tekton"s3_endpoint="http://minio.minio.svc.cluster.local:9000"file_to_upload="sample.txt"# The local file you want to uploads3_key="sample.txt"# The name of the file in the S3 bucket# Create the S3 clients3_client=boto3.client(
's3',
aws_access_key_id=aws_key_id,
aws_secret_access_key=aws_sec_key,
endpoint_url=s3_endpoint, # Specify MinIO custom endpointregion_name=s3_region,
config=Config(signature_version='s3v4') # Ensure correct signature version
)
# Upload the filetry:
s3_client.upload_file(file_to_upload, s3_bucket, s3_key)
print(f"File '{file_to_upload}' uploaded to '{s3_bucket}/{s3_key}'.")
exceptExceptionase:
print(f"Error uploading file: {e}")
File 'sample.txt' uploaded to 'tekton-logs/sample.txt'.
pepov
changed the title
created fluentbit is unable to write to S3 output backend managed by minio
created fluentd is unable to write to S3 output backend managed by minio
Oct 10, 2024
First of all, thanks for using the Logging Operator! I've started investigating this by trying out a deploy flow described in our documentation page, which utilizes MinIO. However, I found that it was faulty, so I updated the docs in the following PR. Be sure to check it out; it is now a fully functional end-to-end guide. (Please ignore parts of the Prometheus deployment if they are not relevant for you.)
I noticed that you use the MinIO Helm chart, which is a community maintained chart. I did not have success with it, most likely due to the fact that this chart uses older versions for both MinIO and the console. I did not investigate it further, but I'm sure that based on the documentation, you will be able to figure out how to deploy it with the chart.
Describe the bug:
I have a minio in the kubernetes namespace minio. Created fluentbit pod fails with the error msg below:
Expected behaviour:
Fluentbit to write data into minio
Steps to reproduce the bug:
this has provisioned the following fluentbit config in the secret:
Additional context:
At the same time the following python3 boto3 code worked without any issues:
File 'sample.txt' uploaded to 'tekton-logs/sample.txt'.
Environment details:
/kind bug
The text was updated successfully, but these errors were encountered: