Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for statefulsets (0.34 sec)

  1. 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)
  2. 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)
  3. 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)
  4. pkg/controller/statefulset/stateful_pod_control.go

    	}
    	return false, nil
    }
    
    // recordPodEvent records an event for verb applied to a Pod in a StatefulSet. If err is nil the generated event will
    // have a reason of v1.EventTypeNormal. If err is not nil the generated event will have a reason of v1.EventTypeWarning.
    func (spc *StatefulPodControl) recordPodEvent(verb string, set *apps.StatefulSet, pod *v1.Pod, err error) {
    	if err == nil {
    		reason := fmt.Sprintf("Successful%s", strings.Title(verb))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  5. pkg/controller/statefulset/stateful_set_utils_test.go

    	}
    
    	// non-nil with overlapping labels merge pvc and statefulset labels and prefer statefulset labels
    	statefulSet.Spec.Selector.MatchLabels = map[string]string{"test": "foo"}
    	statefulSet.Spec.VolumeClaimTemplates[0].ObjectMeta.Labels = map[string]string{"test": "test"}
    	claims = getPersistentVolumeClaims(statefulSet, pod)
    	pvc.SetLabels(map[string]string{"test": "foo"})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 50.9K bytes
    - Viewed (0)
  6. samples/addons/loki.yaml

      selector:
        app.kubernetes.io/name: loki
        app.kubernetes.io/instance: loki
        app.kubernetes.io/component: single-binary
    ---
    # Source: loki/templates/single-binary/statefulset.yaml
    apiVersion: apps/v1
    kind: StatefulSet
    metadata:
      name: loki
      namespace: istio-system
      labels:
        helm.sh/chart: loki-6.6.3
        app.kubernetes.io/name: loki
        app.kubernetes.io/instance: loki
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:57:35 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. api/openapi-spec/swagger.json

          "properties": {
            "whenDeleted": {
              "description": "WhenDeleted specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is deleted. The default policy of `Retain` causes PVCs to not be affected by StatefulSet deletion. The `Delete` policy causes those PVCs to be deleted.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3.1M bytes
    - Viewed (0)
  8. pkg/generated/openapi/zz_generated.openapi.go

    							Type:        []string{"string"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3M bytes
    - Viewed (0)
  9. pkg/features/kube_features.go

    	// owner: @mattcary
    	// alpha: v1.22
    	// beta: v1.27
    	//
    	// Enables policies controlling deletion of PVCs created by a StatefulSet.
    	StatefulSetAutoDeletePVC featuregate.Feature = "StatefulSetAutoDeletePVC"
    
    	// owner: @psch
    	// alpha: v1.26
    	// beta: v1.27
    	//
    	// Enables a StatefulSet to start from an arbitrary non zero ordinal
    	StatefulSetStartOrdinal featuregate.Feature = "StatefulSetStartOrdinal"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 22:51:23 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  10. pkg/controller/statefulset/stateful_pod_control_test.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package statefulset
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"strings"
    	"testing"
    	"time"
    
    	apps "k8s.io/api/apps/v1"
    	v1 "k8s.io/api/core/v1"
    	apierrors "k8s.io/apimachinery/pkg/api/errors"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 35.5K bytes
    - Viewed (0)
Back to top