...

Text file src/github.com/GoogleCloudPlatform/k8s-config-connector/crds/compute_v1beta1_computeinstance.yaml

Documentation: github.com/GoogleCloudPlatform/k8s-config-connector/crds

     1# Copyright 2020 Google LLC
     2#
     3# Licensed under the Apache License, Version 2.0 (the "License");
     4# you may not use this file except in compliance with the License.
     5# You may obtain a copy of the License at
     6#
     7#     http://www.apache.org/licenses/LICENSE-2.0
     8#
     9# Unless required by applicable law or agreed to in writing, software
    10# distributed under the License is distributed on an "AS IS" BASIS,
    11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12# See the License for the specific language governing permissions and
    13# limitations under the License.
    14
    15apiVersion: apiextensions.k8s.io/v1
    16kind: CustomResourceDefinition
    17metadata:
    18  annotations:
    19    cnrm.cloud.google.com/version: 1.106.0
    20  creationTimestamp: null
    21  labels:
    22    cnrm.cloud.google.com/managed-by-kcc: "true"
    23    cnrm.cloud.google.com/stability-level: stable
    24    cnrm.cloud.google.com/system: "true"
    25    cnrm.cloud.google.com/tf2crd: "true"
    26  name: computeinstances.compute.cnrm.cloud.google.com
    27spec:
    28  group: compute.cnrm.cloud.google.com
    29  names:
    30    categories:
    31    - gcp
    32    kind: ComputeInstance
    33    plural: computeinstances
    34    shortNames:
    35    - gcpcomputeinstance
    36    - gcpcomputeinstances
    37    singular: computeinstance
    38  scope: Namespaced
    39  versions:
    40  - additionalPrinterColumns:
    41    - jsonPath: .metadata.creationTimestamp
    42      name: Age
    43      type: date
    44    - description: When 'True', the most recent reconcile of the resource succeeded
    45      jsonPath: .status.conditions[?(@.type=='Ready')].status
    46      name: Ready
    47      type: string
    48    - description: The reason for the value in 'Ready'
    49      jsonPath: .status.conditions[?(@.type=='Ready')].reason
    50      name: Status
    51      type: string
    52    - description: The last transition time for the value in 'Status'
    53      jsonPath: .status.conditions[?(@.type=='Ready')].lastTransitionTime
    54      name: Status Age
    55      type: date
    56    name: v1beta1
    57    schema:
    58      openAPIV3Schema:
    59        properties:
    60          apiVersion:
    61            description: 'apiVersion defines the versioned schema of this representation
    62              of an object. Servers should convert recognized schemas to the latest
    63              internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
    64            type: string
    65          kind:
    66            description: 'kind is a string value representing the REST resource this
    67              object represents. Servers may infer this from the endpoint the client
    68              submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
    69            type: string
    70          metadata:
    71            type: object
    72          spec:
    73            anyOf:
    74            - required:
    75              - bootDisk
    76              - machineType
    77              - networkInterface
    78              - zone
    79            - required:
    80              - instanceTemplateRef
    81              - zone
    82            properties:
    83              advancedMachineFeatures:
    84                description: Controls for advanced machine-related behavior features.
    85                properties:
    86                  enableNestedVirtualization:
    87                    description: Whether to enable nested virtualization or not.
    88                    type: boolean
    89                  threadsPerCore:
    90                    description: The number of threads per physical core. To disable
    91                      simultaneous multithreading (SMT) set this to 1. If unset, the
    92                      maximum number of threads supported per core by the underlying
    93                      processor is assumed.
    94                    type: integer
    95                  visibleCoreCount:
    96                    description: The number of physical cores to expose to an instance.
    97                      Multiply by the number of threads per core to compute the total
    98                      number of virtual CPUs to expose to the instance. If unset,
    99                      the number of cores is inferred from the instance\'s nominal
   100                      CPU count and the underlying platform\'s SMT width.
   101                    type: integer
   102                type: object
   103              attachedDisk:
   104                description: List of disks attached to the instance.
   105                items:
   106                  properties:
   107                    deviceName:
   108                      description: Name with which the attached disk is accessible
   109                        under /dev/disk/by-id/.
   110                      type: string
   111                    diskEncryptionKeyRaw:
   112                      description: A 256-bit customer-supplied encryption key, encoded
   113                        in RFC 4648 base64 to encrypt this disk. Only one of kms_key_self_link
   114                        and disk_encryption_key_raw may be set.
   115                      oneOf:
   116                      - not:
   117                          required:
   118                          - valueFrom
   119                        required:
   120                        - value
   121                      - not:
   122                          required:
   123                          - value
   124                        required:
   125                        - valueFrom
   126                      properties:
   127                        value:
   128                          description: Value of the field. Cannot be used if 'valueFrom'
   129                            is specified.
   130                          type: string
   131                        valueFrom:
   132                          description: Source for the field's value. Cannot be used
   133                            if 'value' is specified.
   134                          properties:
   135                            secretKeyRef:
   136                              description: Reference to a value with the given key
   137                                in the given Secret in the resource's namespace.
   138                              properties:
   139                                key:
   140                                  description: Key that identifies the value to be
   141                                    extracted.
   142                                  type: string
   143                                name:
   144                                  description: Name of the Secret to extract a value
   145                                    from.
   146                                  type: string
   147                              required:
   148                              - name
   149                              - key
   150                              type: object
   151                          type: object
   152                      type: object
   153                    diskEncryptionKeySha256:
   154                      description: The RFC 4648 base64 encoded SHA-256 hash of the
   155                        customer-supplied encryption key that protects this resource.
   156                      type: string
   157                    kmsKeyRef:
   158                      oneOf:
   159                      - not:
   160                          required:
   161                          - external
   162                        required:
   163                        - name
   164                      - not:
   165                          anyOf:
   166                          - required:
   167                            - name
   168                          - required:
   169                            - namespace
   170                        required:
   171                        - external
   172                      properties:
   173                        external:
   174                          description: 'Allowed value: The `selfLink` field of a `KMSCryptoKey`
   175                            resource.'
   176                          type: string
   177                        name:
   178                          description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   179                          type: string
   180                        namespace:
   181                          description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   182                          type: string
   183                      type: object
   184                    mode:
   185                      description: Read/write mode for the disk. One of "READ_ONLY"
   186                        or "READ_WRITE".
   187                      type: string
   188                    sourceDiskRef:
   189                      oneOf:
   190                      - not:
   191                          required:
   192                          - external
   193                        required:
   194                        - name
   195                      - not:
   196                          anyOf:
   197                          - required:
   198                            - name
   199                          - required:
   200                            - namespace
   201                        required:
   202                        - external
   203                      properties:
   204                        external:
   205                          description: 'Allowed value: The `selfLink` field of a `ComputeDisk`
   206                            resource.'
   207                          type: string
   208                        name:
   209                          description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   210                          type: string
   211                        namespace:
   212                          description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   213                          type: string
   214                      type: object
   215                  required:
   216                  - sourceDiskRef
   217                  type: object
   218                type: array
   219              bootDisk:
   220                description: Immutable. The boot disk for the instance.
   221                properties:
   222                  autoDelete:
   223                    description: Immutable. Whether the disk will be auto-deleted
   224                      when the instance is deleted.
   225                    type: boolean
   226                  deviceName:
   227                    description: Immutable. Name with which attached disk will be
   228                      accessible under /dev/disk/by-id/.
   229                    type: string
   230                  diskEncryptionKeyRaw:
   231                    description: Immutable. A 256-bit customer-supplied encryption
   232                      key, encoded in RFC 4648 base64 to encrypt this disk. Only one
   233                      of kms_key_self_link and disk_encryption_key_raw may be set.
   234                    oneOf:
   235                    - not:
   236                        required:
   237                        - valueFrom
   238                      required:
   239                      - value
   240                    - not:
   241                        required:
   242                        - value
   243                      required:
   244                      - valueFrom
   245                    properties:
   246                      value:
   247                        description: Value of the field. Cannot be used if 'valueFrom'
   248                          is specified.
   249                        type: string
   250                      valueFrom:
   251                        description: Source for the field's value. Cannot be used
   252                          if 'value' is specified.
   253                        properties:
   254                          secretKeyRef:
   255                            description: Reference to a value with the given key in
   256                              the given Secret in the resource's namespace.
   257                            properties:
   258                              key:
   259                                description: Key that identifies the value to be extracted.
   260                                type: string
   261                              name:
   262                                description: Name of the Secret to extract a value
   263                                  from.
   264                                type: string
   265                            required:
   266                            - name
   267                            - key
   268                            type: object
   269                        type: object
   270                    type: object
   271                  diskEncryptionKeySha256:
   272                    description: The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied
   273                      encryption key that protects this resource.
   274                    type: string
   275                  initializeParams:
   276                    description: Immutable. Parameters with which a disk was created
   277                      alongside the instance.
   278                    properties:
   279                      labels:
   280                        description: Immutable. A set of key/value label pairs assigned
   281                          to the disk.
   282                        type: object
   283                        x-kubernetes-preserve-unknown-fields: true
   284                      size:
   285                        description: Immutable. The size of the image in gigabytes.
   286                        type: integer
   287                      sourceImageRef:
   288                        description: Immutable. The image from which to initialize
   289                          this disk.
   290                        oneOf:
   291                        - not:
   292                            required:
   293                            - external
   294                          required:
   295                          - name
   296                        - not:
   297                            anyOf:
   298                            - required:
   299                              - name
   300                            - required:
   301                              - namespace
   302                          required:
   303                          - external
   304                        properties:
   305                          external:
   306                            description: 'Allowed value: The `selfLink` field of a
   307                              `ComputeImage` resource.'
   308                            type: string
   309                          name:
   310                            description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   311                            type: string
   312                          namespace:
   313                            description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   314                            type: string
   315                        type: object
   316                      type:
   317                        description: Immutable. The Google Compute Engine disk type.
   318                          Such as pd-standard, pd-ssd or pd-balanced.
   319                        type: string
   320                    type: object
   321                  kmsKeyRef:
   322                    oneOf:
   323                    - not:
   324                        required:
   325                        - external
   326                      required:
   327                      - name
   328                    - not:
   329                        anyOf:
   330                        - required:
   331                          - name
   332                        - required:
   333                          - namespace
   334                      required:
   335                      - external
   336                    properties:
   337                      external:
   338                        description: 'Allowed value: The `selfLink` field of a `KMSCryptoKey`
   339                          resource.'
   340                        type: string
   341                      name:
   342                        description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   343                        type: string
   344                      namespace:
   345                        description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   346                        type: string
   347                    type: object
   348                  mode:
   349                    description: Immutable. Read/write mode for the disk. One of "READ_ONLY"
   350                      or "READ_WRITE".
   351                    type: string
   352                  sourceDiskRef:
   353                    description: Immutable. The source disk used to create this disk.
   354                    oneOf:
   355                    - not:
   356                        required:
   357                        - external
   358                      required:
   359                      - name
   360                    - not:
   361                        anyOf:
   362                        - required:
   363                          - name
   364                        - required:
   365                          - namespace
   366                      required:
   367                      - external
   368                    properties:
   369                      external:
   370                        description: 'Allowed value: The `selfLink` field of a `ComputeDisk`
   371                          resource.'
   372                        type: string
   373                      name:
   374                        description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   375                        type: string
   376                      namespace:
   377                        description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   378                        type: string
   379                    type: object
   380                type: object
   381              canIpForward:
   382                description: Whether sending and receiving of packets with non-matching
   383                  source or destination IPs is allowed.
   384                type: boolean
   385              confidentialInstanceConfig:
   386                description: Immutable. The Confidential VM config being used by the
   387                  instance.  on_host_maintenance has to be set to TERMINATE or this
   388                  will fail to create.
   389                properties:
   390                  enableConfidentialCompute:
   391                    description: Defines whether the instance should have confidential
   392                      compute enabled.
   393                    type: boolean
   394                required:
   395                - enableConfidentialCompute
   396                type: object
   397              deletionProtection:
   398                description: Whether deletion protection is enabled on this instance.
   399                type: boolean
   400              description:
   401                description: Immutable. A brief description of the resource.
   402                type: string
   403              desiredStatus:
   404                description: Desired status of the instance. Either "RUNNING" or "TERMINATED".
   405                type: string
   406              enableDisplay:
   407                description: Whether the instance has virtual displays enabled.
   408                type: boolean
   409              guestAccelerator:
   410                description: Immutable. List of the type and count of accelerator
   411                  cards attached to the instance.
   412                items:
   413                  properties:
   414                    count:
   415                      description: Immutable. The number of the guest accelerator
   416                        cards exposed to this instance.
   417                      type: integer
   418                    type:
   419                      description: Immutable. The accelerator type resource exposed
   420                        to this instance. E.g. nvidia-tesla-k80.
   421                      type: string
   422                  required:
   423                  - count
   424                  - type
   425                  type: object
   426                type: array
   427              hostname:
   428                description: Immutable. A custom hostname for the instance. Must be
   429                  a fully qualified DNS name and RFC-1035-valid. Valid format is a
   430                  series of labels 1-63 characters long matching the regular expression
   431                  [a-z]([-a-z0-9]*[a-z0-9]), concatenated with periods. The entire
   432                  hostname must not exceed 253 characters. Changing this forces a
   433                  new resource to be created.
   434                type: string
   435              instanceTemplateRef:
   436                oneOf:
   437                - not:
   438                    required:
   439                    - external
   440                  required:
   441                  - name
   442                - not:
   443                    anyOf:
   444                    - required:
   445                      - name
   446                    - required:
   447                      - namespace
   448                  required:
   449                  - external
   450                properties:
   451                  external:
   452                    description: 'Allowed value: The `selfLink` field of a `ComputeInstanceTemplate`
   453                      resource.'
   454                    type: string
   455                  name:
   456                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   457                    type: string
   458                  namespace:
   459                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   460                    type: string
   461                type: object
   462              machineType:
   463                description: The machine type to create.
   464                type: string
   465              metadata:
   466                items:
   467                  properties:
   468                    key:
   469                      type: string
   470                    value:
   471                      type: string
   472                  required:
   473                  - key
   474                  - value
   475                  type: object
   476                type: array
   477              metadataStartupScript:
   478                description: Immutable. Metadata startup scripts made available within
   479                  the instance.
   480                type: string
   481              minCpuPlatform:
   482                description: The minimum CPU platform specified for the VM instance.
   483                type: string
   484              networkInterface:
   485                description: Immutable. The networks attached to the instance.
   486                items:
   487                  not:
   488                    required:
   489                    - networkIp
   490                    - networkIpRef
   491                  properties:
   492                    accessConfig:
   493                      description: Access configurations, i.e. IPs via which this
   494                        instance can be accessed via the Internet.
   495                      items:
   496                        properties:
   497                          natIpRef:
   498                            oneOf:
   499                            - not:
   500                                required:
   501                                - external
   502                              required:
   503                              - name
   504                            - not:
   505                                anyOf:
   506                                - required:
   507                                  - name
   508                                - required:
   509                                  - namespace
   510                              required:
   511                              - external
   512                            properties:
   513                              external:
   514                                description: 'Allowed value: The `address` field of
   515                                  a `ComputeAddress` resource.'
   516                                type: string
   517                              name:
   518                                description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   519                                type: string
   520                              namespace:
   521                                description: 'Namespace of the referent. More info:
   522                                  https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   523                                type: string
   524                            type: object
   525                          networkTier:
   526                            description: The networking tier used for configuring
   527                              this instance. One of PREMIUM or STANDARD.
   528                            type: string
   529                          publicPtrDomainName:
   530                            description: The DNS domain name for the public PTR record.
   531                            type: string
   532                        type: object
   533                      type: array
   534                    aliasIpRange:
   535                      description: An array of alias IP ranges for this network interface.
   536                      items:
   537                        properties:
   538                          ipCidrRange:
   539                            description: The IP CIDR range represented by this alias
   540                              IP range.
   541                            type: string
   542                          subnetworkRangeName:
   543                            description: The subnetwork secondary range name specifying
   544                              the secondary range from which to allocate the IP CIDR
   545                              range for this alias IP range.
   546                            type: string
   547                        required:
   548                        - ipCidrRange
   549                        type: object
   550                      type: array
   551                    ipv6AccessConfig:
   552                      description: An array of IPv6 access configurations for this
   553                        interface. Currently, only one IPv6 access config, DIRECT_IPV6,
   554                        is supported. If there is no ipv6AccessConfig specified, then
   555                        this instance will have no external IPv6 Internet access.
   556                      items:
   557                        properties:
   558                          externalIpv6:
   559                            description: The first IPv6 address of the external IPv6
   560                              range associated with this instance, prefix length is
   561                              stored in externalIpv6PrefixLength in ipv6AccessConfig.
   562                              The field is output only, an IPv6 address from a subnetwork
   563                              associated with the instance will be allocated dynamically.
   564                            type: string
   565                          externalIpv6PrefixLength:
   566                            description: The prefix length of the external IPv6 range.
   567                            type: string
   568                          networkTier:
   569                            description: The service-level to be provided for IPv6
   570                              traffic when the subnet has an external subnet. Only
   571                              PREMIUM tier is valid for IPv6.
   572                            type: string
   573                          publicPtrDomainName:
   574                            description: The domain name to be used when creating
   575                              DNSv6 records for the external IPv6 ranges.
   576                            type: string
   577                        required:
   578                        - networkTier
   579                        type: object
   580                      type: array
   581                    ipv6AccessType:
   582                      description: One of EXTERNAL, INTERNAL to indicate whether the
   583                        IP can be accessed from the Internet. This field is always
   584                        inherited from its subnetwork.
   585                      type: string
   586                    name:
   587                      description: The name of the interface.
   588                      type: string
   589                    networkIp:
   590                      description: DEPRECATED. Although this field is still available,
   591                        there is limited support. We recommend that you use `spec.networkInterface.networkIpRef`
   592                        instead.
   593                      type: string
   594                    networkIpRef:
   595                      oneOf:
   596                      - not:
   597                          required:
   598                          - external
   599                        required:
   600                        - name
   601                        - kind
   602                      - not:
   603                          anyOf:
   604                          - required:
   605                            - name
   606                          - required:
   607                            - namespace
   608                          - required:
   609                            - kind
   610                        required:
   611                        - external
   612                      properties:
   613                        external:
   614                          description: 'Allowed value: The `address` field of a `ComputeAddress`
   615                            resource.'
   616                          type: string
   617                        kind:
   618                          description: 'Kind of the referent. Allowed values: ComputeAddress'
   619                          type: string
   620                        name:
   621                          description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   622                          type: string
   623                        namespace:
   624                          description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   625                          type: string
   626                      type: object
   627                    networkRef:
   628                      oneOf:
   629                      - not:
   630                          required:
   631                          - external
   632                        required:
   633                        - name
   634                      - not:
   635                          anyOf:
   636                          - required:
   637                            - name
   638                          - required:
   639                            - namespace
   640                        required:
   641                        - external
   642                      properties:
   643                        external:
   644                          description: 'Allowed value: The `selfLink` field of a `ComputeNetwork`
   645                            resource.'
   646                          type: string
   647                        name:
   648                          description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   649                          type: string
   650                        namespace:
   651                          description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   652                          type: string
   653                      type: object
   654                    nicType:
   655                      description: Immutable. The type of vNIC to be used on this
   656                        interface. Possible values:GVNIC, VIRTIO_NET.
   657                      type: string
   658                    queueCount:
   659                      description: Immutable. The networking queue count that's specified
   660                        by users for the network interface. Both Rx and Tx queues
   661                        will be set to this number. It will be empty if not specified.
   662                      type: integer
   663                    stackType:
   664                      description: The stack type for this network interface to identify
   665                        whether the IPv6 feature is enabled or not. If not specified,
   666                        IPV4_ONLY will be used.
   667                      type: string
   668                    subnetworkProject:
   669                      description: The project in which the subnetwork belongs.
   670                      type: string
   671                    subnetworkRef:
   672                      oneOf:
   673                      - not:
   674                          required:
   675                          - external
   676                        required:
   677                        - name
   678                      - not:
   679                          anyOf:
   680                          - required:
   681                            - name
   682                          - required:
   683                            - namespace
   684                        required:
   685                        - external
   686                      properties:
   687                        external:
   688                          description: 'Allowed value: The `selfLink` field of a `ComputeSubnetwork`
   689                            resource.'
   690                          type: string
   691                        name:
   692                          description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   693                          type: string
   694                        namespace:
   695                          description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   696                          type: string
   697                      type: object
   698                  type: object
   699                type: array
   700              networkPerformanceConfig:
   701                description: Immutable. Configures network performance settings for
   702                  the instance. If not specified, the instance will be created with
   703                  its default network performance configuration.
   704                properties:
   705                  totalEgressBandwidthTier:
   706                    description: Immutable. The egress bandwidth tier to enable. Possible
   707                      values:TIER_1, DEFAULT.
   708                    type: string
   709                required:
   710                - totalEgressBandwidthTier
   711                type: object
   712              reservationAffinity:
   713                description: Immutable. Specifies the reservations that this instance
   714                  can consume from.
   715                properties:
   716                  specificReservation:
   717                    description: Immutable. Specifies the label selector for the reservation
   718                      to use.
   719                    properties:
   720                      key:
   721                        description: Immutable. Corresponds to the label key of a
   722                          reservation resource. To target a SPECIFIC_RESERVATION by
   723                          name, specify compute.googleapis.com/reservation-name as
   724                          the key and specify the name of your reservation as the
   725                          only value.
   726                        type: string
   727                      values:
   728                        description: Immutable. Corresponds to the label values of
   729                          a reservation resource.
   730                        items:
   731                          type: string
   732                        type: array
   733                    required:
   734                    - key
   735                    - values
   736                    type: object
   737                  type:
   738                    description: Immutable. The type of reservation from which this
   739                      instance can consume resources.
   740                    type: string
   741                required:
   742                - type
   743                type: object
   744              resourceID:
   745                description: Immutable. Optional. The name of the resource. Used for
   746                  creation and acquisition. When unset, the value of `metadata.name`
   747                  is used as the default.
   748                type: string
   749              resourcePolicies:
   750                items:
   751                  oneOf:
   752                  - not:
   753                      required:
   754                      - external
   755                    required:
   756                    - name
   757                  - not:
   758                      anyOf:
   759                      - required:
   760                        - name
   761                      - required:
   762                        - namespace
   763                    required:
   764                    - external
   765                  properties:
   766                    external:
   767                      description: 'Allowed value: The `selfLink` field of a `ComputeResourcePolicy`
   768                        resource.'
   769                      type: string
   770                    name:
   771                      description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   772                      type: string
   773                    namespace:
   774                      description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   775                      type: string
   776                  type: object
   777                type: array
   778              scheduling:
   779                description: The scheduling strategy being used by the instance.
   780                properties:
   781                  automaticRestart:
   782                    description: Specifies if the instance should be restarted if
   783                      it was terminated by Compute Engine (not a user).
   784                    type: boolean
   785                  instanceTerminationAction:
   786                    description: Specifies the action GCE should take when SPOT VM
   787                      is preempted.
   788                    type: string
   789                  maintenanceInterval:
   790                    description: 'Specifies the frequency of planned maintenance events.
   791                      The accepted values are: PERIODIC.'
   792                    type: string
   793                  maxRunDuration:
   794                    description: Immutable. The timeout for new network connections
   795                      to hosts.
   796                    properties:
   797                      nanos:
   798                        description: |-
   799                          Immutable. Span of time that's a fraction of a second at nanosecond
   800                          resolution. Durations less than one second are represented
   801                          with a 0 seconds field and a positive nanos field. Must
   802                          be from 0 to 999,999,999 inclusive.
   803                        type: integer
   804                      seconds:
   805                        description: |-
   806                          Immutable. Span of time at a resolution of a second.
   807                          Must be from 0 to 315,576,000,000 inclusive.
   808                        type: integer
   809                    required:
   810                    - seconds
   811                    type: object
   812                  minNodeCpus:
   813                    type: integer
   814                  nodeAffinities:
   815                    items:
   816                      properties:
   817                        value:
   818                          type: object
   819                          x-kubernetes-preserve-unknown-fields: true
   820                      type: object
   821                    type: array
   822                  onHostMaintenance:
   823                    description: Describes maintenance behavior for the instance.
   824                      One of MIGRATE or TERMINATE,.
   825                    type: string
   826                  preemptible:
   827                    description: Immutable. Whether the instance is preemptible.
   828                    type: boolean
   829                  provisioningModel:
   830                    description: Immutable. Whether the instance is spot. If this
   831                      is set as SPOT.
   832                    type: string
   833                type: object
   834              scratchDisk:
   835                description: Immutable. The scratch disks attached to the instance.
   836                items:
   837                  properties:
   838                    interface:
   839                      description: The disk interface used for attaching this disk.
   840                        One of SCSI or NVME.
   841                      type: string
   842                    size:
   843                      description: Immutable. The size of the disk in gigabytes. One
   844                        of 375 or 3000.
   845                      type: integer
   846                  required:
   847                  - interface
   848                  type: object
   849                type: array
   850              serviceAccount:
   851                description: The service account to attach to the instance.
   852                properties:
   853                  scopes:
   854                    description: A list of service scopes.
   855                    items:
   856                      type: string
   857                    type: array
   858                  serviceAccountRef:
   859                    oneOf:
   860                    - not:
   861                        required:
   862                        - external
   863                      required:
   864                      - name
   865                    - not:
   866                        anyOf:
   867                        - required:
   868                          - name
   869                        - required:
   870                          - namespace
   871                      required:
   872                      - external
   873                    properties:
   874                      external:
   875                        description: 'Allowed value: The `email` field of an `IAMServiceAccount`
   876                          resource.'
   877                        type: string
   878                      name:
   879                        description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   880                        type: string
   881                      namespace:
   882                        description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   883                        type: string
   884                    type: object
   885                required:
   886                - scopes
   887                type: object
   888              shieldedInstanceConfig:
   889                description: The shielded vm config being used by the instance.
   890                properties:
   891                  enableIntegrityMonitoring:
   892                    description: Whether integrity monitoring is enabled for the instance.
   893                    type: boolean
   894                  enableSecureBoot:
   895                    description: Whether secure boot is enabled for the instance.
   896                    type: boolean
   897                  enableVtpm:
   898                    description: Whether the instance uses vTPM.
   899                    type: boolean
   900                type: object
   901              tags:
   902                description: The list of tags attached to the instance.
   903                items:
   904                  type: string
   905                type: array
   906              zone:
   907                description: Immutable. The zone of the instance. If self_link is
   908                  provided, this value is ignored. If neither self_link nor zone are
   909                  provided, the provider zone is used.
   910                type: string
   911            type: object
   912          status:
   913            properties:
   914              conditions:
   915                description: Conditions represent the latest available observation
   916                  of the resource's current state.
   917                items:
   918                  properties:
   919                    lastTransitionTime:
   920                      description: Last time the condition transitioned from one status
   921                        to another.
   922                      type: string
   923                    message:
   924                      description: Human-readable message indicating details about
   925                        last transition.
   926                      type: string
   927                    reason:
   928                      description: Unique, one-word, CamelCase reason for the condition's
   929                        last transition.
   930                      type: string
   931                    status:
   932                      description: Status is the status of the condition. Can be True,
   933                        False, Unknown.
   934                      type: string
   935                    type:
   936                      description: Type is the type of the condition.
   937                      type: string
   938                  type: object
   939                type: array
   940              cpuPlatform:
   941                description: The CPU platform used by this instance.
   942                type: string
   943              currentStatus:
   944                description: "\n\t\t\t\t\tCurrent status of the instance.\n\t\t\t\t\tThis
   945                  could be one of the following values: PROVISIONING, STAGING, RUNNING,
   946                  STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED.\n\t\t\t\t\tFor
   947                  more information about the status of the instance, see [Instance
   948                  life cycle](https://cloud.google.com/compute/docs/instances/instance-life-cycle)."
   949                type: string
   950              instanceId:
   951                description: The server-assigned unique identifier of this instance.
   952                type: string
   953              labelFingerprint:
   954                description: The unique fingerprint of the labels.
   955                type: string
   956              metadataFingerprint:
   957                description: The unique fingerprint of the metadata.
   958                type: string
   959              observedGeneration:
   960                description: ObservedGeneration is the generation of the resource
   961                  that was most recently observed by the Config Connector controller.
   962                  If this is equal to metadata.generation, then that means that the
   963                  current reported status reflects the most recent desired state of
   964                  the resource.
   965                type: integer
   966              selfLink:
   967                description: The URI of the created resource.
   968                type: string
   969              tagsFingerprint:
   970                description: The unique fingerprint of the tags.
   971                type: string
   972            type: object
   973        required:
   974        - spec
   975        type: object
   976    served: true
   977    storage: true
   978    subresources:
   979      status: {}
   980status:
   981  acceptedNames:
   982    kind: ""
   983    plural: ""
   984  conditions: []
   985  storedVersions: []

View as plain text