wishcoderllc's picture
Upload folder using huggingface_hub
775cdeb
# Copyright 2020 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: compute.cnrm.cloud.google.com/v1beta1
kind: ComputeInstance
metadata:
annotations:
cnrm.cloud.google.com/allow-stopping-for-update: "true"
name: computeinstance-sample-cloudmachine
labels:
created-from: "image"
network-type: "subnetwork"
spec:
machineType: n1-standard-1
zone: us-west1-a
bootDisk:
initializeParams:
size: 24
type: pd-ssd
sourceImageRef:
external: debian-cloud/debian-11
networkInterface:
- subnetworkRef:
name: computeinstance-dep-cloudmachine
aliasIpRange:
- ipCidrRange: /24
subnetworkRangeName: cloudrange
attachedDisk:
- sourceDiskRef:
name: computeinstance-dep1-cloudmachine
mode: READ_ONLY
deviceName: proxycontroldisk
diskEncryptionKeyRaw:
valueFrom:
secretKeyRef:
name: computeinstance-dep-cloudmachine
key: diskEncryptionKey
- sourceDiskRef:
name: computeinstance-dep2-cloudmachine
mode: READ_WRITE
deviceName: persistentdisk
minCpuPlatform: "Intel Skylake"
serviceAccount:
serviceAccountRef:
name: inst-dep-cloudmachine
scopes:
- compute-rw
- logging-write