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: ComputeBackendService
metadata:
name: computebackendservice-sample-internalmanagedloadbalancing
spec:
description: Internal managed backend service with Maglev session affinity.
localityLbPolicy: MAGLEV
timeoutSec: 86400
consistentHash:
httpHeaderName: "Hash string"
healthChecks:
- healthCheckRef:
name: computebackendservice-dep-internalmanagedloadbalancing
loadBalancingScheme: INTERNAL_MANAGED
location: us-east1
protocol: HTTP
connectionDrainingTimeoutSec: 10
sessionAffinity: HEADER_FIELD
circuitBreakers:
connectTimeout:
nanos: 999999999
seconds: 0
maxConnections: 1024
maxPendingRequests: 1024
maxRequests: 1024
maxRequestsPerConnection: 1
maxRetries: 3
logConfig:
enable: false
outlierDetection:
consecutiveGatewayFailure: 5
enforcingConsecutiveErrors: 100
enforcingSuccessRate: 100
successRateMinimumHosts: 5
successRateRequestVolume: 100
baseEjectionTime:
nanos: 999999999
seconds: 29
consecutiveErrors: 5
enforcingConsecutiveGatewayFailure: 0
interval:
nanos: 999999999
seconds: 9
maxEjectionPercent: 10
successRateStdevFactor: 1900
backend:
- balancingMode: RATE
capacityScaler: 0.9
description: An instance group serving this backend with 90% of its capacity, as calculated by requests per second.
maxRate: 10000
group:
instanceGroupRef:
name: computebackendservice-dep-internalmanagedloadbalancing