Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 89 for replicaSet (0.18 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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. pkg/controller/apis/config/types.go

    	poautosclerconfig "k8s.io/kubernetes/pkg/controller/podautoscaler/config"
    	podgcconfig "k8s.io/kubernetes/pkg/controller/podgc/config"
    	replicasetconfig "k8s.io/kubernetes/pkg/controller/replicaset/config"
    	replicationconfig "k8s.io/kubernetes/pkg/controller/replication/config"
    	resourcequotaconfig "k8s.io/kubernetes/pkg/controller/resourcequota/config"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 13 20:41:50 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  8. plugin/pkg/admission/security/podsecurity/admission.go

    	case *core.Pod:
    		out = &corev1.Pod{}
    	case *core.ReplicationController:
    		out = &corev1.ReplicationController{}
    	case *core.PodTemplate:
    		out = &corev1.PodTemplate{}
    	case *apps.ReplicaSet:
    		out = &appsv1.ReplicaSet{}
    	case *apps.Deployment:
    		out = &appsv1.Deployment{}
    	case *apps.StatefulSet:
    		out = &appsv1.StatefulSet{}
    	case *apps.DaemonSet:
    		out = &appsv1.DaemonSet{}
    	case *batch.Job:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 08:49:11 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  9. pkg/apis/apps/v1/defaults.go

    		*obj.Spec.Replicas = 1
    	}
    	if obj.Spec.RevisionHistoryLimit == nil {
    		obj.Spec.RevisionHistoryLimit = new(int32)
    		*obj.Spec.RevisionHistoryLimit = 10
    	}
    }
    func SetDefaults_ReplicaSet(obj *appsv1.ReplicaSet) {
    	if obj.Spec.Replicas == nil {
    		obj.Spec.Replicas = new(int32)
    		*obj.Spec.Replicas = 1
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  10. cmd/kube-controller-manager/names/controller_names.go

    	JobController                                = "job-controller"
    	DeploymentController                         = "deployment-controller"
    	ReplicaSetController                         = "replicaset-controller"
    	HorizontalPodAutoscalerController            = "horizontal-pod-autoscaler-controller"
    	DisruptionController                         = "disruption-controller"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 19:25:10 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top