- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 148 for HorizontalPodAutoscaler (0.27 sec)
-
pkg/apis/autoscaling/validation/validation_test.go
t.Errorf("expected success: %v", errs) } } errorCases := []struct { horizontalPodAutoscaler autoscaling.HorizontalPodAutoscaler msg string }{{ horizontalPodAutoscaler: autoscaling.HorizontalPodAutoscaler{ ObjectMeta: metav1.ObjectMeta{Name: "myautoscaler", Namespace: metav1.NamespaceDefault}, Spec: autoscaling.HorizontalPodAutoscalerSpec{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 56.7K bytes - Viewed (0) -
pkg/registry/autoscaling/horizontalpodautoscaler/strategy.go
newHPA := obj.(*autoscaling.HorizontalPodAutoscaler) // create cannot set status newHPA.Status = autoscaling.HorizontalPodAutoscalerStatus{} } // Validate validates a new autoscaler. func (autoscalerStrategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList { autoscaler := obj.(*autoscaling.HorizontalPodAutoscaler) return validation.ValidateHorizontalPodAutoscaler(autoscaler) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 02 04:51:00 UTC 2024 - 5.4K bytes - Viewed (0) -
pkg/registry/autoscaling/horizontalpodautoscaler/storage/storage.go
NewListFunc: func() runtime.Object { return &autoscaling.HorizontalPodAutoscalerList{} }, DefaultQualifiedResource: autoscaling.Resource("horizontalpodautoscalers"), SingularQualifiedResource: autoscaling.Resource("horizontalpodautoscaler"), CreateStrategy: horizontalpodautoscaler.Strategy,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 18 09:21:19 UTC 2022 - 4.6K bytes - Viewed (0) -
pkg/apis/autoscaling/v2beta1/defaults_test.go
tests := []struct { original *autoscalingv2beta1.HorizontalPodAutoscaler expected *autoscalingv2beta1.HorizontalPodAutoscaler }{ { // MinReplicas default value original: &autoscalingv2beta1.HorizontalPodAutoscaler{ Spec: autoscalingv2beta1.HorizontalPodAutoscalerSpec{ Metrics: defaultTemplate, }, }, expected: &autoscalingv2beta1.HorizontalPodAutoscaler{ Spec: autoscalingv2beta1.HorizontalPodAutoscalerSpec{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:12 UTC 2023 - 6K bytes - Viewed (0) -
api/discovery/apis__autoscaling__v2.json
"kind": "APIResourceList", "resources": [ { "categories": [ "all" ], "kind": "HorizontalPodAutoscaler", "name": "horizontalpodautoscalers", "namespaced": true, "shortNames": [ "hpa" ], "singularName": "horizontalpodautoscaler", "storageVersionHash": "qwQve8ut294=", "verbs": [ "create", "delete",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 15 18:18:19 UTC 2023 - 816 bytes - Viewed (0) -
pkg/apis/autoscaling/v1/zz_generated.defaults.go
// All generated defaulters are covering - they call all nested defaulters. func RegisterDefaults(scheme *runtime.Scheme) error { scheme.AddTypeDefaultingFunc(&v1.HorizontalPodAutoscaler{}, func(obj interface{}) { SetObjectDefaults_HorizontalPodAutoscaler(obj.(*v1.HorizontalPodAutoscaler)) }) scheme.AddTypeDefaultingFunc(&v1.HorizontalPodAutoscalerList{}, func(obj interface{}) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 1.7K bytes - Viewed (0) -
pkg/apis/autoscaling/v1/defaults_test.go
tests := []struct { hpa autoscalingv1.HorizontalPodAutoscaler expectReplicas int32 test string }{ { hpa: autoscalingv1.HorizontalPodAutoscaler{}, expectReplicas: 1, test: "unspecified min replicas, use the default value", }, { hpa: autoscalingv1.HorizontalPodAutoscaler{ Spec: autoscalingv1.HorizontalPodAutoscalerSpec{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:12 UTC 2023 - 4.7K bytes - Viewed (0) -
pkg/registry/autoscaling/horizontalpodautoscaler/storage/storage_test.go
} return horizontalPodAutoscalerStorage, statusStorage, server } func validNewHorizontalPodAutoscaler(name string) *autoscaling.HorizontalPodAutoscaler { cpu := int32(70) return &autoscaling.HorizontalPodAutoscaler{ ObjectMeta: metav1.ObjectMeta{ Name: name, Namespace: metav1.NamespaceDefault, }, Spec: autoscaling.HorizontalPodAutoscalerSpec{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:12 UTC 2023 - 6.4K bytes - Viewed (0) -
staging/src/k8s.io/api/autoscaling/v2beta2/zz_generated.prerelease-lifecycle.go
func (in *HorizontalPodAutoscaler) APILifecycleReplacement() schema.GroupVersionKind { return schema.GroupVersionKind{Group: "autoscaling", Version: "v2", Kind: "HorizontalPodAutoscaler"} } // APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Dec 08 15:55:31 UTC 2021 - 3.5K bytes - Viewed (0) -
api/discovery/apis__autoscaling__v1.json
"kind": "APIResourceList", "resources": [ { "categories": [ "all" ], "kind": "HorizontalPodAutoscaler", "name": "horizontalpodautoscalers", "namespaced": true, "shortNames": [ "hpa" ], "singularName": "horizontalpodautoscaler", "storageVersionHash": "qwQve8ut294=", "verbs": [ "create", "delete",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 15 18:18:19 UTC 2023 - 816 bytes - Viewed (0)