-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OCP/OKD cluster installation on OCI [UPI/agnostic/None/External] #26
base: main
Are you sure you want to change the base?
Conversation
907af6c
to
b878cf5
Compare
0be3133
to
eaa6196
Compare
eaa6196
to
f3763c0
Compare
b39c6d7
to
e3d7754
Compare
@@ -0,0 +1,26 @@ | |||
--- | |||
# placeholder |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# placeholder |
@@ -0,0 +1,26 @@ | |||
--- | |||
# placeholder | |||
okd_cluster_destroy_instances_compartment_id: "{{ oci_compartment_id }}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The destroy flow must lookup by tags, at the same time the tags must be set for each billable resource.
# AWS Networks | ||
# AWS us-east-1: 10.0.0.0/16 (to 10.0.255.255/16) | ||
# AWS <unassigned>: 10.23.0.0/16 (to 10.23.255.255/19) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# AWS Networks | |
# AWS us-east-1: 10.0.0.0/16 (to 10.0.255.255/16) | |
# AWS <unassigned>: 10.23.0.0/16 (to 10.23.255.255/19) | |
# OCI Networks | |
# OCI us-sanjose-1: 10.0.0.0/16 (to 10.0.255.255/16) |
is_enabled: yes | ||
display_name: "{{ cluster_state.infra_id }}-igw" | ||
|
||
nat_gateway: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AWS supports many NGWs by VPC, the model of OCI subnet works (regional), multiple gateways by VCN seems to be useless.
# is_stateless: false | ||
# source_type: CIDR_BLOCK | ||
# description: Allow all inbound | ||
egress_security_rules: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be reviewed. Maybe it's interesting to delegate permissions to NSG and make sure everything will works correctly. NSG is best practice.
volumeBindingMode: WaitForFirstConsumer | ||
allowVolumeExpansion: true | ||
reclaimPolicy: Delete | ||
allowedTopologies: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can be removed?
roles/destroy/tasks/oci/compute.yaml
Outdated
compartment_id: "{{ okd_cluster_destroy_instances_compartment_id }}" | ||
id: "{{ inst.instances[0].id }}" | ||
preserve_boot_volume: false | ||
wait: no |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review
|
||
# - debug: var=_lb_out |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# - debug: var=_lb_out |
|
||
# - debug: var=_lb_del_out |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# - debug: var=_lb_del_out |
roles/os_mirror/tasks/main.yaml
Outdated
ansible.builtin.include_tasks: "./{{ os_mirror_from }}.yaml" | ||
|
||
- name: upload to provider {{ os_mirror_to_provider }} | ||
ansible.builtin.include_tasks: "./{{ os_mirror_to_provider }}.yaml" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add statements when it's not defined
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
1d7f705
to
b05d92c
Compare
b05d92c
to
ae71972
Compare
--- | ||
# placeholder | ||
okd_cluster_destroy_instances_compartment_id: "{{ oci_compartment_id }}" | ||
okd_cluster_destroy_instances: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO discovery by tag
roles/config/tasks/create.yaml
Outdated
@@ -1,57 +1,66 @@ | |||
--- | |||
# NOTE: we must deprecate this document in favor of 'modes': |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mode, action, or task?
* review and split non-provider intergration changes * update cloud_loadbalancer module * keep using amazon.s3_obj * testing SCOS and 5.5 AWS collection * Update mock-aws.yaml * rename okd-scos file to 4.13 * set correct values for release version
73222e3
to
a33dc5c
Compare
a33dc5c
to
c7cd6c7
Compare
6d8c496
to
459b509
Compare
e0ece31
to
47f3db4
Compare
Artifacts built by CI:
|
Artifacts built by CI:
|
Artifacts built by CI:
|
Artifacts built by CI:
|
Artifacts built by CI:
|
Artifacts built by CI:
|
Install OCP/OKD cluster in Oracle Cloud Infrastructure (OCI) using UPI
Tested Dist/OS:
UPI Stacks check list:
Internal stacks:
Documentation:
Pre-merge:
examples/
directoryDependencies merged