Skip to content

kuberhealthy/minio-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

minio-test

khcheck to create a minio bucket, create an object, then delete both

This check requires three environment variables in the kube spec used to deploy it. A minio API endpoint, and the access/secret (or user/pass).

Example yaml

---
apiVersion: comcast.github.io/v1
kind: KuberhealthyCheck
metadata:
  name: minio-test
  namespace: kuberhealthy
spec:
  runInterval: 30s
  timeout: 2m
  extraAnnotations:
    comcast.com/testAnnotation: test.annotation
  extraLabels:
    testLabel: testLabel
  podSpec:
    containers:
      - name: minio-test
        image: kuberhealthy/minio-test:v1.0.0
        imagePullPolicy: IfNotPresent
        env:
          - name: MINIO_ENDPOINT
            value: "https://changme.com:8443"
          - name: ACCESS_KEY
            value: "CHANGEME"
          - name: SECRET_KEY
            value: "CHANGEME"
        resources:
          requests:
            cpu: 10m
            memory: 50Mi

How-to

Apply a .yaml file similar to the one shown above with kubectl apply -f

About

khcheck to create a minio bucket, create an object, then delete both

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published