Bug 1661054

Summary: [DOCS] Improve master-config.yaml ExpandPersistentVolumes example
Product: OpenShift Container Platform Reporter: Takayoshi Kimura <tkimura>
Component: DocumentationAssignee: Vikram Goyal <vigoyal>
Status: CLOSED NOTABUG QA Contact: Liang Xia <lxia>
Severity: medium Docs Contact: Vikram Goyal <vigoyal>
Priority: medium    
Version: 3.11.0CC: aos-bugs, jokerman, mmccomas, wsun
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-31 23:57:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Takayoshi Kimura 2018-12-20 00:59:50 UTC
Document URL: 

https://docs.openshift.com/container-platform/3.11/dev_guide/expanding_persistent_volumes.html#enabling_expansion_pvc

Describe the issue: 

feature-gates ExpandPersistentVolumes=true needs both under apiServerArguments and controllerArguments but the example only shows apiServerArguments one.

> # cat /etc/origin/master/master-config.yaml
> ...
> kubernetesMasterConfig:
>   apiServerArguments:
>   ...
>     feature-gates:
>     - ExpandPersistentVolumes=true
> 
> # master-restart api
> # master-restart controllers

Suggestions for improvement: 

> # cat /etc/origin/master/master-config.yaml
> ...
> kubernetesMasterConfig:
>   apiServerArguments:
>   ...
>     feature-gates:
>     - ExpandPersistentVolumes=true
>   controllerArguments:
>   ...
>     feature-gates:
>     - ExpandPersistentVolumes=true
> 
> # master-restart api
> # master-restart controllers

Additional information: