EdgeNetworkSubnet
Property | Value |
---|---|
Google Cloud Service Name | Edge Network |
Google Cloud Service Documentation | /distributed-cloud/edge/latest/docs/ |
Google Cloud REST Resource Name | projects.locations.zones.subnets |
Google Cloud REST Resource Documentation | /distributed-cloud/edge/latest/docs/reference/network/rest/v1/projects.locations.zones.subnets |
Config Connector Resource Short Names | gcpedgenetworksubnet gcpedgenetworksubnets edgenetworksubnet |
Config Connector Service Name | edgenetwork.googleapis.com |
Config Connector Resource Fully Qualified Name | edgenetworksubnets.edgenetwork.cnrm.cloud.google.com |
Can Be Referenced by IAMPolicy/IAMPolicyMember | No |
Config Connector Default Average Reconcile Interval In Seconds | 600 |
Custom Resource Definition Properties
Spec
Schema
description: string
ipv4Cidr:
- string
ipv6Cidr:
- string
location: string
networkRef:
external: string
name: string
namespace: string
projectRef:
external: string
name: string
namespace: string
resourceID: string
vlanId: integer
zone: string
Fields | |
---|---|
Optional |
Immutable. A free-text description of the resource. Max length 1024 characters. |
Optional |
Immutable. The ranges of ipv4 addresses that are owned by this subnetwork, in CIDR format. |
Optional |
|
Optional |
Immutable. The ranges of ipv6 addresses that are owned by this subnetwork, in CIDR format. |
Optional |
|
Required |
Immutable. The Google Cloud region to which the target Distributed Cloud Edge zone belongs. |
Required |
|
Optional |
Allowed value: The `name` field of an `EdgeNetworkNetwork` resource. |
Optional |
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names |
Optional |
Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ |
Required |
The project that this resource belongs to. |
Optional |
Allowed value: The `name` field of a `Project` resource. |
Optional |
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names |
Optional |
Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ |
Optional |
Immutable. Optional. The subnetId of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. |
Optional |
Immutable. VLAN ID for this subnetwork. If not specified, one is assigned automatically. |
Required |
Immutable. The name of the target Distributed Cloud Edge zone. |
Status
Schema
conditions:
- lastTransitionTime: string
message: string
reason: string
status: string
type: string
createTime: string
name: string
observedGeneration: integer
state: string
updateTime: string
Fields | |
---|---|
conditions |
Conditions represent the latest available observation of the resource's current state. |
conditions[] |
|
conditions[].lastTransitionTime |
Last time the condition transitioned from one status to another. |
conditions[].message |
Human-readable message indicating details about last transition. |
conditions[].reason |
Unique, one-word, CamelCase reason for the condition's last transition. |
conditions[].status |
Status is the status of the condition. Can be True, False, Unknown. |
conditions[].type |
Type is the type of the condition. |
createTime |
The time when the subnet was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: '2014-10-02T15:01:23Z' and '2014-10-02T15:01:23.045123456Z'. |
name |
The canonical name of this resource, with format 'projects/{{project}}/locations/{{location}}/zones/{{zone}}/subnets/{{subnet_id}}'. |
observedGeneration |
ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. |
state |
Current stage of the resource to the device by config push. |
updateTime |
The time when the subnet was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: '2014-10-02T15:01:23Z' and '2014-10-02T15:01:23.045123456Z'. |
Sample YAML(s)
Typical Use Case
# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
apiVersion: edgenetwork.cnrm.cloud.google.com/v1beta1
kind: EdgeNetworkSubnet
metadata:
name: edgenetworksubnet-sample
spec:
description: "A sample edgenetwork subnet"
location: us-central1
# Replace ${ZONE_LOCATION?} with the machine zone location
zone: ${ZONE_LOCATION}
networkRef:
name: edgenetworksubnet-dep
ipv4Cidr:
- 1.1.1.1/24
- 2.2.2.2/32
---
apiVersion: edgenetwork.cnrm.cloud.google.com/v1beta1
kind: EdgeNetworkNetwork
metadata:
name: edgenetworksubnet-dep
spec:
description: "A sample edgenetwork network"
location: us-central1
# Replace ${ZONE_LOCATION?} with the machine zone location
zone: ${ZONE_LOCATION}
mtu: 9000