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

Kubernetes PVCs and Nova availability zones #2141

Closed
brutus333 opened this issue Jan 8, 2018 · 0 comments
Closed

Kubernetes PVCs and Nova availability zones #2141

brutus333 opened this issue Jan 8, 2018 · 0 comments

Comments

@brutus333
Copy link
Contributor

Is this a BUG REPORT or FEATURE REQUEST? (choose one):
FEATURE REQUEST

The default behavior of Kubernetes scheduler enforce volume placing constraints: the pod is scheduled to a node only if the persistent volume belongs to the same availability zone as the volume.
However, in Openstack clouds it is highly possible to have non-matching availability zones for Nova and Cinder.
The feature should implement a way to disable the placing constraint: for example, removing NoVolumeZoneConflict in the default scheduler policy file. This may be configured via an ansible variable or on all kubespray deployments in openstack.

Environment:

  • Cloud provider or hardware configuration:
    Openstack
  • OS (printf "$(uname -srm)\n$(cat /etc/os-release)\n"):
    Linux 4.10.0-35-generic x86_64
    NAME="Ubuntu"
    VERSION="16.04.3 LTS (Xenial Xerus)"
    ID=ubuntu
    ID_LIKE=debian
    PRETTY_NAME="Ubuntu 16.04.3 LTS"
    VERSION_ID="16.04"
    HOME_URL="http://www.ubuntu.com/"
    SUPPORT_URL="http://help.ubuntu.com/"
    BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
    VERSION_CODENAME=xenial
    UBUNTU_CODENAME=xenial
  • Version of Ansible (ansible --version):
    ansible 2.4.1.0
    config file = /opt/workshop/ansible.cfg
    configured module search path = [u'/var/lib/rundeck/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
    ansible python module location = /opt/workshop/pyenv/local/lib/python2.7/site-packages/ansible
    executable location = /opt/workshop/pyenv/bin/ansible
    python version = 2.7.12 (default, Nov 19 2016, 06:48:10) [GCC 5.4.0 20160609]

Kubespray version (commit) (git rev-parse --short HEAD):
7bae2a4

Network plugin used:
calico

Copy of your inventory file:
not relevant

Command used to invoke ansible:
not relevant

Output of ansible run:

not relevant
Anything else do we need to know:

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

No branches or pull requests

1 participant