Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for opt (0.15 sec)

  1. cni/pkg/nodeagent/net.go

    func (s *NetServer) RemovePodFromMesh(ctx context.Context, pod *corev1.Pod) error {
    	log := log.WithLabels("ns", pod.Namespace, "name", pod.Name)
    	log.Debugf("Pod is now opt out... cleaning up.")
    
    	openNetns := s.currentPodSnapshot.Take(string(pod.UID))
    	if openNetns == nil {
    		log.Warn("failed to find pod netns")
    		return fmt.Errorf("failed to find pod netns")
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
  2. cni/test/testdata/expected/10-calico.conflist-istioconfig

          "type": "calico"
        },
        {
          "capabilities": {
            "portMappings": true
          },
          "snat": true,
          "type": "portmap"
        },
        {
          "kubernetes": {
            "cni_bin_dir": "/opt/cni/bin",
            "exclude_namespaces": [
              "istio-system"
            ],
            "kubeconfig": "/etc/cni/net.d/ZZZ-istio-cni-kubeconfig"
          },
          "log_level": "info",
          "type": "istio-cni"
        }
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Nov 19 23:19:19 GMT 2020
    - 789 bytes
    - Viewed (0)
  3. cni/test/install_cni.go

    	cniNetworkConfig     = `{
      "cniVersion": "0.3.1",
      "type": "istio-cni",
      "log_level": "info",
      "kubernetes": {
          "kubeconfig": "__KUBECONFIG_FILEPATH__",
          "cni_bin_dir": "/opt/cni/bin",
          "exclude_namespaces": [ "istio-system" ]
      }
    }
    `
    )
    
    func getEnv(key, fallback string) string {
    	if value, ok := os.LookupEnv(key); ok {
    		return value
    	}
    	return fallback
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  4. istioctl/pkg/multicluster/remote_secret.go

    		if opt.ServiceAccountName == "" {
    			opt.ServiceAccountName = constants.DefaultServiceAccountName
    		}
    	case SecretTypeConfig:
    		secretName = configSecretName
    		if opt.ServiceAccountName == "" {
    			opt.ServiceAccountName = constants.DefaultConfigServiceAccountName
    		}
    	default:
    		return nil, nil, fmt.Errorf("unsupported type: %v", opt.Type)
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Oct 11 01:43:17 GMT 2023
    - 24K bytes
    - Viewed (0)
  5. cni/pkg/util/podutil.go

    		// Neither namespace nor pod has ambient mode enabled
    		return false
    	}
    	if podHasSidecar(pod) {
    		// Ztunnel and sidecar for a single pod is currently not supported; opt out.
    		return false
    	}
    	if pod.GetLabels()[constants.DataplaneModeLabel] == constants.DataplaneModeNone {
    		// Pod explicitly asked to not have ambient redirection enabled
    		return false
    	}
    	return true
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  6. cni/pkg/plugin/plugin_test.go

    	pod.Spec.Containers = []corev1.Container{app}
    
    	testDoAddRun(t, cniConf, testNSName, pod, ns)
    
    	wasCalled := serverClose()
    	// Pod has an explicit opt-out label, should not be added to ambient mesh
    	assert.Equal(t, wasCalled, false)
    }
    
    func TestCmdAddPodEnabledNamespaceDisabled(t *testing.T) {
    	url, serverClose := setupCNIEventClientWithMockServer(false)
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  7. manifests/charts/istio-cni/values.yaml

        # Example
        # cniConfFileName: 10-calico.conflist
    
        # CNI bin and conf dir override settings
        # defaults:
        cniBinDir: "" # Auto-detected based on version; defaults to /opt/cni/bin.
        cniConfDir: /etc/cni/net.d
        cniConfFileName: ""
        # This directory must exist on the node, if it does not, consult your container runtime
        # documentation for the appropriate path.
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 5.2K bytes
    - Viewed (1)
  8. operator/cmd/mesh/testdata/manifest-generate/data-snapshot.tar.gz

    CA_TRUSTED_NODE_ACCOUNTS: "istio-system/ztunnel,kube-system/ztunnel" PILOT_ENABLE_AMBIENT_CONTROLLERS: "true" cni: logLevel: info privileged: true ambient: enabled: true # Default excludes istio-system; its actually fine to redirect there since we opt-out istiod, ztunnel, and istio-cni excludeNamespaces: - kube-system manifests/charts/default/Chart.yaml apiVersion: v1 name: istio-default # This version is never actually shipped. istio/release-builder will replace it at build-time # with the appropriate...
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 10 05:10:03 GMT 2024
    - 198.1K bytes
    - Viewed (1)
  9. manifests/charts/istio-cni/templates/daemonset.yaml

    # as the Istio CNI plugin and config on
    # each master and worker node in a Kubernetes cluster.
    {{- $defaultBinDir :=
        (.Capabilities.KubeVersion.GitVersion | contains "-gke") | ternary
          "/home/kubernetes/bin"
          "/opt/cni/bin"
    }}
    kind: DaemonSet
    apiVersion: apps/v1
    metadata:
      name: istio-cni-node
      namespace: {{ .Release.Namespace }}
      labels:
        k8s-app: istio-cni-node
        release: {{ .Release.Name }}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  10. istioctl/cmd/root.go

    		"log_as_json", "log_rotate", "log_rotate_max_age", "log_rotate_max_backups",
    		"log_rotate_max_size", "log_stacktrace_level", "log_target", "log_caller", "log_output_level",
    	}
    	for _, opt := range hiddenFlags {
    		_ = rootCmd.PersistentFlags().MarkHidden(opt)
    	}
    
    	cmd.AddFlags(rootCmd)
    
    	kubeInjectCmd := kubeinject.InjectCommand(ctx)
    	hideInheritedFlags(kubeInjectCmd, cli.FlagNamespace)
    	rootCmd.AddCommand(kubeInjectCmd)
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 11 20:51:30 GMT 2024
    - 10K bytes
    - Viewed (0)
Back to top