- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 176 for n_clusters (0.28 sec)
-
istioctl/pkg/proxyconfig/clusters.go
func ClustersCommand(ctx cli.Context) *cobra.Command { var opts clioptions.ControlPlaneOptions cmd := &cobra.Command{ Use: "remote-clusters", Short: "Lists the remote clusters each istiod instance is connected to.", RunE: func(cmd *cobra.Command, args []string) error { kubeClient, err := ctx.CLIClientWithRevision(opts.Revision) if err != nil { return err }
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 2.3K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/clusters/clusters.go
type ConfigWriter struct { Stdout io.Writer clusters *clusters.Wrapper } // EndpointCluster is used to store the endpoint and cluster type EndpointCluster struct { address string port int cluster string status core.HealthStatus failedOutlierCheck bool } // Prime loads the clusters output into the writer ready for printing
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Thu Nov 03 08:41:32 GMT 2022 - 5.8K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/cluster.go
} clusters = append(clusters, clusterTyped) } } if len(clusters) == 0 { return nil, fmt.Errorf("no clusters found") } sort.Slice(clusters, func(i, j int) bool { iDirection, iSubset, iName, iPort := safelyParseSubsetKey(clusters[i].Name) jDirection, jSubset, jName, jPort := safelyParseSubsetKey(clusters[j].Name) if iName == jName { if iSubset == jSubset { if iPort == jPort {
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Thu May 11 05:38:17 GMT 2023 - 5.9K bytes - Viewed (0) -
common/scripts/kind_provisioner.sh
CLUSTER_SVC_SUBNETS+=("$value") done < <(echo "${KUBE_CLUSTERS}" | jq -r '.svc_subnet // .svcSubnet') while read -r value; do CLUSTER_NETWORK_ID+=("$value") done < <(echo "${KUBE_CLUSTERS}" | jq -r '.network_id // .network') export NUM_CLUSTERS NUM_CLUSTERS=$(echo "${KUBE_CLUSTERS}" | jq -s 'length') echo "${CLUSTER_NAMES[@]}" echo "${CLUSTER_POD_SUBNETS[@]}" echo "${CLUSTER_SVC_SUBNETS[@]}"
Shell Script - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Mon Apr 08 19:12:55 GMT 2024 - 17.3K bytes - Viewed (1) -
istioctl/pkg/proxyconfig/proxyconfig.go
istioctl proxy-config clusters <pod-name[.namespace]> # Retrieve cluster summary for clusters with port 9080. istioctl proxy-config clusters <pod-name[.namespace]> --port 9080 # Retrieve full cluster dump for clusters that are inbound with a FQDN of details.default.svc.cluster.local.
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Tue Apr 16 03:28:36 GMT 2024 - 48K bytes - Viewed (0) -
istioctl/pkg/writer/compare/cluster.go
} diff := difflib.UnifiedDiff{ FromFile: "Istiod Clusters", A: difflib.SplitLines(istiodBytes.String()), ToFile: "Envoy Clusters", B: difflib.SplitLines(envoyBytes.String()), Context: c.context, } text, err := difflib.GetUnifiedDiffString(diff) if err != nil { return err } if text != "" { fmt.Fprintln(c.w, "Clusters Don't Match") fmt.Fprintln(c.w, text) } else {
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Tue Mar 12 10:02:09 GMT 2024 - 1.9K bytes - Viewed (0) -
istioctl/pkg/util/clusters/wrapper.go
// limitations under the License. package clusters import ( admin "github.com/envoyproxy/go-control-plane/envoy/admin/v3" "istio.io/istio/pkg/util/protomarshal" ) // Wrapper is a wrapper around the Envoy Clusters // It has extra helper functions for handling any/struct/marshal protobuf pain type Wrapper struct { *admin.Clusters } // MarshalJSON is a custom marshaller to handle protobuf pain
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Thu Nov 03 08:41:32 GMT 2022 - 1.2K bytes - Viewed (0) -
istioctl/pkg/writer/compare/comparator_test.go
if err != nil { t.Fatalf("Failed to create Comparator: %v", err) } err = comparator.Diff() if err != nil { t.Errorf("Unexpected error during diff: %v", err) } expected := []string{"Clusters Match", "Listeners Match", "Routes Match"} for _, exp := range expected { if !bytes.Contains(outputBuffer.Bytes(), []byte(exp)) { t.Errorf("Expected %s, but it was not found", exp) } } }
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Tue Mar 12 10:02:09 GMT 2024 - 2.3K bytes - Viewed (0) -
istioctl/pkg/util/configdump/cluster.go
cluster "github.com/envoyproxy/go-control-plane/envoy/config/cluster/v3" v3 "istio.io/istio/pilot/pkg/xds/v3" ) // GetDynamicClusterDump retrieves a cluster dump with just dynamic active clusters in it func (w *Wrapper) GetDynamicClusterDump(stripVersions bool) (*admin.ClustersConfigDump, error) { clusterDump, err := w.GetClusterConfigDump() if err != nil { return nil, err }
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Thu Nov 03 08:41:32 GMT 2022 - 2.1K bytes - Viewed (0) -
cni/test/testdata/expected/ZZZ-istio-cni-kubeconfig.expected
# Kubeconfig file for Istio CNI plugin. apiVersion: v1 kind: Config clusters: - name: local cluster: server: https://[10.110.0.1]:443
Plain Text - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Thu Nov 19 23:19:19 GMT 2020 - 2.5K bytes - Viewed (0)