Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 307 for Healthy (0.12 sec)

  1. pilot/pkg/xds/ads.go

    func (s *DiscoveryServer) handleWorkloadHealthcheck(proxy *model.Proxy, req *discovery.DiscoveryRequest) {
    	if features.WorkloadEntryHealthChecks {
    		event := autoregistration.HealthEvent{}
    		event.Healthy = req.ErrorDetail == nil
    		if !event.Healthy {
    			event.Message = req.ErrorDetail.Message
    		}
    		s.WorkloadEntryController.QueueWorkloadEntryHealth(proxy, event)
    	}
    }
    
    // DeltaAggregatedResources is not implemented.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 08:29:05 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/phases/etcd/local.go

    	etcdClient, err := etcdutil.NewFromCluster(client, certificatesDir)
    	if err != nil {
    		return err
    	}
    
    	// Checking health state
    	err = etcdClient.CheckClusterHealth()
    	if err != nil {
    		return errors.Wrap(err, "etcd cluster is not healthy")
    	}
    
    	return nil
    }
    
    // RemoveStackedEtcdMemberFromCluster will remove a local etcd member from etcd cluster,
    // when reset the control plane node.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 14:07:27 UTC 2024
    - 13.8K bytes
    - Viewed (1)
  3. pilot/pkg/serviceregistry/kube/controller/pod.go

    	if len(pc.c.handlers.GetWorkloadHandlers()) == 0 {
    		return
    	}
    	// fire instance handles for workload
    	ep := pc.c.NewEndpointBuilder(pod).buildIstioEndpoint(pod.Status.PodIP, 0, "", model.AlwaysDiscoverable, model.Healthy)
    	workloadInstance := &model.WorkloadInstance{
    		Name:      pod.Name,
    		Namespace: pod.Namespace,
    		Kind:      model.PodKind,
    		Endpoint:  ep,
    		PortMap:   getPortMap(pod),
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. pkg/istio-agent/xds_proxy.go

    		}
    	}()
    
    	go proxy.healthChecker.PerformApplicationHealthCheck(func(healthEvent *health.ProbeEvent) {
    		// Store the same response as Delta and SotW. Depending on how Envoy connects we will use one or the other.
    		req := &discovery.DiscoveryRequest{TypeUrl: model.HealthInfoType}
    		if !healthEvent.Healthy {
    			req.ErrorDetail = &google_rpc.Status{
    				Code:    int32(codes.Internal),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/phases/upgrade/staticpods.go

    		return false, errors.New("external etcd detected, won't try to change any etcd state")
    	}
    
    	// Checking health state of etcd before proceeding with the upgrade
    	err := oldEtcdClient.CheckClusterHealth()
    	if err != nil {
    		return true, errors.Wrap(err, "etcd cluster is not healthy")
    	}
    
    	// Backing up etcd data store
    	backupEtcdDir := pathMgr.BackupEtcdDir()
    	runningEtcdDir := cfg.Etcd.Local.DataDir
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 10:07:41 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  6. samples/bookinfo/src/productpage/productpage.py

                                  table_attributes="class=\"table table-condensed table-bordered table-hover\"")
    
        return render_template('index.html', serviceTable=table)
    
    
    @app.route('/health')
    def health():
        return 'Product page is healthy'
    
    
    @app.route('/login', methods=['POST'])
    def login():
        user = request.values.get('username')
        response = app.make_response(redirect(request.referrer))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 14:35:54 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/serviceregistry_test.go

    		out = append(out, "connect_originate;"+s)
    	}
    	return out
    }
    
    func setHealth(cfg config.Config, healthy bool) config.Config {
    	cfg = cfg.DeepCopy()
    	if cfg.Annotations == nil {
    		cfg.Annotations = map[string]string{}
    	}
    	cfg.Annotations[status.WorkloadEntryHealthCheckAnnotation] = "true"
    	if healthy {
    		return status.UpdateConfigCondition(cfg, &v1alpha1.IstioCondition{
    			Type:   status.ConditionHealthy,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  8. cmd/kube-apiserver/app/testing/testserver.go

    	}
    
    	if !instanceOptions.SkipHealthzCheck {
    		t.Logf("Waiting for /healthz to be ok...")
    
    		// wait until healthz endpoint returns ok
    		err = wait.Poll(100*time.Millisecond, time.Minute, func() (bool, error) {
    			select {
    			case err := <-errCh:
    				return false, err
    			default:
    			}
    
    			req := client.CoreV1().RESTClient().Get().AbsPath("/healthz")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  9. pkg/controller/volume/attachdetach/reconciler/reconciler_test.go

    	waitForDetachCallCount(t, 0 /* expectedDetachCallCount */, fakePlugin)
    }
    
    // Populates desiredStateOfWorld cache with one node/volume/pod tuple.
    // The node starts as healthy.
    //
    // Calls Run()
    // Verifies there is one attach call and no detach calls.
    // Deletes the pod from desiredStateOfWorld cache without first marking the node/volume as unmounted.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:14 UTC 2024
    - 72.8K bytes
    - Viewed (0)
  10. pkg/controller/statefulset/stateful_set_control.go

    	for target := len(replicas) - 1; target >= updateMin && deletedPods < podsToDelete; target-- {
    
    		// delete the Pod if it is healthy and the revision doesnt match the target
    		if getPodRevision(replicas[target]) != updateRevision.Name && !isTerminating(replicas[target]) {
    			// delete the Pod if it is healthy and the revision doesnt match the target
    			logger.V(2).Info("StatefulSet terminating Pod for update",
    				"statefulSet", klog.KObj(set),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:03:46 UTC 2024
    - 30.9K bytes
    - Viewed (0)
Back to top