Creating a Worker Subnet (VCN-Native Pod)
Learn how to create a worker subnet for VCN-Native Pod Networking on Private Cloud Appliance.
Create the following resources in the order listed:
-
Worker security list
-
Worker subnet
Create a Worker Security List
Create a security list. See Creating a Security List.. For Terraform input, see Example Terraform Scripts (VCN-Native Pod).
This security list defines traffic that is allowed to contact worker nodes directly.
For this example, use the following input for the worker subnet security list.
Compute Web UI property |
OCI CLI property |
---|---|
|
|
One egress security rule:
|
One egress security rule:
|
Thirteen ingress security rules: |
Thirteen ingress security rules:
|
Ingress Rule 1
|
Ingress Rule 1
|
Ingress Rule 2
|
Ingress Rule 2
|
Ingress Rule 3
|
Ingress Rule 3
|
Ingress Rule 4
|
Ingress Rule 4
|
Ingress Rule 5
|
Ingress Rule 5
|
Ingress Rule 6
|
Ingress Rule 6
|
Ingress Rule 7
|
Ingress Rule 7
|
Ingress Rule 8
|
Ingress Rule 8
|
Ingress Rule 9
|
Ingress Rule 9
|
Ingress Rule 10
|
Ingress Rule 10
|
Ingress Rule 11
|
Ingress Rule 11
|
Ingress Rule 12
|
Ingress Rule 12
|
Ingress Rule 13
|
Ingress Rule 13
|
Create the Worker Subnet
Create a subnet. See Creating a Subnet. For Terraform input, see Example Terraform Scripts (VCN-Native Pod).
For this example, use the following input to create the worker subnet. Use the OCID of the VCN that was created in Creating a VCN (VCN-Native Pod Networking). Create the worker subnet in the same compartment where you created the VCN.
Create either a NAT private worker subnet or a VCN private worker subnet. Create a NAT private worker subnet to communicate outside the VCN.
Compute Web UI property |
OCI CLI property |
---|---|
|
|
The difference in the following private subnet is the VCN private route table is used instead of the NAT private route table.
Compute Web UI property |
OCI CLI property |
---|---|
|
|