[Kubernetes] Rename minions to Kubernetes nodes

Change-Id: I64b8b199d536bb56529c5b2c4d2879c8deac3cb8
Closes-Bug: #1466348
(cherry picked from commit 4c719c37df)
This commit is contained in:
Stan Lagun 2015-10-22 23:14:40 +03:00 committed by Dmytro Dovbii
parent ff36be45aa
commit 1c07b817d3
5 changed files with 10 additions and 10 deletions

View File

@ -79,7 +79,7 @@ Methods:
External: $.exposeCAdvisor
- $._environment.securityGroupManager.addGroupIngress($securityGroupIngress)
- $._environment.reporter.report($, 'Setup Kubernetes Minion on {0}'.format($.instance.name))
- $._environment.reporter.report($, 'Setup Kubernetes Node on {0}'.format($.instance.name))
- $template: $resources.yaml('KubeMinionSetup.template').bind(dict(
name => $.instance.name,
ip => $.getIp(),
@ -100,7 +100,7 @@ Methods:
Body:
- If: $.getAttr(nodeConfigured, false)
Then:
- $._environment.reporter.report($this, 'Deleting Kubernetes Minion')
- $._environment.reporter.report($this, 'Deleting Kubernetes Node')
- $resources: new(sys:Resources)
- $template: $resources.yaml('RemoveMinion.template').bind(dict(
nodeId => $.getIp()

View File

@ -12,7 +12,7 @@
FormatVersion: 2.0.0
Version: 1.0.0
Name: Setup Kubernetes Minion
Name: Setup Kubernetes Node
Parameters:
name: $name

View File

@ -12,7 +12,7 @@
FormatVersion: 2.0.0
Version: 1.0.0
Name: Remove Minion
Name: Remove Kubernetes Node
Parameters:
nodeId: $nodeId

View File

@ -1,3 +1,3 @@
#!/bin/bash
echo "Deleting a Minion" >> /tmp/murano-kube.log
echo "Deleting Kubernetes Node" >> /tmp/murano-kube.log
/opt/bin/kubectl delete node $1 >> /tmp/murano-kube.log

View File

@ -80,20 +80,20 @@ Forms:
underline are allowed
- name: minionCount
type: integer
label: Initial/current number of minions
label: Initial/current number of Kubernetes nodes
initial: 2
minValue: 1
required: true
description: >-
Select number of minions
Select number of Kubernetes nodes
- name: maxMinionCount
type: integer
label: Maximum number of minions
label: Maximum number of Kubernetes nodes
initial: 3
required: true
minValue: 1
description: >-
Select maximum number of minions
Select maximum number of Kubernetes nodes
- name: assignFloatingIP
type: boolean
initial: true
@ -125,7 +125,7 @@ Forms:
type: integer
label: Initial/current number of gateway nodes
initial: 1
minValue: 0
minValue: 1
required: true
description: >-
External traffic will be routed through gateway nodes.