Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 919 for deleteRS (0.23 sec)

  1. pkg/controller/replicaset/replica_set.go

    	if curPod.DeletionTimestamp != nil {
    		// when a pod is deleted gracefully it's deletion timestamp is first modified to reflect a grace period,
    		// and after such time has passed, the kubelet actually deletes it from the store. We receive an update
    		// for modification of the deletion timestamp and expect an rs to create more replicas asap, not wait
    		// until the kubelet actually deletes the pod. This is different from the Phase of a pod changing, because
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  2. pkg/controller/replicaset/replica_set_test.go

    	// as the controller deletes it.
    	podExp, exists, err := manager.expectations.GetExpectations(rsKey)
    	if !exists || err != nil {
    		t.Errorf("No expectations found for ReplicaSet")
    	}
    	informers.Apps().V1().ReplicaSets().Informer().GetIndexer().Delete(rs)
    	manager.deleteRS(logger, rs)
    	manager.syncReplicaSet(ctx, GetKey(rs, t))
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 69.2K bytes
    - Viewed (0)
  3. pkg/controller/volume/persistentvolume/pv_controller.go

    	deleter, err := plugin.NewDeleter(logger, spec)
    	if err != nil {
    		// Cannot create deleter
    		return pluginName, false, fmt.Errorf("failed to create deleter for volume %q: %w", volume.Name, err)
    	}
    
    	opComplete := util.OperationCompleteHook(pluginName, "volume_delete")
    	err = deleter.Delete()
    	opComplete(volumetypes.CompleteFuncParam{Err: &err})
    	if err != nil {
    		// Deleter failed
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 89.2K bytes
    - Viewed (0)
  4. docs/bucket/replication/delete-replication.sh

    aws configure set aws_secret_access_key minioadmin --profile minioadmin
    aws configure set default.region us-east-1 --profile minioadmin
    
    aws s3api --endpoint-url http://localhost:9001 --profile minioadmin delete-object --bucket testbucket --key dir/file --version-id "$versionId"
    
    ./mc ls -r --versions myminio1/testbucket >/tmp/myminio1.txt
    ./mc ls -r --versions myminio2/testbucket >/tmp/myminio2.txt
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. pkg/controller/volume/persistentvolume/delete_test.go

    			expectedEvents:  noevents,
    			errors:          noerrors,
    			// Inject deleter into the controller and call syncVolume. The
    			// deleter simulates one delete() call that succeeds.
    			test: wrapTestWithReclaimCalls(operationDelete, []error{nil}, testSyncVolume),
    		},
    		{
    			// PV requires external deleter
    			name:            "8-10-1 - external deleter when volume is dynamic provisioning",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  6. src/internal/concurrent/hashtriemap.go

    				i.mu.Unlock()
    				return
    			}
    			if n.isEntry {
    				// What we saw is still true, so we can continue with the delete.
    				break
    			}
    		}
    		// We have to start over.
    		i.mu.Unlock()
    	}
    	// Try to delete the entry.
    	e, deleted := n.entry().compareAndDelete(key, old, ht.keyEqual, ht.valEqual)
    	if !deleted {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 16:01:55 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  7. src/sync/map.go

    		if !ok && read.amended {
    			e, ok = m.dirty[key]
    			delete(m.dirty, key)
    			// Regardless of whether the entry was present, record a miss: this key
    			// will take the slow path until the dirty map is promoted to the read
    			// map.
    			m.missLocked()
    		}
    		m.mu.Unlock()
    	}
    	if ok {
    		return e.delete()
    	}
    	return nil, false
    }
    
    // Delete deletes the value for a key.
    func (m *Map) Delete(key any) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  8. pkg/kube/namespace/filter.go

    		DeleteFunc: func(ns *corev1.Namespace) {
    			f.lock.Lock()
    			defer f.lock.Unlock()
    			// No need to notify handlers for deletes. The namespace was deleted, so the object will be as well (and a delete could not de-select).
    			// Note that specifically for the edge case of a Namespace watcher that is filtering, this will ignore deletes we should
    			// otherwise send.
    			// See kclient.applyDynamicFilter for rationale.
    			f.namespaceDeletedLocked(ns.ObjectMeta)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 17:12:52 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/kube/controller/pod.go

    			}
    		}
    	}
    	return pmap
    }
    
    // deleteIP returns true if the pod and ip are really deleted.
    func (pc *PodCache) deleteIP(ip string, podKey types.NamespacedName) bool {
    	pc.Lock()
    	defer pc.Unlock()
    	if pc.podsByIP[ip].Contains(podKey) {
    		sets.DeleteCleanupLast(pc.podsByIP, ip, podKey)
    		delete(pc.IPByPods, podKey)
    		return true
    	}
    	return false
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  10. cmd/erasure-object.go

    			if versioned || suspended {
    				// Bucket is versioned and no version was explicitly
    				// mentioned for deletes, create a delete marker instead.
    				vr.ModTime = UTCNow()
    				vr.Deleted = true
    				// Versioning suspended means that we add a `null` version
    				// delete marker, if not add a new version for this delete
    				// marker.
    				if versioned {
    					vr.VersionID = mustGetUUID()
    				}
    			}
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 78.6K bytes
    - Viewed (0)
Back to top