Skip to main content

S3 Protocol

info

This checks if S3 compatible endpoints (like Minio, EMC ECS) are functioning correctly, to check the contents of a S3 bucket use: S3 Bucket

The S3 check:

  • Lists objects in the bucket to check for Read permissions
  • Puts an object into the bucket for Write permissions
  • Downloads previously uploaded object to check for Get permissions
apiVersion: canaries.flanksource.com/v1
kind: Canary
metadata:
name: s3-protocol-check
spec:
interval: 30
s3:
- name: s3-check
bucketName: flanksource-public
objectPath: dummy
region: us-east-1
accessKey:
valueFrom:
secretKeyRef:
name: aws-credentials
key: AWS_ACCESS_KEY_ID
secretKey:
valueFrom:
secretKeyRef:
name: aws-credentials
key: AWS_SECRET_ACCESS_KEY
FieldDescriptionSchemeRequired
bucketBucket name to test againststringYes
objectPathPath to create a test object e.g. s3-dummy/stringYes
nameName of the check, must be unique within the canarystringYes
descriptionDescription for the checkstring
iconIcon for overwriting default icon on the dashboardstring
labelsLabels for checkmap[string]string
testEvaluate whether a check is healthyExpression
displayExpression to change the formatting of the displayExpression
transformTransform data from a check into multiple individual checksExpression
metricsMetrics to export from[]Metrics
Connection
connectionPath of existing connection e.g. connection://aws/instance. Mutually exclusive with accessKey and secretKey
Connections
accessKeyEnvVarYes
secretKeyEnvVarYes
endpointCustom AWS endpointstring
regionAWS regionstringYes
skipTLSVerifySkip TLS verify when connecting to awsbool