Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 125 for replicaSet (0.37 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. pkg/controller/replication/replication_controller.go

    	"k8s.io/kubernetes/pkg/controller/replicaset"
    )
    
    const (
    	BurstReplicas = replicaset.BurstReplicas
    )
    
    // ReplicationManager is responsible for synchronizing ReplicationController objects stored
    // in the system with actual running pods.
    // It is actually just a wrapper around ReplicaSetController.
    type ReplicationManager struct {
    	replicaset.ReplicaSetController
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/util_test.go

    		return out
    	}
    	makeReplicaSet := func(name string) *example2v1.ReplicaSet {
    		return &example2v1.ReplicaSet{
    			ObjectMeta: metav1.ObjectMeta{Namespace: "ns", Name: name},
    		}
    	}
    	createReplicaSet := func(obj *example2v1.ReplicaSet) *example2v1.ReplicaSet {
    		key := "replicasets/" + obj.Namespace + "/" + obj.Name
    		out := &example2v1.ReplicaSet{}
    		err := etcdStorage.Create(context.TODO(), key, obj, out, 0)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 11 12:07:39 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. pkg/controller/deployment/progress.go

    // for example a resync of the deployment after it was scaled up. In those cases,
    // we shouldn't try to estimate any progress.
    func (dc *DeploymentController) syncRolloutStatus(ctx context.Context, allRSs []*apps.ReplicaSet, newRS *apps.ReplicaSet, d *apps.Deployment) error {
    	newStatus := calculateStatus(allRSs, newRS, d)
    
    	// If there is no progressDeadlineSeconds set, remove any Progressing condition.
    	if !util.HasProgressDeadline(d) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 13 11:00:44 UTC 2023
    - 8.9K bytes
    - Viewed (0)
Back to top