v0.0.6-beta-1
Pre-release
Pre-release
github-actions
released this
28 Oct 13:44
·
27 commits
to main
since this release
Changelog
v0.0.6-beta-1 (2022-10-28)
-
Make metrics service optional #60
-
Limit filesystem reports to discoblocks #51
-
Change %d to optional in mount path #27
-
Create new disk on case of maximum size #26
-
Watch pod deletion and umount volumes #68
-
Write documentation about Ondat integration #57
How to try it
Prerequisite
- Kubernetes cluster
- Kubeconfig to deploy
- Configured AWS EBS CSI driver
- Installed Cert Manager (
make deploy-cert-manager
should help)
How to try it
cat <<EOF | kubectl apply -f -
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: ebs-sc
provisioner: ebs.csi.aws.com
parameters:
type: gp3
allowVolumeExpansion: true
reclaimPolicy: Retain
volumeBindingMode: WaitForFirstConsumer
EOF
kubectl apply -f https://github.com/ondat/discoblocks/releases/download/v0.0.6-beta-1/discoblocks-bundle.yaml
cat <<EOF | kubectl apply -f -
apiVersion: discoblocks.ondat.io/v1
kind: DiskConfig
metadata:
name: nginx
spec:
storageClassName: ebs-sc
capacity: 1Gi
mountPointPattern: /usr/share/nginx/html/data
nodeSelector:
matchLabels:
kubernetes.io/os: linux
podSelector:
app: nginx
policy:
upscaleTriggerPercentage: 80
maximumCapacityOfDisk: 2Gi
maximumNumberOfDisks: 3
coolDown: 10m
EOF
kubectl apply create deployment --image=nginx nginx
Build your own version
git clone -b v0.0.6-beta-1 https://github.com/ondat/discoblocks.git
cd discoblocks
export IMG=myregistry/discconfig:current
make docker-build docker-push deploy bundle
kubectl apply -f discoblocks-bundle.yaml
* This Changelog was automatically generated by github_changelog_generator