Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for inspect (0.22 sec)

  1. cni/pkg/repair/netns.go

    // it might be.
    //
    // Instead, we rely directly on the procfs.
    // This rules out two possible methods:
    // * use crictl to inspect the pod; this returns the bind-mounted network namespace file.
    // * /var/lib/cni/results shows the outputs of CNI plugins; this containers the bind-mounted network namespace file.
    //
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Dec 20 22:14:13 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  2. istioctl/pkg/authz/authz.go

    // Note: this is still under active development and is not ready for real use.
    func AuthZ(ctx cli.Context) *cobra.Command {
    	cmd := &cobra.Command{
    		Use:   "authz",
    		Short: "Inspect Istio AuthorizationPolicy",
    	}
    
    	cmd.AddCommand(checkCmd(ctx))
    	cmd.Long += "\n\n" + util.ExperimentalMsg
    	return cmd
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 5K bytes
    - Viewed (0)
  3. istioctl/pkg/checkinject/checkinject.go

    		Example: `  # Check the injection status of a pod
      istioctl experimental check-inject details-v1-fcff6c49c-kqnfk.test
    	
      # Check the injection status of a pod under a deployment
      istioctl x check-inject deployment/details-v1
    
      # Check the injection status of a pod under a deployment in namespace test
      istioctl x check-inject deployment/details-v1 -n test
    
    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)
  4. cni/pkg/plugin/sidecar_redirect.go

    	sidecarPortListKey      = annotation.SidecarStatusPort.Name
    
    	kubevirtInterfacesKey = annotation.SidecarTrafficKubevirtInterfaces.Name
    
    	annotationRegistry = map[string]*annotationParam{
    		"inject":               {injectAnnotationKey, "", alwaysValidFunc},
    		"status":               {sidecarStatusKey, "", alwaysValidFunc},
    		"redirectMode":         {sidecarInterceptModeKey, defaultRedirectMode, validateInterceptionMode},
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  5. operator/cmd/mesh/manifest_shared_test.go

    	}
    	if err := clnt.Get(ctx, client.ObjectKeyFromObject(obj), check); kerrors.IsNotFound(err) {
    		if err := clnt.Create(ctx, check); err != nil {
    			return fmt.Errorf("could not inject object creation for fake: %w", err)
    		}
    	} else if err != nil {
    		return err
    	}
    	obj.SetResourceVersion(check.GetResourceVersion())
    	return clnt.Update(ctx, obj)
    }}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (1)
  6. istioctl/pkg/describe/describe_test.go

    		},
    		{ // case 2 no pod
    			args:           strings.Split("pod", " "),
    			expectedString: "Error: expecting pod name",
    			wantException:  true, // "istioctl experimental inspect pod" should fail
    		},
    		{ // case 3 unknown pod
    			args:           strings.Split("po not-a-pod", " "),
    			expectedString: "pods \"not-a-pod\" not found",
    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)
  7. cni/pkg/iptables/iptables.go

    	// Extreme corner case:
    	// If for some reason your host had both binaries, and you were injecting out-of-band
    	// iptables rules within a pod context into `legacy` tables, but your host context preferred
    	// `nft`, we would still inject our rules in-pod into nft tables, which is a bit wonky.
    	//
    	// But that's stunningly unlikely (and would still work either way)
    	iptVer, err := ext.DetectIptablesVersion(false)
    	if err != nil {
    		return nil, err
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 07 19:54:50 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  8. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

      istioctl x ztunnel-config workload <ztunnel-name[.namespace]> --address 0.0.0.0 -o json
    
      # Retrieve Ztunnel config dump separately and inspect from file.
      kubectl exec -it $ZTUNNEL -n istio-system -- curl localhost:15000/config_dump > ztunnel-config.json
      istioctl x ztunnel-config workloads --file ztunnel-config.json
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 01 13:11:40 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  9. istioctl/pkg/kubeinject/kubeinject.go

    }
    
    func readInjectConfigFile(f []byte) (inject.RawTemplates, error) {
    	var injectConfig inject.Config
    	err := yaml.Unmarshal(f, &injectConfig)
    	if err != nil || len(injectConfig.RawTemplates) == 0 {
    		// This must be a direct template, instead of an inject.Config. We support both formats
    		return map[string]string{inject.SidecarTemplateName: string(f)}, nil
    	}
    	cfg, err := inject.UnmarshalConfig(f)
    	if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  10. istioctl/pkg/kubeinject/kubeinject_test.go

    					" --injectConfigFile testdata/inject-config.yaml -f testdata/deployment/hello.yaml"+
    					" --valuesFile testdata/inject-values.yaml",
    				" "),
    			GoldenFilename: "testdata/deployment/hello.yaml.injected",
    		},
    		{ // case 3
    			Args: strings.Split(
    				"--meshConfigFile testdata/mesh-config.yaml"+
    					" --injectConfigFile testdata/inject-config-inline.yaml -f testdata/deployment/hello.yaml"+
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 3.4K bytes
    - Viewed (0)
Back to top