Skip to content

Commit c52a497

Browse files
committed
OSDOCS-11830 Split Networking content for ROSA with HCP
1 parent 125950d commit c52a497

File tree

50 files changed

+761
-426
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+761
-426
lines changed

_topic_maps/_topic_map_rosa_hcp.yml

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1014,6 +1014,87 @@ Topics:
10141014
# - Name: Advanced OADP features and functionalities
10151015
# File: oadp-advanced-topics
10161016
---
1017+
Name: Networking
1018+
Dir: networking
1019+
Distros: openshift-rosa-hcp
1020+
Topics:
1021+
- Name: About networking
1022+
File: about-managed-networking
1023+
- Name: Networking Operators
1024+
Dir: networking_operators
1025+
Distros: openshift-rosa-hcp
1026+
Topics:
1027+
- Name: AWS Load Balancer Operator
1028+
File: aws-load-balancer-operator
1029+
- Name: DNS Operator in Red Hat OpenShift Service on AWS
1030+
File: dns-operator
1031+
- Name: Ingress Operator in Red Hat OpenShift Service on AWS
1032+
File: ingress-operator
1033+
- Name: Ingress Node Firewall Operator in Red Hat OpenShift Service on AWS
1034+
File: ingress-node-firewall-operator
1035+
- Name: Network verification
1036+
File: network-verification
1037+
- Name: Configuring a cluster-wide proxy during installation
1038+
File: configuring-cluster-wide-proxy
1039+
- Name: CIDR range definitions
1040+
File: cidr-range-definitions
1041+
- Name: Network security
1042+
Dir: network_security
1043+
Distros: openshift-rosa-hcp
1044+
Topics:
1045+
- Name: Understanding network policy APIs
1046+
File: network-policy-apis
1047+
- Name: Cluster-scoped network policy
1048+
Dir: AdminNetworkPolicy
1049+
Distros: openshift-rosa-hcp
1050+
Topics:
1051+
- Name: About AdminNetworkPolicy
1052+
File: ovn-k-anp
1053+
- Name: About BaselineAdminNetworkPolicy
1054+
File: ovn-k-banp
1055+
- Name: Best practices cluster-wide network policy
1056+
File: ovn-k-anp-recommended-practices
1057+
- Name: Namespace-scoped network policy (NetworkPolicy)
1058+
Dir: network_policy
1059+
Distros: openshift-rosa-hcp
1060+
Topics:
1061+
- Name: About network policy
1062+
File: about-network-policy
1063+
- Name: Creating a network policy
1064+
File: creating-network-policy
1065+
- Name: Viewing a network policy
1066+
File: viewing-network-policy
1067+
- Name: Editing a network policy
1068+
File: editing-network-policy
1069+
- Name: Deleting a network policy
1070+
File: deleting-network-policy
1071+
- Name: Defining a default network policy for projects
1072+
File: default-network-policy
1073+
- Name: Configuring multitenant isolation with network policy
1074+
File: multitenant-network-policy
1075+
# Included for OSDOCS-13465
1076+
- Name: Audit logging for network security
1077+
File: logging-network-security
1078+
# OSDOCS-11830: Omitting egress firewall, ipsec encryption, zero egress
1079+
- Name: Configuring the primary cluster network
1080+
Dir: ovn_kubernetes_network_provider
1081+
Distros: openshift-rosa-hcp
1082+
Topics:
1083+
- Name: About the OVN-Kubernetes network plugin
1084+
File: about-ovn-kubernetes
1085+
# TODO OSDOCS-11830: The only instructional content in this section claims to be unsupported for HCP
1086+
# - Name: Configuring an egress IP address
1087+
# File: configuring-egress-ips-ovn
1088+
# OpenShift SDN not supported for HCP
1089+
- Name: Configuring Routes
1090+
Dir: routes
1091+
Distros: openshift-rosa-hcp
1092+
Topics:
1093+
- Name: Route configuration
1094+
File: route-configuration
1095+
- Name: Secured routes
1096+
File: secured-routes
1097+
---
10171098
Name: Nodes
10181099
Dir: nodes
10191100
Distros: openshift-rosa-hcp

cloud_experts_tutorials/cloud-experts-aws-load-balancer-operator.adoc

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,10 @@ toc::[]
2020

2121
include::snippets/mobb-support-statement.adoc[leveloffset=+1]
2222

23-
ifndef::openshift-rosa-hcp[]
2423
[TIP]
2524
====
2625
Load Balancers created by the AWS Load Balancer Operator cannot be used for xref:../networking/routes/route-configuration.adoc#route-configuration[OpenShift Routes], and should only be used for individual services or ingress resources that do not need the full layer 7 capabilities of an OpenShift Route.
2726
====
28-
endif::openshift-rosa-hcp[]
29-
ifdef::openshift-rosa-hcp[]
30-
[TIP]
31-
====
32-
Load Balancers created by the AWS Load Balancer Operator cannot be used for link:https://docs.openshift.com/rosa/networking/routes/route-configuration.html[OpenShift Routes], and should only be used for individual services or ingress resources that do not need the full layer 7 capabilities of an OpenShift Route.
33-
====
34-
endif::openshift-rosa-hcp[]
3527

3628
The link:https://kubernetes-sigs.github.io/aws-load-balancer-controller/[AWS Load Balancer Controller] manages AWS Elastic Load Balancers for a {product-title} (ROSA) cluster. The controller provisions link:https://docs.aws.amazon.com/elasticloadbalancing/latest/application/introduction.html[AWS Application Load Balancers (ALB)] when you create Kubernetes Ingress resources and link:https://docs.aws.amazon.com/elasticloadbalancing/latest/network/introduction.html[AWS Network Load Balancers (NLB)] when implementing Kubernetes Service resources with a type of LoadBalancer.
3729

@@ -54,11 +46,12 @@ AWS ALBs require a multi-AZ cluster, as well as three public subnets split acros
5446

5547
ifndef::openshift-rosa-hcp[]
5648
* xref:../rosa_install_access_delete_clusters/rosa-sts-creating-a-cluster-quickly.adoc#rosa-sts-creating-a-cluster-quickly[A multi-AZ ROSA classic cluster]
49+
* BYO VPC cluster
50+
//Moved inside ifndef since this is always true for HCP clusters
5751
endif::openshift-rosa-hcp[]
5852
ifdef::openshift-rosa-hcp[]
59-
* link:https://docs.openshift.com/rosa-hcp/rosa_hcp/rosa-hcp-sts-creating-a-cluster-quickly.html[A multi-AZ ROSA cluster]
53+
* xref:../rosa_hcp/rosa-hcp-sts-creating-a-cluster-quickly.adoc#rosa-hcp-sts-creating-a-cluster-quickly[A multi-AZ {hcp-title} cluster]
6054
endif::openshift-rosa-hcp[]
61-
* BYO VPC cluster
6255
* AWS CLI
6356
* OC CLI
6457

@@ -123,6 +116,7 @@ $ aws ec2 create-tags \
123116
--tags Key=kubernetes.io/role/internal-elb,Value='' \
124117
--region ${REGION}
125118
----
119+
//subnets are tagged already after rosa create network
126120

127121
[id="installation_{context}"]
128122
== Installation
@@ -355,6 +349,8 @@ $ curl "http://${INGRESS}"
355349
----
356350
Hello OpenShift!
357351
----
352+
//TODO OSDOCS-11830: Couldn't get either of these validation checks to work, Andy R indicated that the related error seems to be that user is not authorized to do operation elasticloadbalancing:AddTags because "no identity based policy allows elasticloadbalancing:AddTags" however the linked policy does seem to allow that as far as I can tell: https://raw.githubusercontent.com/rh-mobb/documentation/main/content/rosa/aws-load-balancer-operator/load-balancer-operator-policy.json
353+
// That said, I'm not sure we should be getting our example policy from the rh-mobb repo
358354

359355
. Deploy an AWS NLB for your hello world application:
360356
+

microshift_configuring/microshift-nw-ipv6-config.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ include::modules/microshift-nw-ipv6-dual-stack-migrating-config.adoc[leveloffset
1919
include::modules/microshift-nw-ipv6-dual-stack-reset-ipfam.adoc[leveloffset=+1]
2020

2121
//OCP module, edit with conditionals and care
22-
include::modules/nw-ovn-kuberentes-limitations.adoc[leveloffset=+1]
22+
include::modules/nw-ovn-kubernetes-limitations.adoc[leveloffset=+1]
2323

2424
[id="additional-resources_microshift-ipv6-config_{context}"]
2525
[role="_additional-resources"]

modules/albo-deleting.adoc

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,31 @@
22
//
33
:_mod-docs-content-type: PROCEDURE
44
[id="aws-load-balancer-operator-deleting_{context}"]
5-
= Deleting the example AWS Load Balancer Operator installation
5+
= Removing the AWS Load Balancer Operator
66

7-
. Delete the hello world application namespace (and all the resources in the namespace):
7+
If you no longer need to use the AWS Load Balancer Operator, you can remove the Operator and delete any related roles and policies.
8+
9+
.Procedure
10+
. Delete the Operator Subscription:
811
+
912
[source,terminal]
1013
----
11-
$ oc delete project hello-world
14+
$ oc delete subscription aws-load-balancer-operator -n aws-load-balancer-operator
1215
----
13-
+
14-
. Delete the AWS Load Balancer Operator and the AWS IAM roles:
15-
+
16+
17+
. Detach and delete the relevant AWS IAM roles:
1618
[source,terminal]
1719
----
18-
$ oc delete subscription aws-load-balancer-operator -n aws-load-balancer-operator
1920
$ aws iam detach-role-policy \
20-
--role-name "${ROSA_CLUSTER_NAME}-alb-operator" \
21-
--policy-arn $POLICY_ARN
21+
--role-name "<cluster-id>-alb-operator" \
22+
--policy-arn <operator-policy-arn>
2223
$ aws iam delete-role \
23-
--role-name "${ROSA_CLUSTER_NAME}-alb-operator"
24+
--role-name "<cluster-id>-alb-operator"
2425
----
25-
+
26+
2627
. Delete the AWS IAM policy:
2728
+
2829
[source,terminal]
2930
----
30-
$ aws iam delete-policy --policy-arn $POLICY_ARN
31+
$ aws iam delete-policy --policy-arn <operator-policy-arn>
3132
----

0 commit comments

Comments
 (0)