Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 84 for statefulsets (0.35 sec)

  1. pkg/controller/statefulset/stateful_set_control_test.go

    	simpleSetFn := func() *apps.StatefulSet {
    		statefulSet := newStatefulSet(3)
    		statefulSet.Spec.Ordinals = &apps.StatefulSetOrdinals{Start: int32(2)}
    		return statefulSet
    	}
    
    	testCases := []struct {
    		fn  func(*testing.T, *apps.StatefulSet, invariantFunc)
    		obj func() *apps.StatefulSet
    	}{
    		{CreatesPodsWithStartOrdinal, simpleSetFn},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 19:01:47 UTC 2024
    - 108.7K bytes
    - Viewed (0)
  2. pkg/controller/statefulset/stateful_set.go

    			AddFunc: ssc.enqueueStatefulSet,
    			UpdateFunc: func(old, cur interface{}) {
    				oldPS := old.(*apps.StatefulSet)
    				curPS := cur.(*apps.StatefulSet)
    				if oldPS.Status.Replicas != curPS.Status.Replicas {
    					logger.V(4).Info("Observed updated replica count for StatefulSet", "statefulSet", klog.KObj(curPS), "oldReplicas", oldPS.Status.Replicas, "newReplicas", curPS.Status.Replicas)
    				}
    				ssc.enqueueStatefulSet(cur)
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  3. pkg/controller/statefulset/stateful_set_test.go

    			t.Errorf(onPolicy("Failed to scale down StatefulSet : msg, %s", err))
    		}
    		set, err = om.setsLister.StatefulSets(set.Namespace).Get(set.Name)
    		if err != nil {
    			t.Errorf(onPolicy("Could not get scaled down StatefulSet: %v", err))
    		}
    		if set.Status.Replicas != 2 {
    			t.Errorf(onPolicy("Failed to scale statefulset to 2 replicas"))
    		}
    
    		var claim *v1.PersistentVolumeClaim
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  4. pkg/controlplane/storageversionhashdata/data.go

    	"apps/v1/deployments":                                               "8aSe+NMegvE=",
    	"apps/v1/replicasets":                                               "P1RzHs8/mWQ=",
    	"apps/v1/statefulsets":                                              "H+vl74LkKdo=",
    	"admissionregistration.k8s.io/v1/mutatingwebhookconfigurations":     "Sqi0GUgDaX0=",
    	"admissionregistration.k8s.io/v1/validatingwebhookconfigurations":   "B0wHjQmsGNk=",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 20:14:51 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. pkg/config/schema/kubeclient/resources.gen.go

    		}
    	case gvr.StatefulSet:
    		l = func(options metav1.ListOptions) (runtime.Object, error) {
    			return c.Kube().AppsV1().StatefulSets(opts.Namespace).List(context.Background(), options)
    		}
    		w = func(options metav1.ListOptions) (watch.Interface, error) {
    			return c.Kube().AppsV1().StatefulSets(opts.Namespace).Watch(context.Background(), options)
    		}
    	case gvr.TCPRoute:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 13:57:51 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  6. pkg/controller/statefulset/stateful_set_control.go

    		logger.V(4).Info("StatefulSet is waiting for Pod to be Available prior to scale down",
    			"statefulSet", klog.KObj(set), "pod", klog.KObj(firstUnhealthyPod))
    		return true, nil
    	}
    
    	logger.V(2).Info("Pod of StatefulSet is terminating for scale down",
    		"statefulSet", klog.KObj(set), "pod", klog.KObj(condemned[i]))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:03:46 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  7. pkg/controller/statefulset/stateful_set_utils.go

    // ControllerRevision is valid. StatefulSet revisions are stored as patches that re-apply the current state of set
    // to a new StatefulSet using a strategic merge patch to replace the saved state of the new StatefulSet.
    func newRevision(set *apps.StatefulSet, revision int64, collisionCount *int32) (*apps.ControllerRevision, error) {
    	patch, err := getPatch(set)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  8. pkg/test/framework/components/echo/kube/deployment.go

    }
    
    func statefulsetComplete(statefulset *appsv1.StatefulSet) bool {
    	return statefulset.Status.UpdatedReplicas == *(statefulset.Spec.Replicas) &&
    		statefulset.Status.Replicas == *(statefulset.Spec.Replicas) &&
    		statefulset.Status.AvailableReplicas == *(statefulset.Spec.Replicas) &&
    		statefulset.Status.ReadyReplicas == *(statefulset.Spec.Replicas) &&
    		statefulset.Status.ObservedGeneration >= statefulset.Generation
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 12:26:52 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  9. pkg/config/schema/gvr/resources.gen.go

    	Sidecar_v1                     = schema.GroupVersionResource{Group: "networking.istio.io", Version: "v1", Resource: "sidecars"}
    	StatefulSet                    = schema.GroupVersionResource{Group: "apps", Version: "v1", Resource: "statefulsets"}
    	TCPRoute                       = schema.GroupVersionResource{Group: "gateway.networking.k8s.io", Version: "v1alpha2", Resource: "tcproutes"}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 17:37:32 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. samples/addons/kiali.yaml

    - apiGroups: [""]
      resources:
      - pods/portforward
      verbs:
      - create
      - post
    - apiGroups: ["extensions", "apps"]
      resources:
      - daemonsets
      - deployments
      - replicasets
      - statefulsets
      verbs:
      - get
      - list
      - watch
      - patch
    - apiGroups: ["batch"]
      resources:
      - cronjobs
      - jobs
      verbs:
      - get
      - list
      - watch
      - patch
    - apiGroups:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:57:35 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top