Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for meshNetworks (0.28 sec)

  1. pkg/config/analysis/analyzers/multicluster/meshnetworks.go

    }
    
    // Metadata implements Analyzer
    func (s *MeshNetworksAnalyzer) Metadata() analysis.Metadata {
    	return analysis.Metadata{
    		Name:        "meshnetworks.MeshNetworksAnalyzer",
    		Description: "Check the validity of MeshNetworks in the cluster",
    		Inputs: []config.GroupVersionKind{
    			gvk.MeshNetworks,
    			gvk.Secret,
    		},
    	}
    }
    
    // Analyze implements Analyzer
    func (s *MeshNetworksAnalyzer) Analyze(c analysis.Context) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 01 01:34:15 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. pkg/config/mesh/networks_watcher.go

    	"istio.io/istio/pkg/util/protomarshal"
    )
    
    // NetworksHolder is a holder of a mesh networks configuration.
    type NetworksHolder interface {
    	SetNetworks(*meshconfig.MeshNetworks)
    	Networks() *meshconfig.MeshNetworks
    	PrevNetworks() *meshconfig.MeshNetworks
    }
    
    // WatcherHandlerRegistration will be returned to caller to remove the handler later.
    type WatcherHandlerRegistration struct {
    	handler func()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 20 18:33:38 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  3. pkg/config/mesh/kubemesh/watcher.go

    		meshNetworks, err := ReadNetworksConfigMap(cm, "meshNetworks")
    		if err != nil {
    			// Keep the last known config in case there's a misconfiguration issue.
    			log.Errorf("failed to read meshNetworks config from ConfigMap: %v", err)
    			return
    		}
    		if meshNetworks != nil {
    			w.SetNetworks(meshNetworks)
    		}
    		if multiWatch {
    			meshConfig := meshConfigMapData(cm, key)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 25 20:54:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. pkg/config/schema/kind/resources.gen.go

    		return "Ingress"
    	case IngressClass:
    		return "IngressClass"
    	case KubernetesGateway:
    		return "Gateway"
    	case Lease:
    		return "Lease"
    	case MeshConfig:
    		return "MeshConfig"
    	case MeshNetworks:
    		return "MeshNetworks"
    	case MutatingWebhookConfiguration:
    		return "MutatingWebhookConfiguration"
    	case Namespace:
    		return "Namespace"
    	case Node:
    		return "Node"
    	case PeerAuthentication:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 07:19:38 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. pkg/config/mesh/networks_watcher_test.go

    	g := NewWithT(t)
    
    	path := newTempFile(t)
    	defer removeSilent(path)
    
    	n := meshconfig.MeshNetworks{
    		Networks: make(map[string]*meshconfig.Network),
    	}
    	writeMessage(t, path, &n)
    
    	w := newNetworksWatcher(t, path)
    	g.Expect(w.Networks()).To(Equal(&n))
    
    	doneCh := make(chan struct{}, 1)
    
    	var newN *meshconfig.MeshNetworks
    	w.AddNetworksHandler(func() {
    		newN = w.Networks()
    		close(doneCh)
    	})
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  6. manifests/charts/istio-control/istio-discovery/templates/configmap.yaml

        operator.istio.io/component: "Pilot"
        release: {{ .Release.Name }}
    data:
    
      # Configuration file for the mesh networks to be used by the Split Horizon EDS.
      meshNetworks: |-
      {{- if .Values.global.meshNetworks }}
        networks:
    {{ toYaml .Values.global.meshNetworks | trim | indent 6 }}
      {{- else }}
        networks: {}
      {{- end }}
    
      mesh: |-
    {{- if .Values.meshConfig }}
    {{ $mesh | toYaml | indent 4 }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 18:16:49 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. pilot/pkg/model/network_test.go

    		errF := failingDNSServer.Shutdown()
    		if errW != nil || errF != nil {
    			t.Logf("failed shutting down fake dns servers")
    		}
    	})
    
    	meshNetworks := mesh.NewFixedNetworksWatcher(nil)
    	xdsUpdater := xdsfake.NewFakeXDS()
    	env := &model.Environment{NetworksWatcher: meshNetworks, ServiceDiscovery: memory.NewServiceDiscovery()}
    	if err := env.InitNetworksManager(xdsUpdater); err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 16 01:18:03 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  8. operator/cmd/mesh/testdata/manifest-generate/output/pilot_disable_tracing.golden.yaml

          tracing: {}
        defaultProviders:
          metrics:
          - prometheus
        enablePrometheusMerge: true
        rootNamespace: istio-system
        trustDomain: cluster.local
      meshNetworks: 'networks: {}'
    kind: ConfigMap
    metadata:
      labels:
        install.operator.istio.io/owning-resource: unknown
        istio.io/rev: default
        operator.istio.io/component: Pilot
        release: istio
      name: istio
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 525 bytes
    - Viewed (0)
  9. manifests/charts/istiod-remote/templates/configmap.yaml

        operator.istio.io/component: "Pilot"
        release: {{ .Release.Name }}
    data:
    
      # Configuration file for the mesh networks to be used by the Split Horizon EDS.
      meshNetworks: |-
      {{- if .Values.global.meshNetworks }}
        networks:
    {{ toYaml .Values.global.meshNetworks | trim | indent 6 }}
      {{- else }}
        networks: {}
      {{- end }}
    
      mesh: |-
    {{- if .Values.meshConfig }}
    {{ $mesh | toYaml | indent 4 }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 18:16:49 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  10. operator/cmd/mesh/testdata/manifest-generate/output/pilot_merge_meshconfig.golden.yaml

        defaultProviders:
          metrics:
          - prometheus
        enablePrometheusMerge: true
        outboundTrafficPolicy:
          mode: REGISTRY_ONLY
        rootNamespace: istio-control
        trustDomain: cluster.local
      meshNetworks: 'networks: {}'
    kind: ConfigMap
    metadata:
      labels:
        install.operator.istio.io/owning-resource: unknown
        istio.io/rev: default
        operator.istio.io/component: Pilot
        release: istio
      name: istio
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 743 bytes
    - Viewed (0)
Back to top