- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 116 for KubeConfig (0.26 sec)
-
cni/pkg/install/kubeconfig.go
"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 { return kubeconfig{}, fmt.Errorf("KUBERNETES_SERVICE_HOST not set. Is this not running within a pod?") }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 17 21:52:29 UTC 2024 - 4.8K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/kubeconfig.go
# Output a kubeconfig file for an additional user named foo kubeadm kubeconfig user --client-name=foo # Output a kubeconfig file for an additional user named foo using a kubeadm config file bar kubeadm kubeconfig user --client-name=foo --config=bar `) ) // newCmdKubeConfigUtility returns main command for kubeconfig phase func newCmdKubeConfigUtility(out io.Writer) *cobra.Command { cmd := &cobra.Command{ Use: "kubeconfig",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 4.6K bytes - Viewed (0) -
cmd/kubeadm/app/phases/kubeconfig/kubeconfig.go
return err } fmt.Printf("[kubeconfig] Writing %q kubeconfig file\n", filename) err = kubeconfigutil.WriteToDisk(kubeConfigFilePath, config) return errors.Wrapf(err, "failed to save kubeconfig file %q on disk", kubeConfigFilePath) } // kubeadm doesn't validate the existing kubeconfig file more than this (kubeadm trusts the client certs to be valid)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 17:04:18 UTC 2024 - 27K bytes - Viewed (0) -
cmd/kubeadm/test/kubeconfig/util.go
limitations under the License. */ package kubeconfig import ( "crypto/x509" "encoding/pem" "testing" "time" clientcmdapi "k8s.io/client-go/tools/clientcmd/api" certstestutil "k8s.io/kubernetes/cmd/kubeadm/app/util/certs" ) // AssertKubeConfigCurrentCluster is a utility function for kubeadm testing that asserts if the CurrentCluster in // the given KubeConfig object contains refers to a specific cluster
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 4.9K bytes - Viewed (0) -
hack/local-up-cluster.sh
${CONTROLPLANE_SUDO} cp "${CERT_DIR}/admin.kubeconfig" "${CERT_DIR}/admin-kube-aggregator.kubeconfig" ${CONTROLPLANE_SUDO} chown -R "$(whoami)" "${CERT_DIR}" ${KUBECTL} config set-cluster local-up-cluster --kubeconfig="${CERT_DIR}/admin-kube-aggregator.kubeconfig" --server="https://${API_HOST_IP}:31090" echo "use 'kubectl --kubeconfig=${CERT_DIR}/admin-kube-aggregator.kubeconfig' to use the aggregated API server" }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 25 02:33:52 UTC 2024 - 53.3K bytes - Viewed (0) -
pkg/test/framework/components/environment/kube/settings.go
} scopes.Framework.Infof("Using KubeConfigs: %v.", s.KubeConfig) if err := s.validateTopologyFlags(len(s.KubeConfig)); err != nil { return nil, err } var configs []cluster.Config for i, kc := range s.KubeConfig { ci := clusterIndex(i) cfg := cluster.Config{ Name: fmt.Sprintf("cluster-%d", i), Network: s.networkTopology[ci], Meta: config.Map{"kubeconfig": kc}, }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 8.3K bytes - Viewed (0) -
cni/test/testdata/expected/10-calico.conflist-istioconfig
"name": "k8s-pod-network", "plugins": [ { "etcd_endpoints": "http://10.110.0.136:6666", "ipam": { "type": "calico-ipam" }, "kubernetes": { "kubeconfig": "/etc/cni/net.d/calico-kubeconfig" }, "mtu": 1500, "plugin_log_level": "info", "policy": { "type": "k8s" }, "type": "calico" }, { "capabilities": {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 21 18:32:01 UTC 2024 - 935 bytes - Viewed (0) -
cmd/kube-scheduler/app/server_test.go
flags: []string{ "--config", simplifiedPluginConfigFilev1, "--kubeconfig", configKubeconfig, }, wantPlugins: map[string]*config.Plugins{ "simplified-scheduler": defaults.ExpandedPluginsV1, }, }, { name: "default config", flags: []string{ "--kubeconfig", configKubeconfig, }, wantPlugins: map[string]*config.Plugins{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 14.2K bytes - Viewed (0) -
cni/pkg/install/kubeconfig_test.go
} // Successful test case expecting failure return } else if c.expectedFailure { t.Fatalf("expected failure") } goldenFilepath := "testdata/kubeconfig-tls" if c.skipTLSVerify { goldenFilepath = "testdata/kubeconfig-skip-tls" } testutils.CompareContent(t, []byte(result.Full), goldenFilepath) }) } } func TestReplaceInvalidKubeconfigFile(t *testing.T) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 17 21:52:29 UTC 2024 - 5.1K bytes - Viewed (0) -
cluster/gce/manifests/kube-proxy.manifest
- mountPath: /usr/share/ca-certificates name: usr-ca-certs readOnly: true - mountPath: /var/log name: varlog readOnly: false - mountPath: /var/lib/kube-proxy/kubeconfig name: kubeconfig readOnly: false - mountPath: /run/xtables.lock name: iptableslock readOnly: false - mountPath: /lib/modules name: lib-modules readOnly: true volumes:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 11:08:30 UTC 2024 - 2.2K bytes - Viewed (0)