Skip to content

Commit

Permalink
Update documentation with CP ingress rules
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-demicev committed Jul 12, 2023
1 parent 125756e commit da9142d
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion docs/book/src/topics/bring-your-own-aws-infrastructure.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ To specify additional security groups for the control plane load balancer for a
```yaml
spec:
controlPlaneLoadBalancer:
AdditionalsecurityGroups:
additionalsecurityGroups:
- sg-0200a3507a5ad2c5c8c3
- ...
```
Expand Down Expand Up @@ -175,6 +175,19 @@ spec:
>
>An incorrectly configured Classic ELB can easily lead to a non-functional cluster. We strongly recommend you let Cluster API create the Classic ELB.

### Control Plane ingress rules

It's possible to specify custom ingress rules for the control plane itself. To do so, add this to the AWSCluster specification:

```yaml
spec:
network:
additionalControlPlaneIngressRules:
- description: "example ingress rule"
protocol: "-1" # all
fromPort: 7777
toPort: 7777
```
### Caveats/Notes

* When both public and private subnets are available in an AZ, CAPI will choose the private subnet in the AZ over the public subnet for placing EC2 instances.
Expand Down

0 comments on commit da9142d

Please sign in to comment.