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

Deployment with Infra nodes #166

Open
ripleyhart opened this issue Jun 14, 2019 · 3 comments
Open

Deployment with Infra nodes #166

ripleyhart opened this issue Jun 14, 2019 · 3 comments
Assignees

Comments

@ripleyhart
Copy link

Tried many deployments with the following configuration and labels for nodes:

3 x Masters
2 x Infra
3 x compute

Installation would fail as registry and router pods would not not create when assigned and scheduled to infra roles, need to be assigned to master.

Here are the node group labels used:

openshift_node_groups=[{'name': 'node-config-master', 'labels': ['node-role.kubernetes.io/master=true', 'node-role.kubernetes.io/compute=true', 'install-monitor=true'], 'edits': [{ 'key': 'kubeletArguments.make-iptables-util-chains','value': ['false']}]}, {'name': 'node-config-infra', 'labels': ['node-role.kubernetes.io/infra=true'], 'edits': [{ 'key': 'kubeletArguments.make-iptables-util-chains','value': ['false']}]}, {'name': 'node-config-compute', 'labels': ['node-role.kubernetes.io/compute=true'], 'edits': [{ 'key': 'kubeletArguments.make-iptables-util-chains','value': ['false']}]}]

Can documentation/option be updated to support this typical OpenShift deployment architecture?

@ripleyhart
Copy link
Author

This was tested on OpenShift 3.11.82 as per instructions in the master branch.

@pdellaert
Copy link
Member

Hi @arctiqhart,

You can fix this by marking your infra with the label 'node-role.kubernetes.io/compute=true', as well. This is because we need to deploy our Nuage CNI, VRS and Infra pod (which are deployed as part of a daemonset) on the infra nodes as well. We've noticed there are improvements possible that might not require that label in the future, but for now, this is required.

Very valid remark on documentation. I'll be adding this as an extra note.

Regards,
Philippe

@pdellaert pdellaert self-assigned this Jun 16, 2019
@ripleyhart
Copy link
Author

@pdellaert I absolutely tried that. The nodes did get labelled properly, however, the Nuage Infra PODS, OCP router and registry would not begin running. I'd like to reproduce this and we can have a look. Definitely something to do with the labelling/node group structure.

Please join our Slack and we can chat on there.

Hart

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

2 participants