Bug 1320231 - Set kubernetesMasterConfig.admissionConfig in the installer
Summary: Set kubernetesMasterConfig.admissionConfig in the installer
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.2.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Devan Goodwin
QA Contact: Ma xiaoqiang
URL:
Whiteboard:
: 1354321 (view as bug list)
Depends On:
Blocks: OSOPS_V3
TreeView+ depends on / blocked
 
Reported: 2016-03-22 15:29 UTC by Stefanie Forrester
Modified: 2016-09-23 11:02 UTC (History)
10 users (show)

Fixed In Version: openshift-ansible-3.0.74-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-12 16:39:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1065 0 normal SHIPPED_LIVE Red Hat OpenShift Enterprise atomic-openshift-utils bug fix update 2016-05-12 20:32:56 UTC

Description Stefanie Forrester 2016-03-22 15:29:57 UTC
Description of problem:
For OpenShift Online, we're going to need to set kubernetesMasterConfig.admissionConfig at install time.

Version-Release number of selected component (if applicable):
3.2

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:

There is no way to set kubernetesMasterConfig.admissionConfig in the installer.

Expected results:

Ability to define kubernetesMasterConfig.admissionConfig in the BYO inventory at install time.

Additional info:

The exact settings we'll be using for INT are listed here, for reference.

https://github.com/openshift/online/issues/62#issuecomment-199369802

Comment 2 Troy Dawson 2016-03-28 21:03:23 UTC
This pull request has passed both tests, but has not been merged.

Comment 3 Troy Dawson 2016-03-30 18:53:09 UTC
The pull request still hasn't merged, and appears to still be worked on.  I'm putting this back in assigned.

Comment 5 Ma xiaoqiang 2016-04-07 01:32:13 UTC
Check on openshift-ansible -b master

Scenarios 1:
Install env without admissionConfig
Check the master config
admissionConfig:
apiLevels:
<--snip-->
kubernetesMasterConfig:
  admissionConfig:
  apiServerArguments:
<--snip-->
Get the expected result

Install env with master admissionConfig
openshift_master_admission_plugin_order=["RunOnceDuration", "NamespaceLifecycle", "OriginPodNodeEnvironment", "ClusterResourceOverride", "LimitRanger", "ServiceAccount", "SecurityContextConstraint", "ResourceQuota"]
openshift_master_admission_plugin_config={"RunOnceDuration":{"configuration":{"apiVersion":"v1","kind":"RunOnceDurationConfig","activeDeadlineSecondsOverride":3600}},"ClusterResourceOverride":{"configuration":{"apiVersion":"v1","kind":"ClusterResourceOverrideConfig","limitCPUToMemoryPercent":200,"cpuRequestToLimitPercent":6,"memoryRequestToLimitPercent":60}}}
{openshift_master_kube_admission_plugin_order=["providerSelection","RunOnceDuration"]
openshift_master_kube_admission_plugin_config={"RunOnceDuration":{"configuration": "Just a testing"}}

Check the result
<--snip-->
admissionConfig:
  pluginOrderOverride:
    - RunOnceDuration
    - NamespaceLifecycle
    - OriginPodNodeEnvironment
    - ClusterResourceOverride
    - LimitRanger
    - ServiceAccount
    - SecurityContextConstraint
    - ResourceQuota
  pluginConfig:
    ClusterResourceOverride:
      configuration:
        apiVersion: v1
        cpuRequestToLimitPercent: 6
        kind: ClusterResourceOverrideConfig
        limitCPUToMemoryPercent: 200
        memoryRequestToLimitPercent: 60
    RunOnceDuration:
      configuration:
        activeDeadlineSecondsOverride: 3600
        apiVersion: v1
        kind: RunOnceDurationConfig
apiLevels:
<--snip-->
kubernetesMasterConfig:
  admissionConfig:
    pluginOrderOverride:
      - providerSelection
      - RunOnceDuration
    pluginConfig:
      RunOnceDuration:
        configuration: Just a testing
  apiServerArguments:

get the expected results.

Move this issue to VERIFIED.

Comment 7 errata-xmlrpc 2016-05-12 16:39:11 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1065

Comment 8 Devan Goodwin 2016-09-21 18:54:48 UTC
*** Bug 1354321 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.