Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 649 for Namespaces (0.19 sec)

  1. istioctl/pkg/injector/injector-list.go

    	retval := make([]corev1.Namespace, 0, len(namespaces))
    	seen := sets.String{}
    	for _, webhook := range hook.Webhooks {
    		nsSelector, err := metav1.LabelSelectorAsSelector(webhook.NamespaceSelector)
    		if err != nil {
    			return retval
    		}
    
    		for _, namespace := range namespaces {
    			if !seen.Contains(namespace.Name) && nsSelector.Matches(api_pkg_labels.Set(namespace.Labels)) {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Jan 04 03:08:06 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  2. istioctl/pkg/tag/tag_test.go

    						},
    					},
    				},
    			},
    			namespaces: corev1.NamespaceList{
    				Items: []corev1.Namespace{
    					{
    						ObjectMeta: metav1.ObjectMeta{
    							Name:   "dependent",
    							Labels: map[string]string{label.IoIstioRev.Name: "match"},
    						},
    					},
    				},
    			},
    			outputMatches:    []string{"Caution, found 1 namespace(s) still injected by tag \"match\": dependent"},
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Nov 17 22:41:06 GMT 2023
    - 8.7K 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 Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/informers.go

    	namespace := o.GetName()
    	labels := o.GetLabels()
    	matchAmbient := labels[constants.DataplaneMode] == 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 Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 01:03:24 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  5. 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 Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 16.3K 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.DataplaneMode))
    	_, err = client.Kube().CoreV1().Namespaces().Patch(ctx, ns.Name,
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 01:03:24 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  7. architecture/environments/operator.md

    ```
    
    and namespaces are specialized for the gateway feature and its components:
    
    ```yaml
    apiVersion: install.istio.io/v1alpha1
    kind: IstioOperator
    metadata:
      namespace: istio-operator
    spec:
      components:
        ingressGateways:
        - name: istio-ingressgateway
          enabled: true
          namespace: istio-gateways
    ```
    
    the resulting namespaces will be:
    
    | Component | Namespace |
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Aug 09 22:09:18 GMT 2023
    - 13.4K bytes
    - Viewed (0)
  8. istioctl/pkg/tag/util.go

    	})
    	if err != nil {
    		return nil, err
    	}
    	return webhooks.Items, nil
    }
    
    // GetNamespacesWithTag retrieves all namespaces pointed at the given tag.
    func GetNamespacesWithTag(ctx context.Context, client kubernetes.Interface, tag string) ([]string, error) {
    	namespaces, err := client.CoreV1().Namespaces().List(ctx, metav1.ListOptions{
    		LabelSelector: fmt.Sprintf("%s=%s", label.IoIstioRev.Name, tag),
    	})
    	if err != nil {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:42 GMT 2024
    - 5.4K bytes
    - Viewed (1)
  9. manifests/charts/gateways/istio-egress/templates/_affinity.tpl

    operator: {{ $item.operator }} {{- if $item.values }} values: {{- $vals := split "," $item.values }} {{- range $i, $v := $vals }} - {{ $v | quote }} {{- end }} {{- end }} topologyKey: {{ $item.topologyKey }} {{- if $item.namespaces }} namespaces: {{- $ns := split "," $item.namespaces }} {{- range $i, $n := $ns }} - {{ $n | quote }} {{- end }} {{- end }} {{- end }} {{- end }} {{- define "podAntiAffinityPrefe" }} {{- range $index, $item := .podAntiAffinityTermL }} - podAffinityTerm: labelSelector: matchExpressions:...
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Aug 10 21:23:08 GMT 2022
    - 3.1K bytes
    - Viewed (0)
  10. manifests/charts/gateways/istio-ingress/templates/_affinity.tpl

    operator: {{ $item.operator }} {{- if $item.values }} values: {{- $vals := split "," $item.values }} {{- range $i, $v := $vals }} - {{ $v | quote }} {{- end }} {{- end }} topologyKey: {{ $item.topologyKey }} {{- if $item.namespaces }} namespaces: {{- $ns := split "," $item.namespaces }} {{- range $i, $n := $ns }} - {{ $n | quote }} {{- end }} {{- end }} {{- end }} {{- end }} {{- define "podAntiAffinityPrefe" }} {{- range $index, $item := .podAntiAffinityTermL }} - podAffinityTerm: labelSelector: matchExpressions:...
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Aug 10 21:23:08 GMT 2022
    - 3.1K bytes
    - Viewed (0)
Back to top