Fix OpenShift driver typo

This is a follow-up to fix typo introduced by:
https://review.openstack.org/570667

Change-Id: I7178860f2b7a47cf58e96ee1d2ea32ceeeab5a18
This commit is contained in:
Tristan Cacqueray 2019-01-17 05:21:08 +00:00
parent c1378c4407
commit 301101d06c
2 changed files with 13 additions and 7 deletions

View File

@ -1125,7 +1125,7 @@ Selecting the kubernetes driver adds the following options to the
.. value:: namespace
Namespace labels provide an empty namespace configured
with a service account that can creates pods, services,
with a service account that can create pods, services,
configmaps, etc.
.. value:: pod
@ -1193,7 +1193,7 @@ Selecting the openshift driver adds the following options to the
Before using the driver, Nodepool services need a ``kube/config`` file
manually installed with self-provisioner (the service account needs to
be able to create project) context.
be able to create projects) context.
Make sure the context is present in ``oc config get-contexts`` command
output.
@ -1240,13 +1240,13 @@ Selecting the openshift driver adds the following options to the
.. value:: project
Project labels provide an empty project configured
with a service account that can creates pods, services,
with a service account that can create pods, services,
configmaps, etc.
.. value:: pod
Pod labels provide a dedicated project with a single pod
created using the
Pod labels provide a new dedicated project with a single
pod created using the
:attr:`providers.[openshift].labels.image` parameter and it
is configured with a service account that can exec and get
the logs of the pod.
@ -1257,12 +1257,18 @@ Selecting the openshift driver adds the following options to the
:value:`providers.[openshift].labels.type.pod` label type;
specifies the image name used by the pod.
.. attr:: image-pull
:default: IfNotPresent
:type: str
The ImagePullPolicy, can be IfNotPresent, Always or Never.
.. attr:: cpu
:type: int
Only used by the
:value:`providers.[openshift].labels.type.pod` label type;
specifies the amount of cpu to request for the pod.
specifies the number of cpu to request for the pod.
.. attr:: memory
:type: int

View File

@ -118,7 +118,7 @@ class OpenshiftNodeRequestHandler(NodeRequestHandler):
node_states = [node.state for node in self.nodeset]
# NOTE: It very important that NodeLauncher always sets one of
# NOTE: It's very important that NodeLauncher always sets one of
# these states, no matter what.
if not all(s in (zk.READY, zk.FAILED, zk.ABORTED)
for s in node_states):