Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for Handler (0.8 sec)

  1. cni/pkg/nodeagent/informers.go

    		// We have no good way to distinguish between these two cases from here. But we don't need to!
    		// Existing pods will be handled by the dataplane using `GetAmbientPods`,
    		// and the initial enqueueNamespace, and new pods will be handled by the CNI.
    
    	case controllers.EventUpdate:
    		// For update, we just need to handle opt outs
    		newPod := event.New.(*corev1.Pod)
    		oldPod := event.Old.(*corev1.Pod)
    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. cni/pkg/nodeagent/cni-watcher_test.go

    	).Return(nil)
    
    	dpServer := &meshDataplane{
    		kubeClient: client.Kube(),
    		netServer:  fs,
    	}
    
    	handlers := setupHandlers(ctx, client, dpServer, "istio-system")
    
    	// We are not going to start the server, so the sockpath is irrelevant
    	pluginServer := startCniPluginServer(ctx, "/tmp/test.sock", handlers, dpServer)
    
    	// label the namespace
    	labelsPatch := []byte(fmt.Sprintf(`{"metadata":{"labels":{"%s":"%s"}}}`,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 21:29:40 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  3. manifests/charts/base/files/profile-preview.yaml

    # This is intended to explore new features coming to Istio.
    # Stability, security, and performance are not guaranteed - use at your own risk.
    meshConfig:
      defaultConfig:
        proxyMetadata:
          # Enable Istio agent to handle DNS requests for known hosts
          # Unknown hosts will automatically be resolved using upstream dns servers in resolv.conf
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 22:30:06 GMT 2024
    - 670 bytes
    - Viewed (0)
  4. manifests/charts/istio-operator/files/profile-preview.yaml

    # This is intended to explore new features coming to Istio.
    # Stability, security, and performance are not guaranteed - use at your own risk.
    meshConfig:
      defaultConfig:
        proxyMetadata:
          # Enable Istio agent to handle DNS requests for known hosts
          # Unknown hosts will automatically be resolved using upstream dns servers in resolv.conf
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 22:30:06 GMT 2024
    - 670 bytes
    - Viewed (0)
  5. bin/build_ztunnel.sh

      echo "Copying $(pwd)/${ZTUNNEL_BIN_PATH} to ${TARGET_OUT_LINUX}/ztunnel"
      mkdir -p "${TARGET_OUT_LINUX}"
      cp "${ZTUNNEL_BIN_PATH}" "${TARGET_OUT_LINUX}/ztunnel"
      popd
    }
    
    # ztunnel binary vars (TODO handle debug builds, arm, darwin etc.)
    ISTIO_ZTUNNEL_BASE_URL="${ISTIO_ZTUNNEL_BASE_URL:-https://storage.googleapis.com/istio-build/ztunnel}"
    
    # If we are not using the default, assume its private and we need to authenticate
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 21:46:06 GMT 2024
    - 5K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/server.go

    		isReady:    ready,
    		dataplane: &meshDataplane{
    			kubeClient: client.Kube(),
    			netServer:  netServer,
    		},
    	}
    	s.NotReady()
    	s.handlers = setupHandlers(s.ctx, s.kubeClient, s.dataplane, args.SystemNamespace)
    
    	cniServer := startCniPluginServer(ctx, pluginSocket, s.handlers, s.dataplane)
    	err = cniServer.Start()
    	if err != nil {
    		return nil, fmt.Errorf("error starting cni server: %w", err)
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  7. manifests/charts/istiod-remote/files/profile-preview.yaml

    # This is intended to explore new features coming to Istio.
    # Stability, security, and performance are not guaranteed - use at your own risk.
    meshConfig:
      defaultConfig:
        proxyMetadata:
          # Enable Istio agent to handle DNS requests for known hosts
          # Unknown hosts will automatically be resolved using upstream dns servers in resolv.conf
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 22:30:06 GMT 2024
    - 670 bytes
    - Viewed (0)
  8. operator/cmd/mesh/profile-dump.go

    	}
    	return out2, nil
    }
    
    // Convert the generated YAML to pretty JSON.
    func yamlToPrettyJSON(yml string) (string, error) {
    	// YAML objects are not completely compatible with JSON
    	// objects. Let yaml.YAMLToJSON handle the edge cases and
    	// we'll re-encode the result to pretty JSON.
    	uglyJSON, err := yaml.YAMLToJSON([]byte(yml))
    	if err != nil {
    		return "", err
    	}
    	var decoded any
    	if uglyJSON[0] == '[' {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  9. istioctl/pkg/util/configdump/wrapper.go

    // Wrapper is a wrapper around the Envoy ConfigDump
    // It has extra helper functions for handling any/struct/marshal protobuf pain
    type Wrapper struct {
    	*admin.ConfigDump
    }
    
    // UnmarshalJSON is a custom unmarshaller to handle protobuf pain
    func (w *Wrapper) UnmarshalJSON(b []byte) error {
    	cd := &admin.ConfigDump{}
    	err := protomarshal.UnmarshalAllowUnknownWithAnyResolver(nonStrictResolver, b, cd)
    	*w = Wrapper{cd}
    	return err
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  10. manifests/charts/gateways/istio-egress/files/profile-preview.yaml

    # This is intended to explore new features coming to Istio.
    # Stability, security, and performance are not guaranteed - use at your own risk.
    meshConfig:
      defaultConfig:
        proxyMetadata:
          # Enable Istio agent to handle DNS requests for known hosts
          # Unknown hosts will automatically be resolved using upstream dns servers in resolv.conf
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 22:30:06 GMT 2024
    - 670 bytes
    - Viewed (0)
Back to top