Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IsUnprivileged (0.12 sec)

  1. pilot/pkg/model/context.go

    		return InterceptionRedirect
    	case "NONE":
    		return InterceptionNone
    	}
    
    	return InterceptionRedirect
    }
    
    // IsUnprivileged returns true if the proxy has explicitly indicated that it is
    // unprivileged, i.e. it cannot bind to the privileged ports 1-1023.
    func (node *Proxy) IsUnprivileged() bool {
    	if node == nil || node.Metadata == nil {
    		return false
    	}
    	// expect explicit "true" value
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 08:29:05 UTC 2024
    - 33.6K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/gateway.go

    		// targetPort, which handles the common case of exposing ports like 80 and 443 but listening on
    		// higher numbered ports.
    		if builder.node.IsUnprivileged() && port.Number < 1024 {
    			log.Warnf("buildGatewayListeners: skipping privileged gateway port %d for node %s as it is an unprivileged pod",
    				port.Number, builder.node.ID)
    			continue
    		}
    		var extraBind []string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 46.4K bytes
    - Viewed (0)
Back to top