Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 160 for repair (0.18 sec)

  1. cni/pkg/repair/repair.go

    // limitations under the License.
    
    package repair
    
    import (
    	"context"
    
    	"istio.io/istio/cni/pkg/config"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/log"
    )
    
    var repairLog = log.RegisterScope("repair", "CNI race condition repair")
    
    func StartRepair(ctx context.Context, cfg config.RepairConfig) {
    	if !cfg.Enabled {
    		repairLog.Info("CNI repair is disable.")
    		return
    	}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue May 23 17:08:31 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  2. cni/pkg/repair/repair_test_helpers.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package repair
    
    import (
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    
    	"istio.io/istio/tools/istio-iptables/pkg/constants"
    )
    
    type makePodArgs struct {
    	PodName             string
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri May 12 17:39:53 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  3. cni/pkg/constants/constants.go

    	AmbientIPv6          = "ambient-ipv6"
    
    	// Repair
    	RepairEnabled            = "repair-enabled"
    	RepairDeletePods         = "repair-delete-pods"
    	RepairRepairPods         = "repair-repair-pods"
    	RepairLabelPods          = "repair-label-pods"
    	RepairLabelKey           = "repair-broken-pod-label-key"
    	RepairLabelValue         = "repair-broken-pod-label-value"
    	RepairNodeName           = "repair-node-name"
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  4. manifests/charts/istio-cni/templates/daemonset.yaml

                - name: REPAIR_LABEL_PODS
                  value: "{{.Values.cni.repair.labelPods}}"
                # Set to true to enable pod deletion
                - name: REPAIR_DELETE_PODS
                  value: "{{.Values.cni.repair.deletePods}}"
                - name: REPAIR_REPAIR_PODS
                  value: "{{.Values.cni.repair.repairPods}}"
                - name: REPAIR_RUN_AS_DAEMON
                  value: "true"
                - name: REPAIR_SIDECAR_ANNOTATION
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Wed Feb 28 17:29:38 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  5. cni/pkg/repair/monitoring.go

    	podsRepaired = monitoring.NewSum(
    		"istio_cni_repair_pods_repaired_total",
    		"Total number of pods repaired by repair controller",
    	)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Dec 20 22:14:13 GMT 2023
    - 1K bytes
    - Viewed (0)
  6. manifests/charts/istio-cni/templates/clusterrolebinding.yaml

    subjects:
    - kind: ServiceAccount
      name: istio-cni
      namespace: {{ .Release.Namespace }}
    ---
    {{- if .Values.cni.repair.enabled }}
    apiVersion: rbac.authorization.k8s.io/v1
    kind: ClusterRoleBinding
    metadata:
      name: istio-cni-repair-rolebinding
      labels:
        k8s-app: istio-cni-repair
        istio.io/rev: {{ .Values.revision | default "default" }}
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Dec 20 22:14:13 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  7. manifests/charts/istio-cni/templates/clusterrole.yaml

      - apiGroups: [""]
        resources: ["pods"]
        verbs: ["watch", "get", "list"]
    {{- if .Values.cni.repair.repairPods }}
    {{- /*  No privileges needed*/}}
    {{- else if .Values.cni.repair.deletePods }}
      - apiGroups: [""]
        resources: ["pods"]
        verbs: ["delete"]
    {{- else if .Values.cni.repair.labelPods }}
      - apiGroups: [""]
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Dec 20 22:14:13 GMT 2023
    - 2K bytes
    - Viewed (0)
  8. cni/pkg/config/config.go

    	AmbientDNSCapture bool
    
    	// Whether ipv6 is enabled for ambient capture
    	AmbientIPv6 bool
    }
    
    // RepairConfig struct defines the Istio CNI race repair configuration
    type RepairConfig struct {
    	// Whether to enable CNI race repair
    	Enabled bool
    
    	// The node name that the CNI DaemonSet runs on
    	NodeName string
    
    	// Key and value for broken pod label
    	LabelKey   string
    	LabelValue string
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  9. manifests/charts/istio-cni/values.yaml

          configDir: ""
          # If enabled, and ambient is enabled, DNS redirection will be enabled
          dnsCapture: false
    
    
        repair:
          enabled: true
          hub: ""
          tag: ""
    
          # Repair controller has 3 modes. Pick which one meets your use cases. Note only one may be used.
          # This defines the action the controller will take when a pod is detected as broken.
    
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Wed Feb 28 17:29:38 GMT 2024
    - 5.1K bytes
    - Viewed (1)
  10. ci/official/utilities/rename_and_verify_wheels.sh

      mkdir -p $TFCI_OUTPUT_DIR/extra_wheels
      ls -t *.whl | tail -n +2 | xargs mv -t $TFCI_OUTPUT_DIR/extra_wheels
    fi
    
    # Repair wheels with auditwheel and delete the old one.
    if [[ "$TFCI_WHL_AUDIT_ENABLE" == "1" ]]; then
      python3 -m auditwheel repair --plat "$TFCI_WHL_AUDIT_PLAT" --wheel-dir . *.whl
      # if the wheel is already named correctly, auditwheel won't rename it. so we
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 21:16:27 GMT 2024
    - 3.4K bytes
    - Viewed (0)
Back to top