config/crds/networking.gke.io_nodetopologies.yaml (68 lines of code) (raw):
# Copyright 2024 The Kubernetes Authors.
#
# 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
#
# https://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: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.16.5
name: nodetopologies.networking.gke.io
spec:
group: networking.gke.io
names:
kind: NodeTopology
listKind: NodeTopologyList
plural: nodetopologies
shortNames:
- tp
singular: nodetopology
scope: Cluster
versions:
- name: v1
schema:
openAPIV3Schema:
description: |-
NodeTopology describes the VPC network configuration for the cluster.
This resource is a singleton.
properties:
apiVersion:
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
kind:
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
spec:
description: NodeTopologySpec is the spec for a NodeTopology resource
type: object
status:
description: NodeTopologyStatus is the status for a NodeTopology resource
properties:
conditions:
description: |-
Conditions contains the latest conditions observed of this Node Tolology
resource.
items:
description: |-
PodCondition contains details for the current condition of this Node
Topology resource.
properties:
lastTransitionTime:
description: Last time the condition transitioned from one status
to another.
format: date-time
type: string
message:
description: A human readable message indicating details about
the transition.
type: string
reason:
description: The reason for the condition's last transition
type: string
status:
description: Status of the condition, one of True, False, Unknown.
type: string
type:
description: Type is the type of the condition.
type: string
required:
- status
- type
type: object
type: array
x-kubernetes-list-map-keys:
- type
x-kubernetes-list-type: map
subnets:
description: |-
Subnets contains the list of subnets used by the GKE cluster that
corresponds to this Node Topology Resource.
items:
description: SubnetConfig describes the configuration of a GKE subnetwork.
properties:
name:
description: |-
Name is the short name of the subnetwork.
More info: https://cloud.google.com/vpc/docs/subnets
type: string
subnetPath:
description: |-
SubnetPath is the fully qualified resource path of this subnet.
Examples: projects/my-project/regions/us-central1/subnetworks/my-subnet
type: string
required:
- name
- subnetPath
type: object
type: array
zones:
description: |-
Zones specifies the current node zones of the GKE cluster that corresponds
to this NodeTopology Resource.
items:
type: string
type: array
required:
- subnets
- zones
type: object
type: object
served: true
storage: true
subresources:
status: {}