Skip to content

Commit

Permalink
Merge pull request #163 from topolvm/goodby-cybozu-image
Browse files Browse the repository at this point in the history
Replace quay.io/cybozu/ubuntu with official ubuntu
  • Loading branch information
satoru-takeuchi authored Jan 13, 2023
2 parents 99b9ed5 + d0f06d6 commit b9b498d
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 7 deletions.
11 changes: 9 additions & 2 deletions e2e/testdata/pod-pvc-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,15 @@ metadata:
spec:
containers:
- name: ubuntu
image: quay.io/cybozu/ubuntu:20.04
command: ["/usr/local/bin/pause"]
image: ubuntu:20.04
command:
- bash
- -c
- |
sleep inf &
trap "kill -SIGTERM $!" SIGTERM
wait $!
exit
{{ if eq .volumeMode "Block" }}
volumeDevices:
- name: my-volume
Expand Down
9 changes: 6 additions & 3 deletions example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ Deploy [TopoLVM] on [kind] as follows:
Deploy [Prometheus Operator] via [helm] as follows:

```
kubectl create ns prometheus
helm install prometheus stable/prometheus-operator --namespace=prometheus
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo update
helm install prometheus prometheus-community/kube-prometheus-stack --create-namespace --namespace=prometheus
```

## Deploy pvc-autoresizer
Expand All @@ -29,7 +30,9 @@ kind load docker-image --name topolvm-example ghcr.io/topolvm/pvc-autoresizer:de
Deploy `pvc-autoresizer`:

```
make deploy
helm repo add pvc-autoresizer https://topolvm.github.io/pvc-autoresizer/
helm repo update
helm install pvc-autoresizer pvc-autoresizer/pvc-autoresizer --create-namespace --namespace=pvc-autoresizer --set "controller.args.prometheusURL=http://prometheus-kube-prometheus-prometheus.prometheus.svc:9090"
```

## Enable auto-resizing
Expand Down
11 changes: 9 additions & 2 deletions example/podpvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,15 @@ metadata:
spec:
containers:
- name: ubuntu
image: quay.io/cybozu/ubuntu:20.04
command: ["/usr/local/bin/pause"]
image: ubuntu:20.04
command:
- bash
- -c
- |
sleep inf &
trap "kill -SIGTERM $!" SIGTERM
wait $!
exit
volumeMounts:
- mountPath: /test1
name: my-volume
Expand Down

0 comments on commit b9b498d

Please sign in to comment.