Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 248 for KubeConfig (0.16 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)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:18 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. cmd/kube-proxy/app/server.go

    		kubeConfig, err = clientcmd.NewNonInteractiveDeferredLoadingClientConfig(
    			&clientcmd.ClientConfigLoadingRules{ExplicitPath: config.Kubeconfig},
    			&clientcmd.ConfigOverrides{ClusterInfo: clientcmdapi.Cluster{Server: masterOverride}}).ClientConfig()
    	}
    	if err != nil {
    		return nil, err
    	}
    
    	kubeConfig.AcceptContentTypes = config.AcceptContentTypes
    	kubeConfig.ContentType = config.ContentType
    	kubeConfig.QPS = config.QPS
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 13:27:41 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/serviceentry_simulation_test.go

    	cases := []simulationTest{
    		{
    			name:       "identical CIDR (ignoring insignificant bits) is dropped",
    			config:     fmt.Sprintf(se, "1234:1f1:123:123:f816:3eff:feb8:2287/32", "1234:1f1:123:123:f816:3eff:febf:57ce/32"),
    			kubeConfig: "",
    			calls: []simulation.Expect{{
    				// Expect listener, but no routing
    				Name: "defined port",
    				Call: simulation.Call{
    					Port:       9999,
    					HostHeader: "blah.somedomain",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 21:06:06 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/cmd/util/cmdutil_test.go

    			file:     "",
    			expected: clientcmd.NewDefaultClientConfigLoadingRules().GetDefaultFilename(),
    		},
    		{
    			name:     "provide a non-empty value",
    			file:     "kubelet.kubeconfig",
    			expected: "kubelet.kubeconfig",
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			actualResult := GetKubeConfigPath(tt.file)
    			if actualResult != tt.expected {
    				t.Errorf(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. tools/bug-report/pkg/testdata/output/format_json_no_time_filter.log

    {"level":"info","time":"2023-05-10T17:43:55.356626Z","msg":"FLAG: --keepaliveTimeout=\"10s\""}
    {"level":"info","time":"2023-05-10T17:43:55.356630Z","msg":"FLAG: --kubeconfig=\"\""}
    {"level":"info","time":"2023-05-10T17:43:55.356636Z","msg":"FLAG: --kubernetesApiBurst=\"160\""}
    {"level":"info","time":"2023-05-10T17:43:55.356643Z","msg":"FLAG: --kubernetesApiQPS=\"80\""}
    {"level":"info","time":"2023-05-10T17:43:55.356647Z","msg":"FLAG: --log_as_json=\"true\""}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 19 21:44:33 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/discovery/discovery.go

    	"k8s.io/kubernetes/cmd/kubeadm/app/discovery/https"
    	"k8s.io/kubernetes/cmd/kubeadm/app/discovery/token"
    	kubeconfigutil "k8s.io/kubernetes/cmd/kubeadm/app/util/kubeconfig"
    )
    
    // TokenUser defines token user
    const TokenUser = "tls-bootstrap-token-user"
    
    // For returns a kubeconfig object that can be used for doing the TLS Bootstrap with the right credentials
    // Also, before returning anything, it makes sure it can trust the API Server
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. pkg/config/analysis/analyzers/virtualservice/gateways.go

    	"strings"
    
    	"istio.io/api/networking/v1alpha3"
    	"istio.io/istio/pkg/config"
    	"istio.io/istio/pkg/config/analysis"
    	"istio.io/istio/pkg/config/analysis/analyzers/util"
    	"istio.io/istio/pkg/config/analysis/msg"
    	kubeconfig "istio.io/istio/pkg/config/gateway/kube"
    	"istio.io/istio/pkg/config/host"
    	"istio.io/istio/pkg/config/resource"
    	"istio.io/istio/pkg/config/schema/gvk"
    )
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 05 01:28:52 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  8. cmd/kubelet/app/options/options.go

    	fs.StringVar(&f.KubeConfig, "kubeconfig", f.KubeConfig, "Path to a kubeconfig file, specifying how to connect to the API server. Providing --kubeconfig enables API server mode, omitting --kubeconfig enables standalone mode.")
    
    	fs.StringVar(&f.BootstrapKubeconfig, "bootstrap-kubeconfig", f.BootstrapKubeconfig, "Path to a kubeconfig file that will be used to get client certificate for kubelet. "+
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:05 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/cmd/init.go

    	certsphase "k8s.io/kubernetes/cmd/kubeadm/app/phases/certs"
    	kubeconfigphase "k8s.io/kubernetes/cmd/kubeadm/app/phases/kubeconfig"
    	"k8s.io/kubernetes/cmd/kubeadm/app/util/apiclient"
    	configutil "k8s.io/kubernetes/cmd/kubeadm/app/util/config"
    	kubeconfigutil "k8s.io/kubernetes/cmd/kubeadm/app/util/kubeconfig"
    )
    
    // initOptions defines all the init options exposed via flags by kubeadm init.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 17 03:37:05 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  10. hack/lib/util.sh

    current-context: local-up-cluster
    EOF
    
        # flatten the kubeconfig files to make them self contained
        username=$(whoami)
        ${sudo} /usr/bin/env bash -e <<EOF
        $(kube::util::find-binary kubectl) --kubeconfig="${dest_dir}/${client_id}.kubeconfig" config view --minify --flatten > "/tmp/${client_id}.kubeconfig"
        mv -f "/tmp/${client_id}.kubeconfig" "${dest_dir}/${client_id}.kubeconfig"
        chown ${username} "${dest_dir}/${client_id}.kubeconfig"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:33 UTC 2024
    - 25.9K bytes
    - Viewed (0)
Back to top