@@ -263,86 +263,43 @@ it to create instances and other resources. See:
263263https://cloud.google.com/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource
264264
265265### OCI - Oracle Cloud Infrastructure
266- OCI documentation is located at
267- 1 . https://docs.oracle.com/en-us/iaas/Content/home.htm
268- 2 . https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/terraform.htm
269-
270- The following is a list of OCI specific configuration variables that the user
271- needs to provide values (through ` make menuconfig ` interface).
272- 1 . ` CONFIG_TERRAFORM_SSH_CONFIG_USER `
273- - User name used for the logging into the cloud instance.
274- - Please use,
275- - `opc` for Oracle Linux.
276- - `ubuntu` for Ubuntu Linux
277- 2 . ` CONFIG_TERRAFORM_SSH_CONFIG_PUBKEY_FILE `
278- - Path to user's ssh public key (e.g. ` ~/.ssh/id_rsa.pub ` ).
279- - This key will be copied over to the cloud instance during its
280- creation.
281- 3 . ` CONFIG_TERRAFORM_OCI_REGION `
282- - String representing the name of the region (e.g. `us-ashburn-1`).
283- - https://docs.oracle.com/en-us/iaas/Content/anomaly/using/regions.htm
284- - List of the regions can be found at
285- https://docs.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm
286- 4 . ` CONFIG_TERRAFORM_OCI_TENANCY_OCID `
287- - OCID of the tenancy being used.
288- - In order to obtain the OCID, Please refer to
289- https://docs.oracle.com/en-us/iaas/Content/GSG/Tasks/contactingsupport_topic-Finding_Your_Tenancy_OCID_Oracle_Cloud_Identifier.htm
290- 5 . ` CONFIG_TERRAFORM_OCI_USER_OCID `
291- - OCID of the user.
292- - In order to obtain the OCID, Please refer to
293- https://docs.oracle.com/en-us/iaas/Content/API/Concepts/apisigningkey.htm#five
294- 6 . ` CONFIG_TERRAFORM_OCI_USER_PRIVATE_KEY_PATH `
295- - Path to API private key.
296- - Documentation
297- - Generating API keys.
298- Refer to section `Generating an API Signing Key (Linux and Mac OS X)`
299- at
300- https://docs.oracle.com/en-us/iaas/Content/API/Concepts/apisigningkey.htm
301- - Uploading Public API key.
302- Refer to section `How to Upload the Public Key` at
303- https://docs.oracle.com/en-us/iaas/Content/API/Concepts/apisigningkey.htm
304- - Video: https://www.youtube.com/watch?v=LMvYOSkXF1k
305- 7 . ` CONFIG_TERRAFORM_OCI_USER_FINGERPRINT `
306- - Finger print of the API key.
307- 8 . ` CONFIG_TERRAFORM_OCI_AVAILABLITY_DOMAIN ` ="VkEH: US-ASHBURN-AD-3 "
308- - String specifying the availability domain to use in the region
309- - Availability domain names can be obtained from the web page used to
310- launch an cloud instance.
311- 9 . ` CONFIG_TERRAFORM_OCI_COMPARTMENT_OCID `
312- - OCID of the compartment can be obtained by following the instructions
313- at
314- https://docs.oracle.com/en-us/iaas/Content/GSG/Tasks/contactingsupport_topic-Finding_the_OCID_of_a_Compartment.htm
315- 10 . ` CONFIG_TERRAFORM_OCI_SHAPE ` ="VM.Standard.E2.8"
316- - String representing the name of the compute shape to create.
317- - https://docs.oracle.com/en-us/iaas/Content/Compute/References/computeshapes.htm
318- 11 . ` CONFIG_TERRAFORM_OCI_OS_IMAGE_OCID `
319- - OCID of the OS image to be installed.
320- - Image's OCID can be obtained by following instructions at
321- https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/terraformbestpractices_topic-Referencing_Images.htm
322- 12 . ` CONFIG_TERRAFORM_OCI_SUBNET_OCID `
323- - OCID of the subnet to be assigned to the cloud instance.
324- - Overview:
325- https://docs.oracle.com/en-us/iaas/Content/Network/Tasks/Overview_of_VCNs_and_Subnets.htm
326- - Instructions on how to get a list of available subnets can be found at
327- https://docs.oracle.com/en-us/iaas/Content/Network/Tasks/get-subnet.htm
328- - Click on the hamburger menu provided the right side of a subnet entry
329- and select ` Copy OCID ` .
330- 13 . ` CONFIG_TERRAFORM_OCI_DATA_VOLUME_DISPLAY_NAME `
331- - String representing the name for the ` data ` disk.
332- - This is used for storing sources and binaries corresponding to Linux
333- kernel, Fstests & Kdevops.
334- 14 . ` CONFIG_TERRAFORM_OCI_DATA_VOLUME_DEVICE_FILE_NAME `
335- - Device node to be used for ` data ` disk.
336- - Please specify ` /dev/oracleoci/oraclevdb ` as the device file.
337- 15 . ` CONFIG_TERRAFORM_OCI_SPARSE_VOLUME_DISPLAY_NAME `
338- - String representing the name for the ` sparse ` disk.
339- - This is used for creating regular files to back loop devices.
340- 16 . ` CONFIG_TERRAFORM_OCI_SPARSE_VOLUME_DEVICE_FILE_NAME `
341- - Device node to be used for ` sparse ` disk.
342- - Please specify ` /dev/oracleoci/oraclevdc ` as the device file.
343- 17 . ` CONFIG_TERRAFORM_OCI_INSTANCE_FLEX_OCPUS `
344- - Number of OCPUs for a flexiable compute shape.
345- - https://docs.oracle.com/en-us/iaas/Content/Compute/References/computeshapes.htm#flexible
346- 18 . ` CONFIG_TERRAFORM_OCI_INSTANCE_FLEX_MEMORY_IN_GBS `
347- - Amount of RAM in GB for a flexiable compute shape.
348- - https://docs.oracle.com/en-us/iaas/Content/Compute/References/computeshapes.htm#flexible
266+
267+ kdevops supports using the OCI Public Cloud (OCI).
268+
269+ #### New To OCI?
270+
271+ You can find a generic tutorial guide at the following link. You'll
272+ need many (but not all) of these steps to bring up kdevops with OCI.
273+
274+ https://docs.oracle.com/en-us/iaas/Content/dev/terraform/tutorials/tf-provider.htm
275+
276+ This explains what an "OCID" is:
277+
278+ https://docs.oracle.com/en-us/iaas/Content/General/Concepts/identifiers.htm
279+
280+ #### Quick Start
281+
282+ To authenticate to the Oracle cloud, kdevops uses the API Key
283+ authentication method, described here:
284+
285+ https://docs.oracle.com/en-us/iaas/Content/API/Concepts/apisigningkey.htm
286+
287+ To generate a signing key, follow these instructions:
288+
289+ https://docs.oracle.com/en-us/iaas/Content/API/Concepts/apisigningkey.htm#apisigningkey_topic_How_to_Generate_an_API_Signing_Key_Console
290+
291+ By default, kdevops picks up the "DEFAULT" entry in the config file.
292+ You can add more entries and use Kconfig to have kdevops use one
293+ of the non-default entries in that file.
294+
295+ OCI pre-configures an admin ssh user on each instance. Under the
296+ CONFIG_TERRAFORM_SSH_CONFIG_USER option, you need to explicitly set
297+ kconfig's ssh login name depending on which OS image you have
298+ selected:
299+
300+ - ` opc ` for Oracle Linux.
301+ - ` ubuntu ` for Ubuntu Linux
302+
303+ If your Ansible controller (where you run "make bringup") and your
304+ test instances operate inside the same subnet, you can disable the
305+ TERRAFORM_OCI_ASSIGN_PUBLIC_IP option for better network security.
0 commit comments