Skip to content
This repository has been archived by the owner on Jun 27, 2019. It is now read-only.

Commit

Permalink
Merge pull request #7486 from smarterclayton/remove_non_static
Browse files Browse the repository at this point in the history
Make bootstrapping opt out and remove the legacy master install path
  • Loading branch information
openshift-merge-robot committed Apr 3, 2018
2 parents 74e1fb8 + ddf1aa2 commit 8e2eda9
Show file tree
Hide file tree
Showing 145 changed files with 576 additions and 2,568 deletions.
4 changes: 1 addition & 3 deletions .papr.inventory
Expand Up @@ -17,8 +17,6 @@ osm_host_subnet_length=9

[all:vars]
# bootstrap configs
openshift_node_groups=[{"name":"node-config-master","labels":["node-role.kubernetes.io/master=true","node-role.kubernetes.io/infra=true"]},{"name":"node-config-node","labels":["node-role.kubernetes.io/compute=true"]}]
openshift_master_bootstrap_enabled=true
openshift_master_bootstrap_auto_approve=true
openshift_master_bootstrap_auto_approver_node_selector={"node-role.kubernetes.io/master":"true"}
osm_controller_args={"experimental-cluster-signing-duration": ["20m"]}
Expand All @@ -34,6 +32,6 @@ ocp-master
ocp-master

[nodes]
ocp-master openshift_schedulable=true
ocp-master openshift_schedulable=true openshift_node_labels="{'node-role.kubernetes.io/infra':'true'}"
ocp-node1
ocp-node2
3 changes: 0 additions & 3 deletions .papr.sh
Expand Up @@ -32,9 +32,6 @@ upload_journals() {

trap upload_journals ERR

# make all nodes ready for bootstrapping
ansible-playbook -v -i .papr.inventory playbooks/openshift-node/private/image_prep.yml

# run the actual installer
ansible-playbook -v -i .papr.inventory playbooks/deploy_cluster.yml

Expand Down
2 changes: 1 addition & 1 deletion docs/best_practices_guide.adoc
Expand Up @@ -406,7 +406,7 @@ For consistency, role names SHOULD follow the above naming pattern. It is import
Many times the `technology` portion of the pattern will line up with a package name. It is advised that whenever possible, the package name should be used.

.Examples:
* The role to configure a master is called `openshift_master`
* The role to configure a master is called `openshift_control_plane`
* The role to configure OpenShift specific yum repositories is called `openshift_repos`

=== Filters
Expand Down
2 changes: 1 addition & 1 deletion docs/proposals/role_decomposition.md
Expand Up @@ -330,7 +330,7 @@ in meta/main.yml without:
## Avoiding overly verbose roles
When we are splitting our roles up into smaller components we want to ensure we
avoid creating roles that are, for a lack of a better term, overly verbose. What
do we mean by that? If we have `openshift_master` as an example, and we were to
do we mean by that? If we have `openshift_control_plane` as an example, and we were to
split it up, we would have a component for `etcd`, `docker`, and possibly for
its rpms/configs. We would want to avoid creating a role that would just create
certificates as those would make sense to be contained with the rpms and configs.
Expand Down
12 changes: 6 additions & 6 deletions inventory/hosts.example
Expand Up @@ -411,7 +411,7 @@ debug_level=2
#
# An OpenShift router will be created during install if there are
# nodes present with labels matching the default router selector,
# "region=infra". Set openshift_node_labels per node as needed in
# "node-role.kubernetes.io/infra=true". Set openshift_node_labels per node as needed in
# order to label nodes.
#
# Example:
Expand All @@ -420,8 +420,8 @@ debug_level=2
#
# Router selector (optional)
# Router will only be created if nodes matching this label are present.
# Default value: 'region=infra'
#openshift_hosted_router_selector='region=infra'
# Default value: 'node-role.kubernetes.io/infra=true'
#openshift_hosted_router_selector='node-role.kubernetes.io/infra=true'
#
# Router replicas (optional)
# Unless specified, openshift-ansible will calculate the replica count
Expand Down Expand Up @@ -462,7 +462,7 @@ debug_level=2
#
# An OpenShift registry will be created during install if there are
# nodes present with labels matching the default registry selector,
# "region=infra". Set openshift_node_labels per node as needed in
# "node-role.kubernetes.io/infra=true". Set openshift_node_labels per node as needed in
# order to label nodes.
#
# Example:
Expand All @@ -471,8 +471,8 @@ debug_level=2
#
# Registry selector (optional)
# Registry will only be created if nodes matching this label are present.
# Default value: 'region=infra'
#openshift_hosted_registry_selector='region=infra'
# Default value: 'node-role.kubernetes.io/infra=true'
#openshift_hosted_registry_selector='node-role.kubernetes.io/infra=true'
#
# Registry replicas (optional)
# Unless specified, openshift-ansible will calculate the replica count
Expand Down
2 changes: 1 addition & 1 deletion inventory/hosts.glusterfs.native.example
Expand Up @@ -31,7 +31,7 @@ master
# masters should be schedulable to run web console pods
master openshift_schedulable=True
# A hosted registry, by default, will only be deployed on nodes labeled
# "region=infra".
# "node-role.kubernetes.io/infra=true".
node0 openshift_schedulable=True
node1 openshift_schedulable=True
node2 openshift_schedulable=True
Expand Down
2 changes: 1 addition & 1 deletion inventory/hosts.glusterfs.registry-only.example
Expand Up @@ -37,7 +37,7 @@ master
# masters should be schedulable to run web console pods
master openshift_schedulable=True
# A hosted registry, by default, will only be deployed on nodes labeled
# "region=infra".
# "node-role.kubernetes.io/infra=true".
node0 openshift_node_labels="{'region': 'infra'}" openshift_schedulable=True
node1 openshift_node_labels="{'region': 'infra'}" openshift_schedulable=True
node2 openshift_node_labels="{'region': 'infra'}" openshift_schedulable=True
Expand Down
2 changes: 1 addition & 1 deletion inventory/hosts.glusterfs.storage-and-registry.example
Expand Up @@ -43,7 +43,7 @@ node0 openshift_schedulable=True
node1 openshift_schedulable=True
node2 openshift_schedulable=True
# A hosted registry, by default, will only be deployed on nodes labeled
# "region=infra".
# "node-role.kubernetes.io/infra=true".
node3 openshift_node_labels="{'region': 'infra'}" openshift_schedulable=True
node4 openshift_node_labels="{'region': 'infra'}" openshift_schedulable=True
node5 openshift_node_labels="{'region': 'infra'}" openshift_schedulable=True
Expand Down
1 change: 0 additions & 1 deletion playbooks/aws/provisioning-inventory.example.ini
Expand Up @@ -11,7 +11,6 @@ etcd
openshift_deployment_type=origin
openshift_cloudprovider_kind=aws

openshift_master_bootstrap_enabled=True
openshift_master_api_port=443

openshift_hosted_router_wait=False
Expand Down
20 changes: 0 additions & 20 deletions playbooks/byo/openshift-cluster/upgrades/v3_6/README.md

This file was deleted.

5 changes: 0 additions & 5 deletions playbooks/byo/openshift-cluster/upgrades/v3_6/upgrade.yml

This file was deleted.

This file was deleted.

This file was deleted.

20 changes: 0 additions & 20 deletions playbooks/byo/openshift-cluster/upgrades/v3_7/README.md

This file was deleted.

5 changes: 0 additions & 5 deletions playbooks/byo/openshift-cluster/upgrades/v3_7/upgrade.yml

This file was deleted.

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion playbooks/common/openshift-cluster/upgrades/v3_6/roles

This file was deleted.

44 changes: 0 additions & 44 deletions playbooks/common/openshift-cluster/upgrades/v3_6/upgrade.yml

This file was deleted.

This file was deleted.

38 changes: 0 additions & 38 deletions playbooks/common/openshift-cluster/upgrades/v3_6/upgrade_nodes.yml

This file was deleted.

12 changes: 0 additions & 12 deletions playbooks/common/openshift-cluster/upgrades/v3_6/validator.yml

This file was deleted.

1 change: 0 additions & 1 deletion playbooks/common/openshift-cluster/upgrades/v3_7/roles

This file was deleted.

0 comments on commit 8e2eda9

Please sign in to comment.