v0.0.6-beta-2
Pre-releaseChangelog
Unreleased
-
Automated release pipeline #62
-
Replace Ondat version from develop to a GA release #61
-
Mutation webhook vs. side effects #59
-
Full support of daemonsets #50
-
Ondat driver isn't production ready #49
-
Support scratch images #74
-
Tail of StorageClass and finalizer #72
-
ReadWriteDeamon vs. PVC finalizers #66
-
Support autoscaling with pod.Spec.HostPID #64
v0.0.6-beta-2 (2022-11-07)
-
Fix code scanning alert - Pinned-Dependencies #92
-
Fix code scanning alert - Incorrect conversion between integer types #89
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-2/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-2 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