Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 90 for configs (0.04 sec)

  1. istioctl/pkg/writer/ztunnel/configdump/configdump_test.go

    			cd, _ := os.ReadFile(tt.inputFile)
    			err := cw.Prime(cd)
    			if cw.ztunnelDump == nil {
    				if tt.wantConfigs != 0 {
    					t.Errorf("wanted some configs loaded but config dump was nil")
    				}
    			} else if len(cw.ztunnelDump.Workloads) != tt.wantConfigs {
    				t.Errorf("wanted %v configs loaded in got %v", tt.wantConfigs, len(cw.ztunnelDump.Workloads))
    			}
    			if tt.wantErr {
    				assert.Error(t, err)
    			} else {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 06 20:18:34 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. common/scripts/kind_provisioner.sh

        DOCKER_KIND_SUBNET="$(docker inspect kind | jq '.[0].IPAM.Config[0].Subnet' -r)"
        METALLB_IPS4=()
        while read -r ip; do
          METALLB_IPS4+=("$ip")
        done < <(cidr_to_ips "$DOCKER_KIND_SUBNET" | tail -n 100)
        METALLB_IPS6=()
        if [[ "$(docker inspect kind | jq '.[0].IPAM.Config | length' -r)" == 2 ]]; then
          # Two configs? Must be dual stack.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Aug 21 04:47:23 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  3. cni/pkg/config/config.go

    // limitations under the License.
    
    package config
    
    import (
    	"fmt"
    	"strings"
    )
    
    type Config struct {
    	InstallConfig InstallConfig
    	RepairConfig  RepairConfig
    }
    
    // InstallConfig struct defines the Istio CNI installation options
    type InstallConfig struct {
    	// Location of the CNI config files in the container's filesystem (mount location of the CNINetDir)
    	MountedCNINetDir string
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 16 15:33:47 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. cni/pkg/iptables/iptables_test.go

    	cases := []struct {
    		name        string
    		config      func(cfg *Config)
    		ingressMode bool
    	}{
    		{
    			name: "default",
    			config: func(cfg *Config) {
    				cfg.RedirectDNS = true
    			},
    		},
    		{
    			name: "tproxy",
    			config: func(cfg *Config) {
    				cfg.TPROXYRedirection = true
    				cfg.RedirectDNS = true
    			},
    		},
    		{
    			name: "ingress",
    			config: func(cfg *Config) {
    			},
    			ingressMode: true,
    		},
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Oct 15 15:39:28 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. cni/pkg/install/cniconfig.go

    			installLog.Errorf("Failed to rename CNI config file %v: %v", cniConfigFilepath, err)
    			return cniConfigFilepath, err
    		}
    		cniConfigFilepath += "list"
    	}
    
    	installLog.Infof("created CNI config %s", cniConfigFilepath)
    	installLog.Debugf("CNI config: %s", pluginConfig)
    	return cniConfigFilepath, nil
    }
    
    // If configured as chained CNI plugin, waits indefinitely for a main CNI config file to exist before returning
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. istioctl/pkg/proxyconfig/proxyconfig.go

      istioctl proxy-config clusters <pod-name[.namespace]> --fqdn details.default.svc.cluster.local --direction inbound -o json
    
      # Retrieve cluster summary without using Kubernetes API
      ssh <user@hostname> 'curl localhost:15000/config_dump' > envoy-config.json
      istioctl proxy-config clusters --file envoy-config.json
    `,
    		Aliases: []string{"clusters", "c"},
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 15:53:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/envoy/configdump/route.go

    	core "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
    	route "github.com/envoyproxy/go-control-plane/envoy/config/route/v3"
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/istioctl/pkg/util/proto"
    	pilot_util "istio.io/istio/pilot/pkg/networking/util"
    	v3 "istio.io/istio/pilot/pkg/xds/v3"
    	"istio.io/istio/pkg/util/sets"
    )
    
    // RouteFilter is used to pass filter information into route based config writer print functions
    type RouteFilter struct {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 08 20:44:50 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. common/scripts/setup_env.sh

      CONDITIONAL_HOST_MOUNTS+="--mount type=bind,source=${HOME}/.docker,destination=/config/.docker,readonly "
    fi
    
    # gcloud conditional host mount (needed for docker push with the gcloud auth configure-docker)
    if [[ -d "${HOME}/.config/gcloud" ]]; then
      CONDITIONAL_HOST_MOUNTS+="--mount type=bind,source=${HOME}/.config/gcloud,destination=/config/.config/gcloud,readonly "
    fi
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Nov 06 04:52:54 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  9. cni/pkg/cmd/root.go

    }
    
    func bindViper(name string) {
    	if err := viper.BindPFlag(name, rootCmd.Flags().Lookup(name)); err != nil {
    		log.Error(err)
    		os.Exit(1)
    	}
    }
    
    func constructConfig() (*config.Config, error) {
    	installCfg := config.InstallConfig{
    		MountedCNINetDir: viper.GetString(constants.MountedCNINetDir),
    		CNIConfName:      viper.GetString(constants.CNIConfName),
    		ChainedCNIPlugin: viper.GetBool(constants.ChainedCNIPlugin),
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 16 15:33:47 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. cni/pkg/install/kubeconfig.go

    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/cni/pkg/config"
    	"istio.io/istio/cni/pkg/constants"
    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pkg/file"
    )
    
    type kubeconfig struct {
    	// The full kubeconfig
    	Full string
    	// Kubeconfig with confidential data redacted.
    	Redacted string
    }
    
    func createKubeConfig(cfg *config.InstallConfig) (kubeconfig, error) {
    	if len(cfg.K8sServiceHost) == 0 {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top