Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 157 for Kube (0.2 sec)

  1. cni/pkg/repair/repaircontroller.go

    	"k8s.io/apimachinery/pkg/types"
    
    	"istio.io/istio/cni/pkg/config"
    	"istio.io/istio/cni/pkg/plugin"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/kube/controllers"
    	"istio.io/istio/pkg/kube/kclient"
    )
    
    type Controller struct {
    	client       kube.Client
    	pods         kclient.Client[*corev1.Pod]
    	queue        controllers.Queue
    	cfg          config.RepairConfig
    	events       kclient.EventRecorder
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  2. istioctl/pkg/analyze/analyze.go

    			if err != nil {
    				return nil, err
    			}
    			curContext := rawConfig.Contexts[rawConfig.CurrentContext]
    			if curContext == nil {
    				continue
    			}
    			client, err := kube.NewCLIClient(clientConfig,
    				kube.WithRevision(revisionSpecified),
    				kube.WithCluster(cluster.ID(curContext.Cluster)))
    			if err != nil {
    				return nil, err
    			}
    			clients = append(clients, &Client{
    				client: client,
    				remote: true,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
  3. istioctl/pkg/multixds/gather.go

    	labelSelector := centralOpts.XdsPodLabel
    	if labelSelector == "" {
    		labelSelector = "app=istiod"
    	}
    	pods, err := kubeClient.GetIstioPods(context.TODO(), istioNamespace, metav1.ListOptions{
    		LabelSelector: labelSelector,
    		FieldSelector: kube.RunningStatus,
    	})
    	if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  4. istioctl/pkg/workload/workload_test.go

    		t.Run(dir.Name(), func(t *testing.T) {
    			createClientFunc := func(client kube.CLIClient) {
    				client.Kube().CoreV1().ServiceAccounts("bar").Create(context.Background(), &v1.ServiceAccount{
    					ObjectMeta: metav1.ObjectMeta{Namespace: "bar", Name: "vm-serviceaccount"},
    					Secrets:    []v1.ObjectReference{{Name: "test"}},
    				}, metav1.CreateOptions{})
    				client.Kube().CoreV1().ConfigMaps("bar").Create(context.Background(), &v1.ConfigMap{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/informers_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,
    		pod,
    		util.GetPodIPsIfPresent(pod),
    		"",
    	).Return(nil)
    
    	server := &meshDataplane{
    		kubeClient: client.Kube(),
    		netServer:  fs,
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  6. 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 {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  7. cni/pkg/repair/repair_test.go

    			c := &Controller{cfg: tt.config}
    			assert.Equal(t, c.matchesFilter(tt.pod), tt.want)
    		})
    	}
    }
    
    func fakeClient(pods ...*corev1.Pod) kube.Client {
    	var csPods []runtime.Object
    
    	for _, pod := range pods {
    		csPods = append(csPods, pod.DeepCopy())
    	}
    	return kube.NewFakeClient(csPods...)
    }
    
    func makePodLabelMap(pods []*corev1.Pod) (podmap map[string]string) {
    	podmap = map[string]string{}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 24 03:31:28 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  8. manifests/charts/istiod-remote/templates/istiod-injector-configmap.yaml

          waypoint: |
    {{ .Files.Get "files/waypoint.yaml" | trim | indent 8 }}
    {{- end }}
    {{- if not (hasKey .Values.sidecarInjectorWebhook.templates "kube-gateway") }}
          kube-gateway: |
    {{ .Files.Get "files/kube-gateway.yaml" | trim | indent 8 }}
    {{- end }}
    {{- with .Values.sidecarInjectorWebhook.templates }}
    {{ toYaml . | trim | indent 6 }}
    {{- end }}
    
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  9. operator/cmd/mesh/operator-remove.go

    	}
    
    	var installed bool
    	if orArgs.revision == "default" {
    		installed, err = isControllerInstalled(kubeClient.Kube(), orArgs.operatorNamespace, "")
    	} else {
    		installed, err = isControllerInstalled(kubeClient.Kube(), orArgs.operatorNamespace, orArgs.revision)
    	}
    
    	if installed && err != nil {
    		l.LogAndFatal(err)
    	}
    	if !installed && !orArgs.purge {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.28.md

    **Affected Versions**:
      - kube-apiserver v1.29.0 - v1.29.3
      - kube-apiserver v1.28.0 - v1.28.8
      - kube-apiserver <= v1.27.12
    
    **Fixed Versions**:
      - kube-apiserver v1.29.4
      - kube-apiserver v1.28.9
      - kube-apiserver v1.27.13
    
    This vulnerability was reported by tha3e1vl.
    
    
    Plain Text
    - Registered: Fri May 03 09:05:14 GMT 2024
    - Last Modified: Tue Apr 16 20:44:48 GMT 2024
    - 385.1K bytes
    - Viewed (0)
Back to top