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

Custom, on-prem deployment requires a "persistent-disk-name" that doesn't seem to actually be used in the manifest #3312

Open
gabrielgrant opened this issue Dec 21, 2018 · 3 comments

Comments

@gabrielgrant
Copy link
Contributor

from the on-prem docs:

pachctl deploy custom --persistent-disk google --object-store s3 <persistent disk name> <persistent disk size> <object store bucket> <object store id> <object store secret> <object store endpoint> --static-etcd-volume=${STORAGE_NAME} --dry-run > deployment.json

Note that both a ${STORAGE_NAME} is passed as --static-etcd-volume, and a <persistent disk name> is passed as one of two <persistent disk args> (as referred to on the pachctl deploy custom docs page), but AFAICT only the static-etcd-volume name actually appears in the generated manifest

Wondering if this is a hold-over from the days of deploying a rethink DB?

Related: #2771

@JoeyZwicker
Copy link
Member

Is this a docs issue or actually a needed change with the deploy custom command?

@JoeyZwicker JoeyZwicker added this to the 1.9 milestone Jan 16, 2019
@gabrielgrant
Copy link
Contributor Author

i think it's a change needed in the deploy command to just remove this (seemingly) unused field, but if it used somewhere that i'm missing, then it certainly needs to be better documented

@pappasilenus
Copy link
Contributor

@gabrielgrant @JoeyZwicker I'm documenting this now. I believe this is a holdover from the days before StatefulSets, when we added the required flags to distinguish between a deployment using a Persistent Volume and a StatefulSet: either --dynamic-etcd-nodes and --static-etcd-volume. --static-etcd-volume now takes the argument that used to be this one. I believe we may now safely remove this required, but unused, argument, and only require the parameter for the size of the volume requested.

My document will reflect that it's currently required and reference this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

4 participants