Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for localisty (0.18 sec)

  1. pilot/pkg/networking/grpcgen/testdata/xds_bootstrap.json

        "metadata": {
          "INSTANCE_IPS": "127.0.1.1",
          "PILOT_SAN": [
            "istiod.istio-system.svc"
          ],
          "GENERATOR": "grpc",
          "NAMESPACE": "test"
        },
        "localisty": {},
        "UserAgentVersionType": "istiov1"
      },
      "certificate_providers": {
        "default": {
          "plugin_name": "file_watcher",
          "config": {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 08 18:48:42 UTC 2022
    - 961 bytes
    - Viewed (0)
  2. pkg/test/loadbalancersim/locality/locality.go

    //  limitations under the License.
    
    package locality
    
    import (
    	"fmt"
    	"strings"
    )
    
    type Instance struct {
    	Zone   string
    	Region string
    }
    
    func (l Instance) String() string {
    	return fmt.Sprintf("%s/%s", l.Region, l.Zone)
    }
    
    func Parse(s string) Instance {
    	parts := strings.Split(s, "/")
    	if len(parts) != 2 {
    		panic("invalid locality string: " + s)
    	}
    	return Instance{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 27 20:55:37 UTC 2022
    - 979 bytes
    - Viewed (0)
  3. releasenotes/notes/locality-service.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: traffic-management
    releaseNotes:
      - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 07 21:53:05 UTC 2023
    - 218 bytes
    - Viewed (0)
  4. releasenotes/notes/autoregistered-workload-entry-locality.yaml

    kind: feature
    
    area: traffic-management
    
    issue:
    - https://github.com/istio/istio/pull/33426
    - 33426
    
    releaseNotes:
    - |
      **Added** support for overriding the locality of the WorkloadGroup template in
      auto registered WorkloadEntries. Locality overrides can be passed in through
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 22 18:59:18 UTC 2021
    - 342 bytes
    - Viewed (0)
  5. pkg/test/loadbalancersim/mesh/node.go

    		n.q.Schedule(wrappedOnDone, deadline)
    	}, onDone)
    }
    
    func (n *Node) Locality() locality.Instance {
    	return n.locality
    }
    
    func (n *Node) ShutDown() {
    	n.q.ShutDown()
    }
    
    type Nodes []*Node
    
    func (nodes Nodes) Select(match locality.Match) Nodes {
    	var out Nodes
    	for _, n := range nodes {
    		if match(n.locality) {
    			out = append(out, n)
    		}
    	}
    	return out
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 03 18:19:25 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/endpoint_builder.go

    	return out
    }
    
    func (c *Controller) NewEndpointBuilderFromMetadata(proxy *model.Proxy) *EndpointBuilder {
    	locality := util.LocalityToString(proxy.Locality)
    	out := &EndpointBuilder{
    		controller:     c,
    		metaNetwork:    proxy.Metadata.Network,
    		serviceAccount: proxy.Metadata.ServiceAccount,
    		locality: model.Locality{
    			Label:     locality,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/envoy/configdump/endpoint.go

    				if includeConfigType {
    					addr = fmt.Sprintf("endpoint/%s", addr)
    				}
    				fmt.Fprintf(w, "%v\t%v\t%v\t%v\n",
    					addr,
    					ep.GetHealthStatus().String(),
    					util.LocalityToString(llb.Locality),
    					eds.ClusterName,
    				)
    			}
    		}
    	}
    
    	return w.Flush()
    }
    
    func (c *ConfigWriter) retrieveSortedEndpointsSlice(filter EndpointFilter) ([]*endpoint.ClusterLoadAssignment, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. pkg/bootstrap/platform/aws_test.go

    		t.Run(v.name, func(tt *testing.T) {
    			server, url := setupHTTPServer(v.handlers)
    			defer server.Close()
    			awsMetadataIPv4URL = url.String()
    			locality := NewAWS(false).Locality()
    			if !reflect.DeepEqual(locality, v.want) {
    				t.Errorf("unexpected locality. want :%v, got :%v", v.want, locality)
    			}
    		})
    	}
    }
    
    func TestIsAWS(t *testing.T) {
    	cases := []struct {
    		name     string
    		handlers map[string]handlerFunc
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 18 13:10:06 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/kube/controller/endpoint_builder_test.go

    				},
    				Metadata: &model.NodeMetadata{
    					Labels: labels.Instance{
    						"k1":                       "v1",
    						label.TopologyNetwork.Name: "mynetwork",
    					},
    				},
    				Locality: &core.Locality{
    					Region: "myregion",
    				},
    			},
    			expected: labels.Instance{
    				"k1":                       "v1",
    				NodeRegionLabelGA:          "myregion",
    				label.TopologyNetwork.Name: "mynetwork",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  10. pkg/test/framework/components/echo/kube/templates/deployment.yaml

    {{- if ne $.Locality "" }}
          istio-locality: {{ $.Locality }}
    {{- end }}
      template:
        metadata:
          labels:
            app: {{ $.Service }}
            version: {{ $subset.Version }}
            test.istio.io/class: {{ $.WorkloadClass }}
    {{- if $.Compatibility }}
            istio.io/rev: {{ $revision }}
    {{- end }}
    {{- if ne $.Locality "" }}
            istio-locality: {{ $.Locality }}
    {{- end }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top