Hi,
Below is my tsuru.conf
listen: "0.0.0.0:8080"
host: http://192.168.99.4:8080
debug: true
admin-team: admin
database:
url: 127.0.0.1:27017
name: tsurudb
git:
▽
unit-repo: /home/application/current
▽
api-server: http://127.0.0.1:8000
auth:
user-registration: true
scheme: native
routers:
▽
url: 127.0.0.1:27017
name: tsurudb
git:
unit-repo: /home/application/current
api-server: http://127.0.0.1:8000
auth:
user-registration: true
scheme: native
routers:
hipache:
type: hipache
domain: 192.168.99.4.nip.io
redis-server: 127.0.0.1:6379
repo-manager: gandalf
provisioner: docker
queue:
mongo-url: 127.0.0.1:27017
mongo-database: tsuru_queue
pubsub:
redis-host: 127.0.0.1
redis-port: 6379
docker:
bs:
image: tsuru/bs:v1
reporter-interval: 10
socket: /var/run/docker.sock
collection: docker_containers
port-allocator: tsuru
registry: 192.168.99.4:5000
repository-namespace: tsuru
router: hipache
deploy-cmd: /var/lib/tsuru/deploy
cluster:
storage: mongodb
mongo-url: 127.0.0.1:27017
mongo-database: dockercluster
run-cmd:
bin: /var/lib/tsuru/start
port: "8888"
ssh:
add-key-cmd: /var/lib/tsuru/add-key
user: ubuntu
volume-plans:
- name: testvolume
kubernetes:
storage-class: my-testvolume-storage-class
and I have restarted the `tsurud` service.
Whereas the `tsuru volume-plan-list` still returns with an empty list.
While trying to create a volume, returns with `config error`.
$ tsuru volume-create myvol ebs --pool kubepool -o capacity=1Gi --team admin
Error: Your conf is wrong:
What I'm trying to do: attach a volume to one of the apps deployed on kubernetes cluster.
The approach used: as per the Tsuru docs I tried to create a volume plane, then creating a volume with the newly created volume plane and bind it to the app.
Is this the right approach?
Need help on how to create volume plan / volume / binding volume to an app on k8s