- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 57 for kube (0.05 sec)
-
cni/pkg/install/testdata/kube-ca.crt
Pengyuan Bian <******@****.***> 1625172474 -0700
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jul 01 20:47:54 UTC 2021 - 1K bytes - Viewed (0) -
cni/pkg/repair/repair.go
client.RunAndWait(ctx.Done()) } // Set up Kubernetes client using kubeconfig (or in-cluster config if no file provided) func clientSetup() (kube.Client, error) { config, err := kube.DefaultRestConfig("", "") if err != nil { return nil, err } return kube.NewClient(kube.NewClientConfigForRestConfig(config), "")
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jun 28 19:12:54 UTC 2024 - 1.5K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/testdata/endpoint/emptyfilter_output.txt
10.244.0.3:53 HEALTHY outbound|53||kube-dns.kube-system.svc.cluster.local 10.244.0.8:9153 HEALTHY outbound|9153||kube-dns.kube-system.svc.cluster.local 10.244.0.3:9153 HEALTHY outbound|9153||kube-dns.kube-system.svc.cluster.local
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Apr 21 14:17:23 UTC 2023 - 4.5K bytes - Viewed (0) -
istioctl/pkg/cli/context.go
clients map[string]kube.CLIClient rootFlags *RootFlags results map[string][]byte objects []runtime.Object version string } func (f *fakeInstance) CLIClientWithRevision(rev string) (kube.CLIClient, error) { if _, ok := f.clients[rev]; !ok { var cliclient kube.CLIClient if f.version != "" { cliclient = kube.NewFakeClientWithVersion(f.version, f.objects...) } else {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 23 19:31:32 UTC 2024 - 8.9K bytes - Viewed (0) -
istioctl/pkg/util/ambient/util.go
"istio.io/api/annotation" "istio.io/api/label" "istio.io/istio/pkg/config/constants" "istio.io/istio/pkg/kube" ) func IsZtunnelPod(client kube.CLIClient, podName, podNamespace string) bool { isZtunnel := strings.HasPrefix(podName, "ztunnel") if client == nil { return isZtunnel } pod, err := client.Kube().CoreV1().Pods(podNamespace).Get(context.Background(), podName, metav1.GetOptions{}) if err != nil { return isZtunnel
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 1.8K bytes - Viewed (0) -
istioctl/pkg/install/k8sversion/version.go
// may experience problems if they proceed with the install. func IsK8VersionSupported(c kube.Client, l clog.Logger) error { serverVersion, err := c.GetKubernetesVersion() if err != nil { return fmt.Errorf("error getting Kubernetes version: %w", err) } if !kube.IsAtLeastVersion(c, MinK8SVersion) {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 30 21:50:50 UTC 2024 - 2.6K bytes - Viewed (0) -
istioctl/pkg/completion/completion.go
"istio.io/istio/istioctl/pkg/cli" "istio.io/istio/pkg/kube" ) func getPodsNameInDefaultNamespace(ctx cli.Context, toComplete string) ([]string, error) { client, err := ctx.CLIClient() if err != nil { return nil, err } ns := ctx.NamespaceOrDefault(ctx.Namespace()) podList, err := client.Kube().CoreV1().Pods(ns).List(context.Background(), metav1.ListOptions{}) if err != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 4.9K bytes - Viewed (0) -
istioctl/pkg/precheck/precheck_test.go
} else { assert.NoError(t, err) } }) } } func Test_checkTracing(t *testing.T) { cli := kube.NewFakeClient() messages := diag.Messages{} zipkinSvc := &corev1.Service{ ObjectMeta: metav1.ObjectMeta{ Name: "zipkin", Namespace: "istio-system", }, } cli.Kube().CoreV1().Services("istio-system").Create(context.Background(), zipkinSvc, metav1.CreateOptions{})
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Jul 09 12:01:22 UTC 2024 - 3.9K bytes - Viewed (0) -
cni/pkg/nodeagent/cni-watcher_test.go
client := kube.NewFakeClient(ns, pod) // We are expecting at most 1 calls to the mock, wait for them wg, waitForMockCalls := NewWaitForNCalls(t, 1) fs := &fakeServer{testWG: wg} fs.On("AddPodToMesh", ctx, mock.IsType(pod), util.GetPodIPsIfPresent(pod), valid.Netns, ).Return(nil) dpServer := getFakeDP(fs, client.Kube())
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 7.6K bytes - Viewed (0) -
istioctl/pkg/injector/injector-list_test.go
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "istio.io/api/annotation" "istio.io/api/label" "istio.io/istio/pkg/config/constants" "istio.io/istio/pkg/kube" "istio.io/istio/pkg/test/util/assert" "istio.io/istio/pkg/util/sets" ) func Test_extractRevisionFromPod(t *testing.T) { cases := []struct { name string pod *corev1.Pod
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 5.5K bytes - Viewed (0)