Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 273 for Namespaces (0.23 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/tag/tag.go

    revision tag, use 'kubectl label namespace <NAMESPACE> istio.io/rev=%s'
    `
    	webhookNameHelpStr          = "Name to use for a revision tag's mutating webhook configuration."
    	autoInjectNamespacesHelpStr = "If set to true, the sidecars should be automatically injected into all namespaces by default"
    )
    
    // options for CLI
    var (
    	// revision to point tag webhook at
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  3. operator/cmd/mesh/operator-init.go

    		l.LogAndFatal(err)
    	}
    
    	// create watched namespaces
    	namespaces := strings.Split(oiArgs.common.watchedNamespaces, ",")
    	// if the namespace in the CR is provided, consider creating it too.
    	if istioNamespace != "" {
    		namespaces = append(namespaces, istioNamespace)
    	}
    	for _, ns := range namespaces {
    		if err := operatorutil.CreateNamespace(kubeClient.Kube(), ns, "", opts.DryRun); err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. istioctl/pkg/checkinject/checkinject.go

    				nsLabels = ns.GetLabels()
    			} else {
    				namespace := ctx.NamespaceOrDefault(ctx.Namespace())
    				ns, err := kubeClient.Kube().CoreV1().Namespaces().Get(context.TODO(), namespace, metav1.GetOptions{})
    				if err != nil {
    					return err
    				}
    				ls, err := metav1.ParseToLabelSelector(labelPairs)
    				if err != nil {
    					return err
    				}
    				podLabels = ls.MatchLabels
    				nsLabels = ns.GetLabels()
    			}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  9. istioctl/pkg/analyze/analyze.go

    					}
    					_, err = client.Kube().CoreV1().Namespaces().Get(context.TODO(), selectedNamespace, metav1.GetOptions{})
    					if errors.IsNotFound(err) {
    						fmt.Fprintf(cmd.ErrOrStderr(), "namespace %q not found\n", ctx.Namespace())
    						return nil
    					} else if err != nil {
    						return err
    					}
    				}
    			}
    
    			// If we've explicitly asked for all namespaces, blank the selectedNamespace var out
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/flowcontrol/v1beta1/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)
Back to top