Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 194 for claim (0.04 sec)

  1. pkg/controller/volume/persistentvolume/pv_controller_base.go

    func (ctrl *PersistentVolumeController) deleteClaim(ctx context.Context, claim *v1.PersistentVolumeClaim) {
    	logger := klog.FromContext(ctx)
    	if err := ctrl.claims.Delete(claim); err != nil {
    		logger.Error(err, "Claim deletion encountered", "PVC", klog.KObj(claim))
    	}
    	claimKey := claimToClaimKey(claim)
    	logger.V(4).Info("Claim deleted", "PVC", klog.KObj(claim))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  2. pkg/controller/statefulset/stateful_set_utils.go

    	templates := set.Spec.VolumeClaimTemplates
    	claims := make(map[string]v1.PersistentVolumeClaim, len(templates))
    	for i := range templates {
    		claim := templates[i].DeepCopy()
    		claim.Name = getPersistentVolumeClaimName(set, claim, ordinal)
    		claim.Namespace = set.Namespace
    		if claim.Labels != nil {
    			for key, value := range set.Spec.Selector.MatchLabels {
    				claim.Labels[key] = value
    			}
    		} else {
    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. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1alpha1/types.go

    	// Either claim or expression must be set.
    	// Mutually exclusive with expression.
    	// +optional
    	Claim string `json:"claim,omitempty"`
    
    	// expression represents the expression which will be evaluated by CEL.
    	//
    	// CEL expressions have access to the contents of the token claims, organized into CEL variable:
    	// - 'claims' is a map of claim names to claim values.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 17:59:05 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  4. pkg/controller/statefulset/stateful_set_test.go

    				if hasNamedOwnerRef(claim, podName) || hasNamedOwnerRef(claim, set.Name) {
    					t.Errorf("bad claim ownerRefs: %s: %v", claim.Name, claim.GetOwnerReferences())
    				}
    			case scaledownPolicy == retain && deletionPolicy == delete:
    				if hasNamedOwnerRef(claim, podName) || !hasNamedOwnerRef(claim, set.Name) {
    					t.Errorf("bad claim ownerRefs: %s: %v", claim.Name, claim.GetOwnerReferences())
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  5. pkg/controller/statefulset/stateful_pod_control.go

    				updateClaimOwnerRefForSetAndPod(logger, claim, set, pod)
    				if err := spc.objectMgr.UpdateClaim(claim); err != nil {
    					return fmt.Errorf("could not update claim %s for delete policy ownerRefs: %w", claimName, err)
    				}
    			}
    		}
    	}
    	return nil
    }
    
    // PodClaimIsStale returns true for a stale PVC that should block pod creation. If the scaling
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  6. pkg/kubelet/volumemanager/volume_manager_test.go

    	}
    	defer os.RemoveAll(tmpDir)
    	podManager := kubepod.NewBasicPodManager()
    
    	node, pod, pv, claim := createObjects(v1.PersistentVolumeFilesystem, v1.PersistentVolumeFilesystem)
    	claim.Status = v1.PersistentVolumeClaimStatus{
    		Phase: v1.ClaimPending,
    	}
    
    	kubeClient := fake.NewSimpleClientset(node, pod, pv, claim)
    
    	manager := newTestVolumeManager(t, tmpDir, podManager, kubeClient, node)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  7. pkg/kubeapiserver/options/authentication_test.go

    			},
    		},
    		{
    			name: "groups claim exists",
    			args: []string{
    				"--oidc-issuer-url=https://testIssuerURL",
    				"--oidc-client-id=testClientID",
    				"--oidc-username-claim=sub",
    				"--oidc-username-prefix=-",
    				"--oidc-groups-claim=groups",
    				"--oidc-groups-prefix=oidc:",
    				"--oidc-signing-algs=RS256",
    				"--oidc-required-claim=foo=bar",
    			},
    			expectConfig: kubeauthenticator.Config{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 36.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/resource/v1alpha2/types_swagger_doc_generated.go

    	"shareable":      "Shareable indicates whether the allocated claim is meant to be shareable by multiple consumers at the same time.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 14 17:07:36 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/plugins/volumebinding/binder.go

    	for i, claim = range claimsToProvision {
    		logger.V(5).Info("Updating claims objects to trigger volume provisioning", "pod", klog.KObj(pod), "PVC", klog.KObj(claim))
    		newClaim, err := b.kubeClient.CoreV1().PersistentVolumeClaims(claim.Namespace).Update(ctx, claim, metav1.UpdateOptions{})
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 14:55:34 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/resource/v1alpha2/generated.proto

      // VendorClassParameters are the per-claim configuration parameters
      // from the resource class at the time that the claim was allocated.
      //
      // +optional
      optional .k8s.io.apimachinery.pkg.runtime.RawExtension vendorClassParameters = 1;
    
      // VendorClaimParameters are the per-claim configuration parameters
      // from the resource claim parameters at the time that the claim was
      // allocated.
      //
      // +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 22:07:50 UTC 2024
    - 26.2K bytes
    - Viewed (0)
Back to top