-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #221 from yussufsh/release-4.6
Backport PRs to Release 4.6
- Loading branch information
Showing
13 changed files
with
314 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -212,9 +212,9 @@ $ scp -r -i data/id_rsa [email protected]:~/openstack-upi/auth/\* . | |
OpenShift CLI `oc` can be downloaded from the following links. Use the one specific to your client system architecture. | ||
- [Mac OSX](https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/oc/4.6/macosx/oc.tar.gz) | ||
- [Linux (x86_64)](https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/oc/4.6/linux/oc.tar.gz) | ||
- [Windows](https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/oc/4.6/windows/oc.zip) | ||
- [Mac OSX](https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/stable-4.6/openshift-client-mac.tar.gz) | ||
- [Linux (x86_64)](https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/stable-4.6/openshift-client-linux.tar.gz) | ||
- [Windows](https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/stable-4.6/openshift-client-windows.zip) | ||
Download the specific file, extract it and place the binary in a directory that is on your `PATH` | ||
For more details check the following [link](https://docs.openshift.com/container-platform/4.6/cli_reference/openshift_cli/getting-started-cli.html) | ||
|
@@ -240,11 +240,11 @@ To further debug and diagnose cluster problems, use 'kubectl cluster-info dump' | |
|
||
$ oc get nodes | ||
NAME STATUS ROLES AGE VERSION | ||
master-0 Ready master 13h v1.19.0+d59ce34 | ||
master-1 Ready master 13h v1.19.0+d59ce34 | ||
master-2 Ready master 13h v1.19.0+d59ce34 | ||
worker-0 Ready worker 13h v1.19.0+d59ce34 | ||
worker-1 Ready worker 13h v1.19.0+d59ce34 | ||
master-0 Ready master 11h v1.19.0+43983cd | ||
master-1 Ready master 11h v1.19.0+43983cd | ||
master-2 Ready master 11h v1.19.0+43983cd | ||
worker-0 Ready worker 11h v1.19.0+43983cd | ||
worker-1 Ready worker 11h v1.19.0+43983cd | ||
``` | ||
>**Note:** The OpenShift command-line client `oc` is already configured on the bastion node with kubeconfig placed at `~/.kube/config`. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,8 +42,17 @@ In order to retrieve the PowerVS region, zone and instance specific details plea | |
| ibmcloud_region | ibmcloud_zone | | ||
|-----------------|----------------| | ||
| eu-de | eu-de-1 | | ||
| lon | lon0 | | ||
| eu-de | eu-de-2 | | ||
| dal | dal12 | | ||
| lon | lon04 | | ||
| lon | lon06 | | ||
| syd | syd04 | | ||
| sao | sao01 | | ||
| tor | tor01 | | ||
| tok | tok04 | | ||
| us-east | us-east | | ||
|
||
NOTE: us-east is Washington, DC datacenter. | ||
|
||
Tieing all these, the values to be used will be as shown below: | ||
``` | ||
|
@@ -76,11 +85,11 @@ The default flavors present under the compute-vars folder: | |
|
||
`memory` is in `GBs` and `count` specifies the number of VMs that should be created for each type. | ||
|
||
To enable high availability (HA) for the bastion node set the bastion `count` value to `2`. | ||
Note that when HA is enabled, the automation will not setup NFS storage on bastion. Value `1` for bastion `count` implies the default non-HA bastion setup. | ||
To enable high availability (HA) for cluster services running on the bastion set the bastion `count` value to 2. | ||
Note that in case of HA, the automation will not setup NFS storage. `count` of 1 for bastion implies the default non-HA bastion setup. | ||
|
||
You can optionally set worker `count` value to `0` in which case all the cluster pods will be running on the master/supervisor nodes. | ||
Ensure that you use proper sizing for master/supervisor nodes to avoid resource starvation for containers. | ||
You can optionally set the worker `count` value to 0 in which case all the cluster pods will be running on the master/supervisor nodes. | ||
Ensure you use proper sizing for master/supervisor nodes to avoid resource starvation for containers. | ||
|
||
For PowerVS, processors are equal to entitled physical count. So **N** processors == **N** physical core entitlements == **ceil[N]** vCPUs. | ||
Here are some examples to help you understand the relationship. | ||
|
@@ -131,14 +140,19 @@ Please note that only OpenSSH formatted keys are supported. Refer to the followi | |
|
||
Create the SSH key-pair and keep it under the `data` directory | ||
|
||
These set of variables specify the RHEL subscription details. | ||
These set of variables specify the RHEL subscription details, RHEL subscription supports two methods: one is using username and password, the other is using activation key. | ||
This is sensitive data, and if you don't want to save it on disk, use environment variables `RHEL_SUBS_USERNAME` and `RHEL_SUBS_PASSWORD` and pass them to `terraform apply` command as shown in the [Quickstart guide](./quickstart.md#setup-terraform-variables). | ||
If you are using CentOS as the bastion image, then leave these variables as-is. | ||
|
||
``` | ||
rhel_subscription_username = "[email protected]" | ||
rhel_subscription_password = "mypassword" | ||
``` | ||
Or define following variables to use activation key for RHEL subscription: | ||
``` | ||
rhel_subscription_org = "org-id" | ||
rhel_subscription_activationkey = "activation-key" | ||
``` | ||
|
||
This variable specifies the number of hardware threads (SMT) that's used for the bastion node. | ||
Default setting should be fine for majority of the use-cases. | ||
|
Oops, something went wrong.