Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for kubeconfig (0.41 sec)

  1. cni/pkg/nodeagent/server.go

    }
    
    func (s *Server) NotReady() {
    	s.isReady.Store(false)
    }
    
    // buildKubeClient creates the kube client
    func buildKubeClient(kubeConfig string) (kube.Client, error) {
    	// Used by validation
    	kubeRestConfig, err := kube.DefaultRestConfig(kubeConfig, "", func(config *rest.Config) {
    		config.QPS = 80
    		config.Burst = 160
    	})
    	if err != nil {
    		return nil, fmt.Errorf("failed creating kube config: %v", err)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  2. common/scripts/setup_env.sh

    else
      add_KUBECONFIG_if_exists "$1"
    fi
    }
    
    KUBECONFIG=${KUBECONFIG:="$HOME/.kube/config"}
    parse_KUBECONFIG "${KUBECONFIG}"
    if [[ "${FOR_BUILD_CONTAINER:-0}" -eq "1" ]]; then
      KUBECONFIG="${container_kubeconfig%?}"
    fi
    
    # LOCAL_OUT should point to architecture where we are currently running versus the desired.
    # This is used when we need to run a build artifact during tests or later as part of another
    # target.
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 16:31:40 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  3. cni/pkg/config/config.go

    	CNINetworkConfig string
    
    	// Logging level
    	LogLevel string
    	// Name of the kubeconfig file used by the CNI plugin
    	KubeconfigFilename string
    	// The file mode to set when creating the kubeconfig file
    	KubeconfigMode int
    	// CA file for kubeconfig
    	KubeCAFile string
    	// Whether to use insecure TLS in the kubeconfig file
    	SkipTLSVerify bool
    
    	// KUBERNETES_SERVICE_PROTOCOL
    	K8sServiceProtocol string
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  4. manifests/charts/istio-control/istio-discovery/templates/deployment.yaml

          # Optional: user-generated root
          - name: cacerts
            secret:
              secretName: cacerts
              optional: true
          - name: istio-kubeconfig
            secret:
              secretName: istio-kubeconfig
              optional: true
          # Optional: istio-csr dns pilot certs
          - name: istio-csr-dns-cert
            secret:
              secretName: istiod-tls
              optional: true
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  5. cni/pkg/cmd/root.go

    	registerStringParameter(constants.KubeconfigFilename, "ZZZ-istio-cni-kubeconfig",
    		"Name of the kubeconfig file which CNI plugin will use when interacting with API server")
    	registerIntegerParameter(constants.KubeconfigMode, constants.DefaultKubeconfigMode, "File mode of the kubeconfig file")
    	registerStringParameter(constants.KubeCAFile, "", "CA file for kubeconfig. Defaults to the same as install-cni pod")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  6. cni/pkg/constants/constants.go

    	CNINetworkConfigFile = "cni-network-config-file"
    	CNINetworkConfig     = "cni-network-config"
    	LogLevel             = "log-level"
    	KubeconfigFilename   = "kubecfg-file-name"
    	KubeconfigMode       = "kubeconfig-mode"
    	KubeCAFile           = "kube-ca-file"
    	SkipTLSVerify        = "skip-tls-verify"
    	MonitoringPort       = "monitoring-port"
    	LogUDSAddress        = "log-uds-address"
    	ZtunnelUDSAddress    = "ztunnel-uds-address"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  7. cni/pkg/plugin/plugin.go

    	podRetrievalInterval   = 1 * time.Second
    )
    
    const (
    	ISTIOINIT  = "istio-init"
    	ISTIOPROXY = "istio-proxy"
    )
    
    // Kubernetes a K8s specific struct to hold config
    type Kubernetes struct {
    	Kubeconfig        string   `json:"kubeconfig"`
    	ExcludeNamespaces []string `json:"exclude_namespaces"`
    }
    
    // Config is whatever you expect your configuration json to be. This is whatever
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/options.go

    	DefaultHostProbeSNATIP   = "169.254.7.127"
    	DefaultHostProbeSNATIPV6 = "fd16:9254:7127:1337:ffff:ffff:ffff:ffff"
    )
    
    type AmbientArgs struct {
    	SystemNamespace string
    	Revision        string
    	KubeConfig      string
    	ServerSocket    string
    	DNSCapture      bool
    	EnableIPv6      bool
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 2K bytes
    - Viewed (0)
  9. cni/pkg/plugin/plugin_test.go

                }
            ],
            "routes": []
    
        },
        "log_level": "debug",
        "cni_event_address": "%s",
        "ambient_enabled": %t,
        "kubernetes": {
            "k8s_api_root": "APIRoot",
            "kubeconfig": "testK8sConfig",
    		"intercept_type": "%s",
            "node_name": "testNodeName",
            "exclude_namespaces": ["testExcludeNS"],
            "cni_bin_dir": "/testDirectory"
        }
    }`
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  10. cni/README.md

    - `install-cni` container
        - copies `istio-cni` and `istio-iptables` to `/opt/cni/bin`
        - creates kubeconfig for the service account the pod runs under
        - periodically copy the K8S JWT token for istio-cni on the host to connect to K8S.
        - injects the CNI plugin config to the CNI config file
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 12.3K bytes
    - Viewed (0)
Back to top