Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 109 for uds (0.03 sec)

  1. cni/pkg/log/uds.go

    }
    
    // StartUDSLogServer starts up a UDS server which receives log reported from CNI network plugin.
    func (l *UDSLogger) StartUDSLogServer(sockAddress string, stop <-chan struct{}) error {
    	if sockAddress == "" {
    		return nil
    	}
    	log.Info("Start a UDS server for CNI plugin logs")
    	unixListener, err := uds.NewListener(sockAddress)
    	if err != nil {
    		return fmt.Errorf("failed to create UDS listener: %v", err)
    	}
    	go func() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:28 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. cni/pkg/log/uds_test.go

    )
    
    func TestUDSLog(t *testing.T) {
    	// Start UDS log server
    	udsSockDir := t.TempDir()
    	udsSock := filepath.Join(udsSockDir, "cni.sock")
    	logger := NewUDSLogger(istiolog.DebugLevel)
    	stop := make(chan struct{})
    	defer close(stop)
    	assert.NoError(t, logger.StartUDSLogServer(udsSock, stop))
    
    	// Configure log to tee to UDS server
    	stdout := os.Stdout
    	r, w, _ := os.Pipe()
    	os.Stdout = w
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:28 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. security/pkg/nodeagent/sds/server.go

    	"time"
    
    	"go.uber.org/atomic"
    	"google.golang.org/grpc"
    
    	mesh "istio.io/api/mesh/v1alpha1"
    	"istio.io/istio/pkg/security"
    	"istio.io/istio/pkg/uds"
    )
    
    const (
    	maxStreams    = 100000
    	maxRetryTimes = 5
    )
    
    // Server is the gPRC server that exposes SDS through UDS.
    type Server struct {
    	workloadSds *sdsservice
    
    	grpcWorkloadListener net.Listener
    
    	grpcWorkloadServer *grpc.Server
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 07 17:44:41 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. cluster/gce/manifests/konnectivity-server.yaml

          readOnly: true
        - name: konnectivity-uds
          mountPath: /etc/srv/kubernetes/konnectivity-server
          readOnly: false
      volumes:
      - name: varlogkonnectivityserver
        hostPath:
          path: /var/log/konnectivity-server.log
          type: FileOrCreate
      - name: pki
        hostPath:
          path: /etc/srv/kubernetes/pki
      - name: konnectivity-uds
        hostPath:
          path: /etc/srv/kubernetes/konnectivity-server
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 10:31:11 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. cni/pkg/cmd/root.go

    	registerStringParameter(constants.CNIEventAddress, "/var/run/istio-cni/pluginevent.sock",
    		"The UDS server address which CNI plugin will forward ambient pod creation events to")
    	registerStringParameter(constants.ZtunnelUDSAddress, "/var/run/ztunnel/ztunnel.sock", "The UDS server address which ztunnel will connect to")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 13K bytes
    - Viewed (0)
  6. cni/cmd/istio-cni/main.go

    	// Setup initial logging now. We will override it with proper logging over UDS later, but at this point we don't have the config
    	// read yet and do not want to be completely blind to logs.
    	if err := log.Configure(plugin.GetLoggingOptions(nil)); err != nil {
    		return err
    	}
    	defer func() {
    		// Log sync will send logs to install-cni container via UDS.
    		// We don't need a timeout here because underlying the log pkg already handles it.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. cni/pkg/plugin/plugin.go

    	}
    
    	return nil
    }
    
    func setupLogging(conf *Config) {
    	if conf.LogUDSAddress != "" {
    		// reconfigure log output with tee to UDS if UDS log is enabled.
    		if err := log.Configure(GetLoggingOptions(conf)); err != nil {
    			log.Error("Failed to configure istio-cni with UDS log")
    		}
    	}
    }
    
    func pluginResponse(conf *Config) error {
    	var result *cniv1.Result
    	if conf.PrevResult == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  8. cni/pkg/constants/constants.go

    	KubeconfigMode       = "kubeconfig-mode"
    	KubeCAFile           = "kube-ca-file"
    	SkipTLSVerify        = "skip-tls-verify"
    	MonitoringPort       = "monitoring-port"
    	LogUDSAddress        = "log-uds-address"
    	ZtunnelUDSAddress    = "ztunnel-uds-address"
    	CNIEventAddress      = "cni-event-address"
    	ExcludeNamespaces    = "exclude-namespaces"
    	AmbientEnabled       = "ambient-enabled"
    	AmbientDNSCapture    = "ambient-dns-capture"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. pkg/kube/inject/testdata/inject/proxy-override-runas.yaml.injected

                port: 15021
              periodSeconds: 1
              timeoutSeconds: 3
            volumeMounts:
            - mountPath: /var/run/secrets/workload-spiffe-uds
              name: workload-socket
            - mountPath: /var/run/secrets/credential-uds
              name: credential-socket
            - mountPath: /var/run/secrets/workload-spiffe-credentials
              name: workload-certs
            - mountPath: /var/run/secrets/istio
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:59:39 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. pilot/pkg/config/kube/gateway/testdata/deployment/kube-gateway-ambient-redirect-infra.yaml

              periodSeconds: 1
              successThreshold: 1
              timeoutSeconds: 1
            volumeMounts:
            - mountPath: /var/run/secrets/workload-spiffe-uds
              name: workload-socket
            - mountPath: /var/run/secrets/credential-uds
              name: credential-socket
            - mountPath: /var/run/secrets/workload-spiffe-credentials
              name: workload-certs
            - mountPath: /var/lib/istio/data
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 03 19:29:42 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top