Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace quay.io/cybozu/ubuntu with official ubuntu #163

Merged
merged 3 commits into from
Jan 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
satoru-takeuchi marked this conversation as resolved.
Show resolved Hide resolved
{{ 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/
cupnes marked this conversation as resolved.
Show resolved Hide resolved
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