Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 123 for updateStats (0.34 sec)

  1. pkg/controller/disruption/disruption.go

    		Type:   v1.DisruptionTarget,
    		Status: v1.ConditionFalse,
    	})
    	if !updated {
    		return nil
    	}
    	if _, err := dc.kubeClient.CoreV1().Pods(pod.Namespace).UpdateStatus(ctx, newPod, metav1.UpdateOptions{}); err != nil {
    		return err
    	}
    	logger.V(2).Info("Reset stale DisruptionTarget condition to False", "pod", klog.KObj(pod))
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 36.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/deadness_analysis_test.cc

                         .Input(_data)
                         .Input(_output_index)
                         .Attr("num_outs", num_outs);
      scope.UpdateBuilder(&builder);
      scope.UpdateStatus(builder.Finalize(scope.graph(), &ret));
      if (!scope.ok()) return;
      scope.UpdateStatus(scope.DoShapeInference(ret));
      for (int32_t i = 0; i < ret->num_outputs(); ++i) {
        outputs->push_back(Output(ret, i));
      }
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  3. pilot/pkg/networking/grpcgen/grpcgen_test.go

    // event through a channel.
    type testClientConn struct {
    	resolver.ClientConn
    	stateCh chan resolver.State
    	errorCh chan error
    }
    
    func (t *testClientConn) UpdateState(s resolver.State) error {
    	t.stateCh <- s
    	return nil
    }
    
    func (t *testClientConn) ReportError(err error) {
    	t.errorCh <- err
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 09:04:02 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  4. pkg/registry/core/pod/storage/eviction.go

    	// be deleted at all and remove it from DisruptedPod map.
    	pdb.Status.DisruptedPods[podName] = metav1.Time{Time: time.Now()}
    	if _, err := r.podDisruptionBudgetClient.PodDisruptionBudgets(namespace).UpdateStatus(context.TODO(), &pdb, metav1.UpdateOptions{}); err != nil {
    		return err
    	}
    
    	return nil
    }
    
    // getPodDisruptionBudgets returns any PDBs that match the pod or err if there's an error.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 08 11:58:48 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  5. tensorflow/cc/gradients/linalg_grad.cc

      reduced_axes.reserve(reduced_subs.size());
      for (const char s : reduced_subs) {
        auto axis = EinsumGetAxisFromLabel(subscripts, s);
        if (!axis.has_value()) {
          // Should never happen.
          scope.UpdateStatus(errors::Internal(
              absl::StrCat("Missing axis", absl::string_view(&s, 1))));
        } else {
          reduced_axes.push_back(*axis);
        }
      }
      // Get the corresponding dimensions for each reduced axis.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 07 23:11:54 UTC 2022
    - 20.4K bytes
    - Viewed (0)
  6. pkg/controller/resourcequota/resource_quota_controller.go

    	// there was a change observed by this controller that requires we update quota
    	if dirty {
    		_, err = rq.rqClient.ResourceQuotas(usage.Namespace).UpdateStatus(ctx, usage, metav1.UpdateOptions{})
    		if err != nil {
    			errs = append(errs, err)
    		}
    	}
    	return utilerrors.NewAggregate(errs)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  7. pkg/controller/deployment/deployment_controller.go

    		if d.Status.ObservedGeneration < d.Generation {
    			d.Status.ObservedGeneration = d.Generation
    			dc.client.AppsV1().Deployments(d.Namespace).UpdateStatus(ctx, d, metav1.UpdateOptions{})
    		}
    		return nil
    	}
    
    	// List ReplicaSets owned by this Deployment, while reconciling ControllerRef
    	// through adoption/orphaning.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  8. pkg/controller/daemon/update.go

    		}
    		if currDS.Status.CollisionCount == nil {
    			currDS.Status.CollisionCount = new(int32)
    		}
    		*currDS.Status.CollisionCount++
    		_, updateErr := dsc.kubeClient.AppsV1().DaemonSets(ds.Namespace).UpdateStatus(ctx, currDS, metav1.UpdateOptions{})
    		if updateErr != nil {
    			return nil, updateErr
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 16:53:53 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  9. pkg/controller/volume/persistentvolume/pv_controller.go

    		return claim, nil
    	}
    
    	newClaim, err := ctrl.kubeClient.CoreV1().PersistentVolumeClaims(claimClone.Namespace).UpdateStatus(ctx, claimClone, metav1.UpdateOptions{})
    	if err != nil {
    		logger.V(4).Info("Updating PersistentVolumeClaim status, set phase failed", "PVC", klog.KObj(claim), "phase", phase, "err", err)
    		return newClaim, err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 89.2K bytes
    - Viewed (0)
  10. pkg/controller/nodelifecycle/node_lifecycle_controller.go

    		_, currentReadyCondition = controllerutil.GetNodeCondition(&node.Status, v1.NodeReady)
    
    		if !apiequality.Semantic.DeepEqual(currentReadyCondition, &observedReadyCondition) {
    			if _, err := nc.kubeClient.CoreV1().Nodes().UpdateStatus(ctx, node, metav1.UpdateOptions{}); err != nil {
    				logger.Error(err, "Error updating node", "node", klog.KObj(node))
    				return gracePeriod, observedReadyCondition, currentReadyCondition, err
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
Back to top