Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 247 for KubeConfig (0.39 sec)

  1. pilot/cmd/pilot-discovery/app/cmd.go

    		serverArgs.RegistryOptions.ClusterRegistriesNamespace, "Namespace for ConfigMap which stores clusters configs")
    	c.PersistentFlags().StringVar(&serverArgs.RegistryOptions.KubeConfig, "kubeconfig", "",
    		"Use a Kubernetes configuration file instead of in-cluster configuration")
    	c.PersistentFlags().StringVar(&serverArgs.MeshConfigFile, "meshConfig", "./etc/istio/config/mesh",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 16:44:32 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/phases/reset/removeetcdmember_test.go

    			validConfig:   true,
    		},
    		"etcd pod spec without data volume": {
    			podYaml:       etcdPodWithoutDataVolume,
    			expectErr:     true,
    			writeManifest: true,
    			validConfig:   true,
    		},
    		"kubeconfig file doesn't exist": {
    			dataDir:       "/path/to/etcd",
    			podYaml:       etcdPod,
    			expectErr:     false,
    			writeManifest: true,
    			validConfig:   false,
    		},
    	}
    
    	for name, test := range tests {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 26 03:55:19 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/runtime/framework.go

    	return func(o *frameworkOptions) {
    		o.clientSet = clientSet
    	}
    }
    
    // WithKubeConfig sets kubeConfig for the scheduling frameworkImpl.
    func WithKubeConfig(kubeConfig *restclient.Config) Option {
    	return func(o *frameworkOptions) {
    		o.kubeConfig = kubeConfig
    	}
    }
    
    // WithEventRecorder sets clientSet for the scheduling frameworkImpl.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  4. pkg/scheduler/apis/config/scheme/scheme_test.go

    								},
    							},
    						},
    					},
    				},
    			},
    			want: `apiVersion: kubescheduler.config.k8s.io/v1
    clientConnection:
      acceptContentTypes: ""
      burst: 0
      contentType: ""
      kubeconfig: ""
      qps: 0
    kind: KubeSchedulerConfiguration
    leaderElection:
      leaderElect: null
      leaseDuration: 0s
      renewDeadline: 0s
      resourceLock: ""
      resourceName: ""
      resourceNamespace: ""
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 13 07:42:19 UTC 2023
    - 22.2K bytes
    - Viewed (0)
  5. cmd/kube-controller-manager/app/options/options_test.go

    	"--horizontal-pod-autoscaler-initial-readiness-delay=50s",
    	"--http2-max-streams-per-connection=47",
    	"--kube-api-burst=100",
    	"--kube-api-content-type=application/json",
    	"--kube-api-qps=50.0",
    	"--kubeconfig=/kubeconfig",
    	"--large-cluster-size-threshold=100",
    	"--leader-elect=false",
    	"--leader-elect-lease-duration=30s",
    	"--leader-elect-renew-deadline=15s",
    	"--leader-elect-resource-lock=configmap",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 02:59:09 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/config_flags_fake.go

    	}
    	return f.clientConfig
    }
    
    // ToRESTConfig implements RESTClientGetter.
    // Returns a REST client configuration based on a provided path
    // to a .kubeconfig file, loading rules, and config flag overrides.
    // Expects the AddFlags method to have been called.
    func (f *TestConfigFlags) ToRESTConfig() (*rest.Config, error) {
    	return f.ToRawKubeConfigLoader().ClientConfig()
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 11 15:04:11 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/cmd/upgrade/node.go

    	if _, err := os.Stat(filepath); os.IsNotExist(err) {
    		isControlPlaneNode = false
    	}
    	if len(nodeOptions.kubeConfigPath) == 0 {
    		// Update the kubeconfig path depending on whether this is a control plane node or not.
    		nodeOptions.kubeConfigPath = constants.GetKubeletKubeConfigPath()
    		if isControlPlaneNode {
    			nodeOptions.kubeConfigPath = constants.GetAdminKubeConfigPath()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/phases/controlplane/volumes.go

    	mounts.NewHostPathMount(kubeadmconstants.KubeControllerManager, caCertsVolumeName, caCertsVolumePath, caCertsVolumePath, true, &hostPathDirectoryOrCreate)
    	// Read-only mount for the controller manager kubeconfig file
    	controllerManagerKubeConfigFile := filepath.Join(kubeadmconstants.KubernetesDir, kubeadmconstants.ControllerManagerKubeConfigFileName)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 09:33:18 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  9. tools/certs/Makefile.k8s.mk

    ##fetch-root-ca:	fetch root CA  and key from a k8s cluster.
    .PHONY: fetch-root-ca
    rawcluster := $(shell kubectl config current-context)
    cluster := $(subst /,-,$(rawcluster))
    pwd := $(shell pwd)
    export KUBECONFIG
    
    fetch-root-ca:
    	@echo "fetching root ca from k8s cluster: "$(cluster)""
    	@mkdir -p $(pwd)/$(cluster)
    	@res=$$(kubectl get secret istio-ca-secret -n $(ISTIO_NAMESPACE) >/dev/null 2>&1; echo $$?); \
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 27 13:15:29 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  10. cluster/gce/util.sh

          #TODO(mikedanese): allow static pods to start before creating a client
          #flags+=" --bootstrap-kubeconfig=/var/lib/kubelet/bootstrap-kubeconfig"
          #flags+=" --kubeconfig=/var/lib/kubelet/kubeconfig"
          flags+=" --register-with-taints=node-role.kubernetes.io/control-plane=:NoSchedule"
          flags+=" --kubeconfig=/var/lib/kubelet/bootstrap-kubeconfig"
          flags+=" --register-schedulable=false"
        fi
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:17 UTC 2024
    - 161.6K bytes
    - Viewed (0)
Back to top