- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 143 for replicaSet (0.15 sec)
-
pkg/kube/inject/testdata/inject/replicaset.yaml.injected
apiVersion: apps/v1 kind: ReplicaSet metadata: creationTimestamp: null name: hello spec: replicas: 7 selector: matchLabels: app: hello template: metadata: annotations: istio.io/rev: default kubectl.kubernetes.io/default-container: hello kubectl.kubernetes.io/default-logs-container: hello prometheus.io/path: /stats/prometheus prometheus.io/port: "15020"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Feb 27 16:55:16 UTC 2024 - 6.5K bytes - Viewed (0) -
pkg/controller/deployment/recreate_test.go
tests := []struct { name string newRS *apps.ReplicaSet oldRSs []*apps.ReplicaSet podMap map[types.UID][]*v1.Pod hasOldPodsRunning bool }{ { name: "no old RSs", hasOldPodsRunning: false, }, { name: "old RSs with running pods", oldRSs: []*apps.ReplicaSet{rsWithUID("some-uid"), rsWithUID("other-uid")},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 08 09:10:50 UTC 2023 - 5.9K bytes - Viewed (0) -
pkg/registry/apps/replicaset/strategy_test.go
fakeImage = "fakeimage" replicasetName = "test-replicaset" namespace = "test-namespace" ) func TestReplicaSetStrategy(t *testing.T) { ctx := genericapirequest.NewDefaultContext() if !Strategy.NamespaceScoped() { t.Errorf("ReplicaSet must be namespace scoped") } if Strategy.AllowCreateOnUpdate() { t.Errorf("ReplicaSet should not allow create on update") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 09 21:04:31 UTC 2021 - 6.9K bytes - Viewed (0) -
pkg/registry/apps/replicaset/strategy.go
newRS := obj.(*apps.ReplicaSet) oldRS := old.(*apps.ReplicaSet) // update is not allowed to set spec newRS.Spec = oldRS.Spec } func (rsStatusStrategy) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList { return appsvalidation.ValidateReplicaSetStatusUpdate(obj.(*apps.ReplicaSet), old.(*apps.ReplicaSet)) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 16 21:06:43 UTC 2022 - 9.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/example2/v1/zz_generated.conversion.go
if err := s.AddGeneratedConversionFunc((*ReplicaSet)(nil), (*example.ReplicaSet)(nil), func(a, b interface{}, scope conversion.Scope) error { return Convert_v1_ReplicaSet_To_example_ReplicaSet(a.(*ReplicaSet), b.(*example.ReplicaSet), scope) }); err != nil { return err } if err := s.AddGeneratedConversionFunc((*example.ReplicaSet)(nil), (*ReplicaSet)(nil), func(a, b interface{}, scope conversion.Scope) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 5.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/example2/v1/generated.proto
// Package-wide variables from generator "generated". option go_package = "k8s.io/apiserver/pkg/apis/example2/v1"; // ReplicaSet ensures that a specified number of pod replicas are running at any given time. message ReplicaSet { // If the Labels of a ReplicaSet are empty, they are defaulted to // be the same as the Pod(s) that the ReplicaSet manages.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 28 15:34:11 UTC 2024 - 2.7K bytes - Viewed (0) -
pkg/controller/replicaset/replica_set_utils.go
) // updateReplicaSetStatus attempts to update the Status.Replicas of the given ReplicaSet, with a single GET/PUT retry. func updateReplicaSetStatus(logger klog.Logger, c appsclient.ReplicaSetInterface, rs *apps.ReplicaSet, newStatus apps.ReplicaSetStatus) (*apps.ReplicaSet, error) { // This is the steady state. It happens when the ReplicaSet doesn't have any expectations, since
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 07 12:19:51 UTC 2023 - 7.1K bytes - Viewed (0) -
api/discovery/apis__apps__v1.json
"patch", "update" ] }, { "categories": [ "all" ], "kind": "ReplicaSet", "name": "replicasets", "namespaced": true, "shortNames": [ "rs" ], "singularName": "replicaset", "storageVersionHash": "P1RzHs8/mWQ=", "verbs": [ "create", "delete", "deletecollection",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 15 18:18:19 UTC 2023 - 3.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/example2/v1/zz_generated.deepcopy.go
func (in *ReplicaSet) DeepCopyInto(out *ReplicaSet) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) in.Spec.DeepCopyInto(&out.Spec) out.Status = in.Status return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSet. func (in *ReplicaSet) DeepCopy() *ReplicaSet { if in == nil { return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 2.5K bytes - Viewed (0) -
cmd/kube-controller-manager/app/apps.go
name: names.ReplicaSetController, aliases: []string{"replicaset"}, initFunc: startReplicaSetController, } } func startReplicaSetController(ctx context.Context, controllerContext ControllerContext, controllerName string) (controller.Interface, bool, error) { go replicaset.NewReplicaSetController( ctx, controllerContext.InformerFactory.Apps().V1().ReplicaSets(), controllerContext.InformerFactory.Core().V1().Pods(),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 06:51:56 UTC 2024 - 4.5K bytes - Viewed (0)