Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for buildBlackHoleCluster (0.31 sec)

  1. pilot/pkg/networking/core/cluster.go

    		resources = append(resources, ob...)
    		// Add a blackhole and passthrough cluster for catching traffic to unresolved routes
    		clusters = outboundPatcher.conditionallyAppend(clusters, nil, cb.buildBlackHoleCluster(), cb.buildDefaultPassthroughCluster())
    		clusters = append(clusters, outboundPatcher.insertedClusters()...)
    		// Setup inbound clusters
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 33K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/cluster_builder.go

    	}
    	return c
    }
    
    // generates a cluster that sends traffic to dummy localport 0
    // This cluster is used to catch all traffic to unresolved destinations in virtual service
    func (cb *ClusterBuilder) buildBlackHoleCluster() *cluster.Cluster {
    	c := &cluster.Cluster{
    		Name:                 util.BlackHoleCluster,
    		ClusterDiscoveryType: &cluster.Cluster_Type{Type: cluster.Cluster_STATIC},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 31.6K bytes
    - Viewed (0)
Back to top