Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 273 for namespace (0.18 sec)

  1. cni/pkg/nodeagent/informers.go

    	namespace := o.GetName()
    	labels := o.GetLabels()
    	matchAmbient := labels[constants.DataplaneModeLabel] == constants.DataplaneModeAmbient
    	if matchAmbient {
    		log.Infof("Namespace %s is enabled in ambient mesh", namespace)
    	} else {
    		log.Infof("Namespace %s is disabled from ambient mesh", namespace)
    	}
    	for _, pod := range s.pods.List(namespace, klabels.Everything()) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  2. istioctl/pkg/waypoint/waypoint.go

    				return fmt.Errorf("failed to create Kubernetes client: %v", err)
    			}
    			ns := ctx.NamespaceOrDefault(ctx.Namespace())
    			// If a user decides to enroll their namespace with a waypoint, verify that they have labeled their namespace as ambient.
    			// If they don't, the user will be warned and be presented with the command to label their namespace as ambient if they
    			// choose to do so.
    			//
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 19:45:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  3. istioctl/pkg/describe/describe.go

    						"WARNING: Proxy is stale; it references to non-existent destination rule %s.%s\n",
    						drName, drNamespace)
    				}
    			}
    
    			vsName, vsNamespace, err := getIstioVirtualServiceNameForSvc(&cd, svc, port.Port)
    			if err == nil && vsName != "" && vsNamespace != "" {
    				vs, _ := configClient.NetworkingV1alpha3().VirtualServices(vsNamespace).Get(context.Background(), vsName, metav1.GetOptions{})
    				if vs != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/informers_test.go

    	fs.AssertExpectations(t)
    
    	// unlabelling the namespace should cause only one RemovePodFromMesh to happen
    	fs.On("RemovePodFromMesh",
    		ctx,
    		mock.Anything,
    	).Once().Return(nil)
    
    	// unlabel the namespace
    	labelsPatch := []byte(fmt.Sprintf(`{"metadata":{"labels":{"%s":null}}}`,
    		constants.DataplaneModeLabel))
    	_, err = client.Kube().CoreV1().Namespaces().Patch(ctx, ns.Name,
    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)
  5. common-protos/k8s.io/api/flowcontrol/v1beta2/generated.proto

      // specify a namespace (which happens either because the resource
      // is not namespaced or the request targets all namespaces).
      // If this field is omitted or false then the `namespaces` field
      // must contain a non-empty list.
      // +optional
      optional bool clusterScope = 4;
    
      // `namespaces` is a list of target namespaces that restricts
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/flowcontrol/v1alpha1/generated.proto

      // specify a namespace (which happens either because the resource
      // is not namespaced or the request targets all namespaces).
      // If this field is omitted or false then the `namespaces` field
      // must contain a non-empty list.
      // +optional
      optional bool clusterScope = 4;
    
      // `namespaces` is a list of target namespaces that restricts
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  7. istioctl/pkg/describe/describe_test.go

    			client.Istio().NetworkingV1alpha3().DestinationRules(t.Namespace).Create(context.TODO(), t, metav1.CreateOptions{})
    		case *v1alpha3.Gateway:
    			client.Istio().NetworkingV1alpha3().Gateways(t.Namespace).Create(context.TODO(), t, metav1.CreateOptions{})
    		case *v1alpha3.VirtualService:
    			client.Istio().NetworkingV1alpha3().VirtualServices(t.Namespace).Create(context.TODO(), t, metav1.CreateOptions{})
    		}
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Mar 28 09:54:01 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  8. cni/pkg/util/podutil_test.go

    				Name:        "test",
    				Namespace:   "test",
    				Labels:      ambientEnabledLabel,
    				Annotations: sidecarStatusAnnotation,
    			},
    		}
    	)
    
    	type args struct {
    		namespace *corev1.Namespace
    		pod       *corev1.Pod
    	}
    	tests := []struct {
    		name string
    		args args
    		want bool
    	}{
    		{
    			name: "ambient mode enabled for namespace",
    			args: args{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  9. manifests/charts/istio-control/istio-discovery/files/waypoint.yaml

    apiVersion: v1
    kind: ServiceAccount
    metadata:
      name: {{.ServiceAccount | quote}}
      namespace: {{.Namespace | quote}}
      annotations:
        {{- toJsonMap (omit .InfrastructureAnnotations "kubectl.kubernetes.io/last-applied-configuration" "gateway.istio.io/name-override" "gateway.istio.io/service-account" "gateway.istio.io/controller-version") | nindent 4 }}
      labels:
        {{- toJsonMap
          .InfrastructureLabels
          (strdict
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  10. common/scripts/metallb-native.yaml

                      and created in the same namespace as the MetalLB deployment. The
                      password is stored in the secret as the key "password".
                    properties:
                      name:
                        description: name is unique within a namespace to reference a
                          secret resource.
                        type: string
                      namespace:
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Feb 23 23:56:31 GMT 2024
    - 63.9K bytes
    - Viewed (0)
Back to top