NetworkConnectivitySpoke
Property | Value |
---|---|
Google Cloud Service Name | Network Connectivity |
Google Cloud Service Documentation | /network-connectivity/docs/ |
Google Cloud REST Resource Name | v1.projects.locations.spokes |
Google Cloud REST Resource Documentation | /network-connectivity/docs/reference/networkconnectivity/rest/v1/projects.locations.spokes/a> |
Config Connector Resource Short Names | gcpnetworkconnectivityspoke gcpnetworkconnectivityspokes networkconnectivityspoke |
Config Connector Service Name | networkconnectivity.googleapis.com |
Config Connector Resource Fully Qualified Name | networkconnectivityspokes.networkconnectivity.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
hubRef:
external: string
name: string
namespace: string
linkedInterconnectAttachments:
siteToSiteDataTransfer: boolean
uris:
- external: string
name: string
namespace: string
linkedRouterApplianceInstances:
instances:
- ipAddress: string
virtualMachineRef:
external: string
name: string
namespace: string
siteToSiteDataTransfer: boolean
linkedVPCNetwork:
excludeExportRanges:
- string
uriRef:
external: string
name: string
namespace: string
linkedVpnTunnels:
siteToSiteDataTransfer: boolean
uris:
- external: string
name: string
namespace: string
location: string
projectRef:
external: string
name: string
namespace: string
resourceID: string
Fields | |
---|---|
Optional |
An optional description of the spoke. |
Required |
Immutable. |
Optional |
Immutable. The URI of the hub that this spoke is attached to. Allowed value: The Google Cloud resource name of a `NetworkConnectivityHub` resource (format: `projects/{{project}}/locations/global/hubs/{{name}}`). |
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. A collection of VLAN attachment resources. These resources should be redundant attachments that all advertise the same prefixes to Google Cloud. Alternatively, in active/passive configurations, all attachments should be capable of advertising the same prefixes. |
Required* |
Immutable. A value that controls whether site-to-site data transfer is enabled for these resources. Note that data transfer is available only in supported locations. |
Required* |
Immutable. |
Required* |
|
Optional |
Allowed value: The `selfLink` field of a `ComputeInterconnectAttachment` 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. The URIs of linked Router appliance resources |
Required* |
Immutable. The list of router appliance instances |
Required* |
|
Optional |
Immutable. The IP address on the VM to use for peering. |
Optional |
Immutable. |
Optional |
The URI of the virtual machine resource Allowed value: The `selfLink` field of a `ComputeInstance` 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* |
Immutable. A value that controls whether site-to-site data transfer is enabled for these resources. Note that data transfer is available only in supported locations. |
Optional |
Immutable. VPC network that is associated with the spoke. |
Optional |
Immutable. IP ranges encompassing the subnets to be excluded from peering. |
Optional |
|
Required* |
Immutable. |
Optional |
The URI of the VPC network resource. Allowed value: The `selfLink` field of a `ComputeNetwork` 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. The URIs of linked VPN tunnel resources |
Required* |
Immutable. A value that controls whether site-to-site data transfer is enabled for these resources. Note that data transfer is available only in supported locations. |
Required* |
Immutable. |
Required* |
|
Optional |
Allowed value: The `selfLink` field of a `ComputeVPNTunnel` 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 |
Immutable. The location for the resource |
Required |
Immutable. The Project that this resource belongs to. |
Optional |
The project for the resource Allowed value: The Google Cloud resource name of a `Project` resource (format: `projects/{{name}}`). |
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 name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. |
* Field is required when parent field is specified
Status
Schema
conditions:
- lastTransitionTime: string
message: string
reason: string
status: string
type: string
createTime: string
observedGeneration: integer
state: string
uniqueId: 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 |
Output only. The time the spoke was created. |
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 |
Output only. The current lifecycle state of this spoke. Possible values: STATE_UNSPECIFIED, CREATING, ACTIVE, DELETING |
uniqueId |
Output only. The Google-generated UUID for the spoke. This value is unique across all spoke resources. If a spoke is deleted and another with the same name is created, the new spoke is assigned a different unique_id. |
updateTime |
Output only. The time the spoke was last updated. |
Sample YAML(s)
Typical Use Case
# Copyright 2021 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: networkconnectivity.cnrm.cloud.google.com/v1beta1
kind: NetworkConnectivitySpoke
metadata:
name: networkconnectivityspoke-sample
labels:
label-one: "value-one"
spec:
location: us-central1
description: "A sample spoke with a linked router appliance instance"
hubRef:
name: networkconnectivityspoke-dep
linkedRouterApplianceInstances:
instances:
- virtualMachineRef:
name: networkconnectivityspoke-dep
ipAddress: "10.0.0.2"
siteToSiteDataTransfer: true
---
apiVersion: compute.cnrm.cloud.google.com/v1beta1
kind: ComputeInstance
metadata:
annotations:
cnrm.cloud.google.com/allow-stopping-for-update: "true"
name: networkconnectivityspoke-dep
labels:
created-from: "image"
network-type: "subnetwork"
spec:
machineType: n1-standard-1
zone: us-central1-a
bootDisk:
initializeParams:
sourceImageRef:
external: debian-cloud/debian-11
networkInterface:
- subnetworkRef:
name: networkconnectivityspoke-dep
networkIp: "10.0.0.2"
accessConfigs:
- networkTier: "PREMIUM"
canIpForward: true
---
apiVersion: compute.cnrm.cloud.google.com/v1beta1
kind: ComputeNetwork
metadata:
labels:
label-one: "value-one"
name: networkconnectivityspoke-dep
spec:
autoCreateSubnetworks: false
---
apiVersion: compute.cnrm.cloud.google.com/v1beta1
kind: ComputeSubnetwork
metadata:
labels:
label-one: "value-one"
name: networkconnectivityspoke-dep
spec:
ipCidrRange: 10.0.0.0/28
region: us-central1
networkRef:
name: networkconnectivityspoke-dep
---
apiVersion: networkconnectivity.cnrm.cloud.google.com/v1beta1
kind: NetworkConnectivityHub
metadata:
name: networkconnectivityspoke-dep
labels:
label-one: "value-one"
spec:
description: "A sample hub"