- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for kubeconfig (0.22 sec)
-
common/scripts/kind_provisioner.sh
fi } function install_calico { local KUBECONFIG="${1}" local CONFIG_DIR="${2}" echo "Setting up ambient cluster, Calico CNI will be used." kubectl --kubeconfig="$KUBECONFIG" apply -f "${CONFIG_DIR}"/calico.yaml kubectl --kubeconfig="$KUBECONFIG" wait --for condition=ready -n kube-system pod -l k8s-app=calico-node --timeout 90s
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Aug 21 04:47:23 UTC 2024 - 17.2K bytes - Viewed (0) -
istioctl/pkg/multicluster/remote_secret.go
istioctl --kubeconfig=c0.yaml create-remote-secret --name c0 \ | kubectl --kubeconfig=c1.yaml apply -f - # Delete a secret that was previously installed in c1 istioctl --kubeconfig=c0.yaml create-remote-secret --name c0 \ | kubectl --kubeconfig=c1.yaml delete -f - # Create a secret access a remote cluster with an auth plugin
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 15 16:31:46 UTC 2024 - 23.3K bytes - Viewed (0) -
istioctl/pkg/multicluster/remote_secret_test.go
obj = &o break } } if obj == nil { t.Fatalf("expected %v/%v", name, kind) } } func TestCreateRemoteKubeconfig(t *testing.T) { fakeClusterName := "fake-clusterName-0" kubeconfig := strings.ReplaceAll(`apiVersion: v1 clusters: - cluster: certificate-authority-data: Y2FEYXRh server: https://1.2.3.4 name: {cluster} contexts: - context: cluster: {cluster}
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 17:36:49 UTC 2024 - 20.7K bytes - Viewed (0) -
cni/pkg/install/install.go
} // Write kubeconfig with our current service account token as the contents, to the Istio agent rundir. // We do not write this to the common/shared CNI config dir, because it's not CNI config, we do not // need to watch it, and writing non-shared stuff to that location creates churn for other node agents. // Only our plugin consumes this kubeconfig, and it resides in our owned rundir on the host node,
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Aug 09 21:33:51 UTC 2024 - 13.5K bytes - Viewed (0) -
cni/pkg/cmd/root.go
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") registerBooleanParameter(constants.SkipTLSVerify, false, "Whether to use insecure TLS in kubeconfig file") registerIntegerParameter(constants.MonitoringPort, 15014, "HTTP port to serve prometheus metrics")
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Aug 16 15:33:47 UTC 2024 - 12.7K bytes - Viewed (0) -
cni/pkg/install/install_test.go
// Create existing binary files if err := os.WriteFile(filepath.Join(cniBinDir, "istio-cni"), []byte{1, 2, 3}, 0o755); err != nil { t.Fatal(err) } // Create kubeconfig kubeConfigFilePath := filepath.Join(cniNetDir, "kubeconfig") if err := os.WriteFile(kubeConfigFilePath, []byte{1, 2, 3}, 0o755); err != nil { t.Fatal(err) } cfg := &config.InstallConfig{ MountedCNINetDir: cniNetDir,
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 11.1K bytes - Viewed (0) -
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: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Sep 25 20:54:34 UTC 2024 - 13.4K bytes - Viewed (0) -
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
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Jul 17 23:10:17 UTC 2024 - 10.5K bytes - Viewed (0) -
cni/pkg/install/cniconfig_test.go
kubeconfigFilename = "/path/to/kubeconfig" cniNetworkConfigFile = "testdata/istio-cni.conf.template" cniNetworkConfig = `{ "cniVersion": "0.3.1", "name": "istio-cni", "type": "istio-cni", "plugin_log_level": "__LOG_LEVEL__", "kubernetes": { "kubeconfig": "__KUBECONFIG_FILENAME__", "cni_bin_dir": "/path/cni/bin" } } ` )
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 18:38:14 UTC 2024 - 15.3K bytes - Viewed (0) -
cni/pkg/plugin/plugin_test.go
}, "plugin_log_level": "debug", "cni_agent_run_dir": "%s", "ambient_enabled": %t, "exclude_namespaces": ["testExcludeNS"], "kubernetes": { "k8s_api_root": "APIRoot", "kubeconfig": "testK8sConfig", "intercept_type": "%s" } }` type mockInterceptRuleMgr struct { lastRedirect []*Redirect } func buildMockConf(ambientEnabled bool) string { return fmt.Sprintf(
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 17.3K bytes - Viewed (0)