Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CountCRFetchFail (0.15 sec)

  1. operator/pkg/metrics/utils.go

    	ManifestRenderErrorTotal.
    		With(ComponentNameLabel.Value(string(cn))).
    		With(RenderErrorLabel.Value(string(reason))).
    		Increment()
    }
    
    // CountCRFetchFail increments the count of CR fetch failure
    // for a given name and the error status.
    func CountCRFetchFail(reason metav1.StatusReason) {
    	errorReason := string(reason)
    	if reason == metav1.StatusReasonUnknown {
    		errorReason = "unknown"
    	}
    	GetCRErrorTotal.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 20 18:48:20 UTC 2020
    - 1.8K bytes
    - Viewed (0)
  2. operator/pkg/controller/istiocontrolplane/istiocontrolplane_controller.go

    			return reconcile.Result{}, nil
    		}
    		// Error reading the object - requeue the request.
    		operatorFailedToGetObjectFromAPIServer.Log(scope).Warnf("error getting IstioOperator %s: %s", iopName, err)
    		metrics.CountCRFetchFail(errors.ReasonForError(err))
    		return reconcile.Result{}, err
    	}
    	if iop.Spec == nil {
    		iop.Spec = &v1alpha1.IstioOperatorSpec{Profile: name.DefaultProfileName}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 13:56:46 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top