-
Notifications
You must be signed in to change notification settings - Fork 769
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
How to install multiple instances of the provisioner in a cluster #118
Comments
If you want to use multiple instances, you need to understand the following: Seperating by addressed NFS-Servers (e.g. you want to address 2 different NFS-Servers for 2 different use-cases) -> separate deployment.yaml + separate StorageClass.yaml As far as I tested, you can reuse ClusterRole and ServiceAccount for multiple instances. As your Error shows: you are trying to bring up multiple ClusterRoles of the same type with the same name. I recommend starting with .yaml files and use "kustomize" to learn with. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
cloud build: double the timeout, now 1 hour
It is not obvious how to install multiple instances of the provisioner in a cluster (e.g. pointing to different NFS servers or exported directories).
By trial and error I have found that there are two pre-requisites, at least when installing with Helm.
Error: rendered manifests contain a resource that already exists. Unable to continue with install: ClusterRole "nfs-prov-nfs-subdir-external-provisioner-runner" in namespace "" exists and cannot be imported into the current release: invalid ownership metadata; annotation validation error: key "meta.helm.sh/release-namespace" must equal "prod": current value is "dev"
Maybe it would make sense to provide an additional section in the documentation describing how to install multiple instances of the provisioner?
The text was updated successfully, but these errors were encountered: