Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 93 for workloadentry (0.17 sec)

  1. pilot/pkg/model/status/workloadentry.go

    	// health checks are enabled.
    	// If this annotation is present, a WorkloadEntry with the condition Healthy=False or Healthy not set
    	// should be treated as unhealthy and not sent to proxies
    	WorkloadEntryHealthCheckAnnotation = "proxy.istio.io/health-checks-enabled"
    
    	// ConditionHealthy defines a status field to declare if a WorkloadEntry is healthy or not
    	ConditionHealthy = "Healthy"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 15 05:26:17 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/serviceentry/workloadentry.go

    import (
    	networking "istio.io/api/networking/v1alpha3"
    	"istio.io/istio/pkg/network"
    )
    
    // return the mesh network for the workload entry. Empty string if not found.
    func (s *Controller) workloadEntryNetwork(wle *networking.WorkloadEntry) network.ID {
    	if s == nil {
    		return ""
    	}
    	// 1. first check the wle.Network
    	if wle.Network != "" {
    		return network.ID(wle.Network)
    	}
    
    	// 2. fall back to the passed in getNetworkCb func.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 11 03:34:47 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  3. pilot/pkg/xds/testdata/benchmarks/serviceentry-workloadentry.yaml

      location: MESH_INTERNAL
      workloadSelector:
        labels:
          app: random-{{$i}}
    
    ---
    {{- end }}
    
    ---
    {{- range $j := until .Instances }}
    apiVersion: networking.istio.io/v1alpha3
    kind: WorkloadEntry
    metadata:
      name: random-{{$j}}
    spec:
      serviceAccount: random
      address: 10.10.10.10
      labels:
        app: random-{{mod $j $.Services}}
    ---
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Oct 29 17:35:13 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  4. pkg/test/datasets/validation/dataset/networking-v1alpha3-WorkloadEntry.yaml

    apiVersion: networking.istio.io/v1alpha3
    kind: WorkloadEntry
    metadata:
      name: valid-workload-entry
    spec:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 17 07:02:38 UTC 2023
    - 127 bytes
    - Viewed (0)
  5. pkg/test/datasets/validation/dataset/networking-v1-WorkloadEntry.yaml

    apiVersion: networking.istio.io/v1
    kind: WorkloadEntry
    metadata:
      name: valid-workload-entry
    spec:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 01 14:30:05 UTC 2024
    - 119 bytes
    - Viewed (0)
  6. pkg/test/datasets/validation/dataset/networking-v1beta1-WorkloadEntry.yaml

    apiVersion: networking.istio.io/v1beta1
    kind: WorkloadEntry
    metadata:
      name: valid-workload-entry
    spec:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 01 14:30:05 UTC 2024
    - 124 bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/serviceregistry_test.go

    			},
    		})
    		makeIstioObject(t, store, workloadEntry)
    		fx.WaitOrFail(t, "xds full")
    
    		instances := []EndpointResponse{{
    			Address: workloadEntry.Spec.(*networking.WorkloadEntry).Address,
    			Port:    80,
    		}}
    		expectServiceEndpoints(t, fx, expectedSvc, 80, instances)
    
    		fx.Clear()
    		// Update the port
    		newWorkloadEntry := workloadEntry.DeepCopy()
    		spec := workloadEntry.Spec.(*networking.WorkloadEntry).DeepCopy()
    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. pilot/pkg/autoregistration/controller_test.go

    			err := c.OnConnect(makeConn(proxy, time.Now()))
    			assert.NoError(t, err)
    
    			wle := store.Get(gvk.WorkloadEntry, we.Name, we.Namespace)
    			if wle == nil {
    				t.Fatalf("WorkloadEntry %s/%s must exist", we.Namespace, we.Name)
    			}
    			if diff := cmp.Diff(we.Annotations, wle.Annotations); diff != "" {
    				t.Fatalf("WorkloadEntry should not have been changed: %v", diff)
    			}
    		})
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 00:00:36 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  9. pilot/pkg/autoregistration/internal/state/store.go

    	// get previous status
    	cfg := s.store.Get(gvk.WorkloadEntry, entryName, entryNs)
    	if cfg == nil {
    		return fmt.Errorf("failed to update health status for %v: WorkloadEntry %v not found", proxyID, entryNs)
    	}
    	// The workloadentry has reconnected to the other istiod
    	if !s.cb.IsControllerOf(cfg) {
    		return nil
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  10. pilot/pkg/autoregistration/controller.go

    		autoCreate = true
    	} else if features.WorkloadEntryHealthChecks && proxy.Metadata.WorkloadEntry != "" {
    		// a non-empty value of the `WorkloadEntry` field indicates that proxy must correspond to the WorkloadEntry
    		wle := c.store.Get(gvk.WorkloadEntry, proxy.Metadata.WorkloadEntry, proxy.Metadata.Namespace)
    		if wle == nil {
    			// either invalid proxy configuration or config propagation delay
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 00:00:36 UTC 2024
    - 26.4K bytes
    - Viewed (0)
Back to top