Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 201 for layers (0.25 sec)

  1. pkg/controller/daemon/daemon_controller.go

    		// item in this list nevertheless constitutes user error.
    		utilruntime.HandleError(fmt.Errorf("user error! more than one daemon is selecting pods with labels: %+v", pod.Labels))
    	}
    	return sets
    }
    
    // getDaemonSetsForHistory returns a list of DaemonSets that potentially
    // match a ControllerRevision.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  2. istioctl/pkg/describe/describe.go

    	// says "We recommend adding an explicit app label and version label to deployments."
    	if !labels.HasCanonicalServiceName(pod.Labels) {
    		fmt.Fprintf(writer, "Suggestion: add required service name label for Istio telemetry. "+
    			"See %s.\n", url.DeploymentRequirements)
    	}
    	if !labels.HasCanonicalServiceRevision(pod.Labels) {
    		fmt.Fprintf(writer, "Suggestion: add required service revision label for Istio telemetry. "+
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  3. pkg/controller/cronjob/cronjob_controllerv2_test.go

    				ObjectMeta: metav1.ObjectMeta{
    					Labels:      map[string]string{"a": "b"},
    					Annotations: map[string]string{"x": "y"},
    				},
    				Spec: jobSpec(),
    			},
    		},
    	}
    }
    
    func jobSpec() batchv1.JobSpec {
    	one := int32(1)
    	return batchv1.JobSpec{
    		Parallelism: &one,
    		Completions: &one,
    		Template: v1.PodTemplateSpec{
    			ObjectMeta: metav1.ObjectMeta{
    				Labels: map[string]string{
    					"foo": "bar",
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 70.8K bytes
    - Viewed (0)
  4. src/runtime/pprof/pprof_test.go

    	// Check debug profile
    	goroutineProf.WriteTo(&w, 1)
    	prof := w.String()
    
    	labels := labelMap{"label": "value"}
    	labelStr := "\n# labels: " + labels.String()
    	selfLabel := labelMap{"self-label": "self-value"}
    	selfLabelStr := "\n# labels: " + selfLabel.String()
    	fingLabel := labelMap{"fing-label": "fing-value"}
    	fingLabelStr := "\n# labels: " + fingLabel.String()
    	orderedPrefix := []string{
    		"\n50 @ ",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  5. pkg/controller/statefulset/stateful_set_utils_test.go

    		t.Fatalf("Unexpected pvc:\n %+v\n, desired pvc:\n %+v", claims, resultClaims)
    	}
    
    	// 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)
    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. pkg/apis/batch/validation/validation.go

    	if selector, err := metav1.LabelSelectorAsSelector(spec.Selector); err == nil {
    		labels := labels.Set(spec.Template.Labels)
    		if !selector.Matches(labels) {
    			allErrs = append(allErrs, field.Invalid(fldPath.Child("template", "metadata", "labels"), spec.Template.Labels, "`selector` does not match template `labels`"))
    		}
    	}
    	return allErrs
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 16:43:24 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  7. pkg/controller/endpoint/endpoints_controller_test.go

    	p := &v1.Pod{
    		TypeMeta: metav1.TypeMeta{APIVersion: "v1"},
    		ObjectMeta: metav1.ObjectMeta{
    			Namespace:       namespace,
    			Name:            fmt.Sprintf("pod%d", id),
    			Labels:          map[string]string{"foo": "bar"},
    			ResourceVersion: fmt.Sprint(id),
    		},
    		Spec: v1.PodSpec{
    			Containers: []v1.Container{{Ports: []v1.ContainerPort{}}},
    		},
    		Status: v1.PodStatus{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 87.7K bytes
    - Viewed (0)
  8. pkg/controller/nodelifecycle/node_lifecycle_controller.go

    		primaryKey:            v1.LabelOSStable,
    		secondaryKey:          kubeletapis.LabelOS,
    		ensureSecondaryExists: true,
    	},
    	{
    		// Reconcile the beta and the stable arch label using the stable label as the source of truth.
    		// TODO(#89477): no earlier than 1.22: drop the beta labels if they differ from the GA labels
    		primaryKey:            v1.LabelArchStable,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/extensions/v1beta1/types.go

    type DaemonSetSpec struct {
    	// A label query over pods that are managed by the daemon set.
    	// Must match in order to be controlled.
    	// If empty, defaulted to labels on Pod template.
    	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
    	// +optional
    	Selector *metav1.LabelSelector `json:"selector,omitempty" protobuf:"bytes,1,opt,name=selector"`
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:29 UTC 2023
    - 61.3K bytes
    - Viewed (0)
  10. common/scripts/metallb-native.yaml

    apiVersion: v1
    kind: ServiceAccount
    metadata:
      labels:
        app: metallb
      name: controller
      namespace: metallb-system
    ---
    apiVersion: v1
    kind: ServiceAccount
    metadata:
      labels:
        app: metallb
      name: speaker
      namespace: metallb-system
    ---
    apiVersion: rbac.authorization.k8s.io/v1
    kind: Role
    metadata:
      labels:
        app: metallb
      name: controller
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 23:56:31 UTC 2024
    - 63.9K bytes
    - Viewed (0)
Back to top