Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 76 for HorizontalPodAutoscaler (0.26 sec)

  1. manifests/charts/gateways/istio-egress/templates/autoscale.yaml

    {{ $gateway := index .Values "gateways" "istio-egressgateway" }}
    {{- if and $gateway.autoscaleEnabled $gateway.autoscaleMin $gateway.autoscaleMax }}
    apiVersion: autoscaling/v2
    kind: HorizontalPodAutoscaler
    metadata:
      name: {{ $gateway.name }}
      namespace: {{ .Release.Namespace }}
      labels:
    {{ $gateway.labels | toYaml | indent 4 }}
        release: {{ .Release.Name }}
        istio.io/rev: {{ .Values.revision | default "default" | quote }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 18:16:49 UTC 2024
    - 949 bytes
    - Viewed (0)
  2. pkg/apis/autoscaling/v2beta2/defaults.go

    			},
    		},
    	}
    )
    
    func addDefaultingFuncs(scheme *runtime.Scheme) error {
    	return RegisterDefaults(scheme)
    }
    
    func SetDefaults_HorizontalPodAutoscaler(obj *autoscalingv2beta2.HorizontalPodAutoscaler) {
    	if obj.Spec.MinReplicas == nil {
    		obj.Spec.MinReplicas = pointer.Int32(1)
    	}
    
    	if len(obj.Spec.Metrics) == 0 {
    		utilizationDefaultVal := int32(autoscaling.DefaultCPUUtilization)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 15 06:03:59 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  3. manifests/charts/gateway/templates/hpa.yaml

    {{- if and (.Values.autoscaling.enabled) (eq .Values.kind "Deployment") }}
    apiVersion: autoscaling/v2
    kind: HorizontalPodAutoscaler
    metadata:
      name: {{ include "gateway.name" . }}
      namespace: {{ .Release.Namespace }}
      labels:
        {{- include "gateway.labels" . | nindent 4 }}
      annotations:
        {{- .Values.annotations | toYaml | nindent 4 }}
    spec:
      scaleTargetRef:
        apiVersion: apps/v1
        kind: {{ .Values.kind | default "Deployment" }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Feb 18 05:44:12 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/autoscaling/v2/zz_generated.prerelease-lifecycle.go

    // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
    func (in *HorizontalPodAutoscaler) APILifecycleIntroduced() (major, minor int) {
    	return 1, 23
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/autoscaling/v2beta2/register.go

    	AddToScheme        = localSchemeBuilder.AddToScheme
    )
    
    // Adds the list of known types to the given scheme.
    func addKnownTypes(scheme *runtime.Scheme) error {
    	scheme.AddKnownTypes(SchemeGroupVersion,
    		&HorizontalPodAutoscaler{},
    		&HorizontalPodAutoscalerList{},
    	)
    	metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 27 15:07:52 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  6. pkg/apis/autoscaling/v1/defaults.go

    	"k8s.io/utils/pointer"
    )
    
    func addDefaultingFuncs(scheme *runtime.Scheme) error {
    	return RegisterDefaults(scheme)
    }
    
    func SetDefaults_HorizontalPodAutoscaler(obj *autoscalingv1.HorizontalPodAutoscaler) {
    	if obj.Spec.MinReplicas == nil {
    		obj.Spec.MinReplicas = pointer.Int32(1)
    	}
    
    	// NB: we apply a default for CPU utilization in conversion because
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 15 06:03:59 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/autoscaling/v1/zz_generated.prerelease-lifecycle.go

    // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
    func (in *HorizontalPodAutoscaler) APILifecycleIntroduced() (major, minor int) {
    	return 1, 2
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. pkg/apis/autoscaling/v2beta1/defaults.go

    	"k8s.io/utils/pointer"
    )
    
    func addDefaultingFuncs(scheme *runtime.Scheme) error {
    	return RegisterDefaults(scheme)
    }
    
    func SetDefaults_HorizontalPodAutoscaler(obj *autoscalingv2beta1.HorizontalPodAutoscaler) {
    	if obj.Spec.MinReplicas == nil {
    		obj.Spec.MinReplicas = pointer.Int32(1)
    	}
    
    	if len(obj.Spec.Metrics) == 0 {
    		utilizationDefaultVal := int32(autoscaling.DefaultCPUUtilization)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 15 06:03:59 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/autoscaling/v2beta1/register.go

    	AddToScheme        = localSchemeBuilder.AddToScheme
    )
    
    // Adds the list of known types to the given scheme.
    func addKnownTypes(scheme *runtime.Scheme) error {
    	scheme.AddKnownTypes(SchemeGroupVersion,
    		&HorizontalPodAutoscaler{},
    		&HorizontalPodAutoscalerList{},
    	)
    	metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 18:54:02 UTC 2017
    - 1.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/autoscaling/v2/register.go

    	AddToScheme        = localSchemeBuilder.AddToScheme
    )
    
    // Adds the list of known types to the given scheme.
    func addKnownTypes(scheme *runtime.Scheme) error {
    	scheme.AddKnownTypes(SchemeGroupVersion,
    		&HorizontalPodAutoscaler{},
    		&HorizontalPodAutoscalerList{},
    	)
    	metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 09 02:34:54 UTC 2021
    - 1.6K bytes
    - Viewed (0)
Back to top