mirror of https://github.com/kubernetes/kops.git
Add documentation
Signed-off-by: Guillaume Perrin <guillaume28.perrin@gmail.com>
This commit is contained in:
parent
e501ac62a4
commit
468b8e6874
|
|
@ -351,6 +351,25 @@ spec:
|
|||
zone: us-east-1a
|
||||
```
|
||||
|
||||
### additionalRoutes
|
||||
|
||||
{{ kops_feature_table(kops_added_default='1.24') }}
|
||||
|
||||
Add routes in the route tables of the subnet. Targets of routes can be an instance, a peering connection, a NAT gateway, a transit gateway, an internet gateway or an egress-only internet gateway.
|
||||
Currently, only AWS is supported.
|
||||
|
||||
```yaml
|
||||
spec:
|
||||
subnets:
|
||||
- cidr: 10.20.64.0/21
|
||||
name: us-east-1a
|
||||
type: Private
|
||||
zone: us-east-1a
|
||||
additionalRoutes:
|
||||
- cidr: 10.21.0.0/16
|
||||
target: vpc-abcdef
|
||||
```
|
||||
|
||||
## kubeAPIServer
|
||||
|
||||
This block contains configuration for the `kube-apiserver`.
|
||||
|
|
@ -1459,4 +1478,4 @@ spec:
|
|||
]
|
||||
```
|
||||
|
||||
To configure Pods to assume the given IAM roles, enable the [Pod Identity Webhook](/addons/#pod-identity-webhook). Without this webhook, you need to modify your Pod specs yourself for your Pod to assume the defined roles.
|
||||
To configure Pods to assume the given IAM roles, enable the [Pod Identity Webhook](/addons/#pod-identity-webhook). Without this webhook, you need to modify your Pod specs yourself for your Pod to assume the defined roles.
|
||||
|
|
|
|||
Loading…
Reference in New Issue