summaryrefslogtreecommitdiffstats
path: root/nodepool
diff options
context:
space:
mode:
authorAndrew Grimberg <agrimberg@linuxfoundation.org>2016-02-25 08:47:51 -0800
committerAndrew Grimberg <agrimberg@linuxfoundation.org>2016-02-25 08:47:51 -0800
commit0b5adeb3f66be1524fc5ab2271aa8cd6cbed4586 (patch)
tree8b27eed10366e179806167fa930d36ff58729db8 /nodepool
parentd9f89c12bb44c90eb6afdd0a4ade3192b319cf35 (diff)
Make subnodes easily identifiable
When nodepool brings online a node and subnodes they are presently all named the same way. This makes it difficult to pinpoint the leader node of a set if we need to do any work directly against OpenStack. This change will cause sub-nodes to have the prefix of np-sub- and the rest of the name from the leader node making it clear. Change-Id: I536b2e4437a93f118436e8eeb6869a2f691be0f6 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
Diffstat (limited to 'nodepool')
-rw-r--r--nodepool/nodepool.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/nodepool/nodepool.yaml b/nodepool/nodepool.yaml
index b603928b..70863a8c 100644
--- a/nodepool/nodepool.yaml
+++ b/nodepool/nodepool.yaml
@@ -71,4 +71,4 @@ targets:
#hostname: 'np-{label.name}-{provider.name}-{node_id}'
#subnode-hostname: 'np-{label.name}-{provider.name}-{node_id}'
hostname: 'np-{label.name}-{node_id}'
- subnode-hostname: 'np-{label.name}-{node_id}'
+ subnode-hostname: 'np-sub-{label.name}-{node_id}'