[Kubernetes] Rename minions to Kubernetes nodes

Change-Id: I64b8b199d536bb56529c5b2c4d2879c8deac3cb8
Closes-Bug: #1466348
This commit is contained in:
Stan Lagun 2015-10-22 23:14:40 +03:00
parent 84e7e83cb6
commit 095dece649
5 changed files with 11 additions and 11 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(),
@ -98,7 +98,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('EtcdRemoveMember.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
@ -70,4 +70,4 @@ Scripts:
EntryPoint: restartDocker.sh
Options:
captureStdout: false
captureStderr: false
captureStderr: false

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

@ -83,20 +83,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
@ -128,7 +128,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.