Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 38 for PortForward (0.16 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/metrics/metrics_test.go

    				Subresource:       "exec",
    			},
    			expectedVerb: "CONNECT",
    		},
    		{
    			desc:        "Pod portforward should be transformed to CONNECT",
    			initialVerb: "POST",
    			request: &http.Request{
    				Method: "POST",
    				URL: &url.URL{
    					RawQuery: "/api/v1/namespaces/default/pods/test-pod/portforward",
    				},
    				Header: map[string][]string{
    					"Connection": {"Upgrade"},
    					"Upgrade":    {"SPDY/3.1"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 07:29:19 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  2. pkg/kubeapiserver/admission/exclusion/resources.go

    	{Group: "", Resource: "bindings"},
    	{Group: "", Resource: "pods/attach"},
    	{Group: "", Resource: "pods/binding"},
    	{Group: "", Resource: "pods/eviction"},
    	{Group: "", Resource: "pods/exec"},
    	{Group: "", Resource: "pods/portforward"},
    
    	// ref: https://github.com/kubernetes/kubernetes/issues/122205#issuecomment-1927390823
    	{Group: "", Resource: "serviceaccounts/token"},
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 23:31:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. operator/cmd/mesh/testdata/operator/output/operator-dump.yaml

      - leases
      verbs:
      - get
      - create
      - update
    - apiGroups:
      - ""
      resources:
      - configmaps
      - endpoints
      - events
      - namespaces
      - pods
      - pods/proxy
      - pods/portforward
      - persistentvolumeclaims
      - secrets
      - services
      - serviceaccounts
      - resourcequotas
      verbs:
      - '*'
    ---
    kind: ClusterRoleBinding
    apiVersion: rbac.authorization.k8s.io/v1
    metadata:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/httpstream/wsstream/conn.go

    // is a tunneled Kubernetes spdy protocol; false otherwise.
    func protocolSupportsWebsocketTunneling(protocol string) bool {
    	return strings.HasPrefix(protocol, portforward.WebsocketsSPDYTunnelingPrefix) && strings.HasSuffix(protocol, portforward.KubernetesSuffix)
    }
    
    // handle implements a websocket handler.
    func (conn *Conn) handle(ws *websocket.Conn) {
    	conn.initialize(ws)
    	defer conn.Close()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:10:30 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/util/proxy/streamtunnel.go

    	"k8s.io/apimachinery/pkg/util/httpstream/spdy"
    	"k8s.io/apimachinery/pkg/util/httpstream/wsstream"
    	utilnet "k8s.io/apimachinery/pkg/util/net"
    	constants "k8s.io/apimachinery/pkg/util/portforward"
    	"k8s.io/client-go/tools/portforward"
    	"k8s.io/klog/v2"
    )
    
    // TunnelingHandler is a handler which tunnels SPDY through WebSockets.
    type TunnelingHandler struct {
    	// Used to communicate between upstream SPDY and downstream tunnel.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:10:30 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  6. operator/cmd/mesh/testdata/operator/output/operator-init.yaml

      - leases
      verbs:
      - get
      - create
      - update
    - apiGroups:
      - ""
      resources:
      - configmaps
      - endpoints
      - events
      - namespaces
      - pods
      - pods/proxy
      - pods/portforward
      - persistentvolumeclaims
      - secrets
      - services
      - serviceaccounts
      - resourcequotas
      verbs:
      - '*'
    ---
    kind: ClusterRoleBinding
    apiVersion: rbac.authorization.k8s.io/v1
    metadata:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. pkg/kubelet/kuberuntime/instrumented_services.go

    	recordError(operation, err)
    	return out, err
    }
    
    func (in instrumentedRuntimeService) PortForward(ctx context.Context, req *runtimeapi.PortForwardRequest) (*runtimeapi.PortForwardResponse, error) {
    	const operation = "port_forward"
    	defer recordOperation(operation, time.Now())
    
    	resp, err := in.service.PortForward(ctx, req)
    	recordError(operation, err)
    	return resp, err
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 10:46:06 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  8. pkg/registry/core/rest/storage_core.go

    		storage[resource+"/attach"] = podStorage.Attach
    		storage[resource+"/status"] = podStorage.Status
    		storage[resource+"/log"] = podStorage.Log
    		storage[resource+"/exec"] = podStorage.Exec
    		storage[resource+"/portforward"] = podStorage.PortForward
    		storage[resource+"/proxy"] = podStorage.Proxy
    		storage[resource+"/binding"] = podStorage.Binding
    		if podStorage.Eviction != nil {
    			storage[resource+"/eviction"] = podStorage.Eviction
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:05 UTC 2023
    - 19.1K bytes
    - Viewed (0)
  9. samples/addons/kiali.yaml

      resources:
      - namespaces
      - pods
      - replicationcontrollers
      - services
      verbs:
      - get
      - list
      - watch
      - patch
    - apiGroups: [""]
      resources:
      - pods/portforward
      verbs:
      - create
      - post
    - apiGroups: ["extensions", "apps"]
      resources:
      - daemonsets
      - deployments
      - replicasets
      - statefulsets
      verbs:
      - get
      - list
      - watch
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:57:35 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  10. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/testdata/cluster-roles.yaml

          rbac.authorization.k8s.io/aggregate-to-edit: "true"
        name: system:aggregate-to-edit
      rules:
      - apiGroups:
        - ""
        resources:
        - pods/attach
        - pods/exec
        - pods/portforward
        - pods/proxy
        - secrets
        - services/proxy
        verbs:
        - get
        - list
        - watch
      - apiGroups:
        - ""
        resources:
        - serviceaccounts
        verbs:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 08:11:08 UTC 2023
    - 24.1K bytes
    - Viewed (0)
Back to top