Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 30 for PORT (0.24 sec)

  1. pkg/kubelet/kubelet_pods_test.go

    func buildService(name, namespace, clusterIP, protocol string, port int) *v1.Service {
    	return &v1.Service{
    		ObjectMeta: metav1.ObjectMeta{Name: name, Namespace: namespace},
    		Spec: v1.ServiceSpec{
    			Ports: []v1.ServicePort{{
    				Protocol: v1.Protocol(protocol),
    				Port:     int32(port),
    			}},
    			ClusterIP: clusterIP,
    		},
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  2. pkg/apis/core/zz_generated.deepcopy.go

    	return out
    }
    
    // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    func (in *HTTPGetAction) DeepCopyInto(out *HTTPGetAction) {
    	*out = *in
    	out.Port = in.Port
    	if in.HTTPHeaders != nil {
    		in, out := &in.HTTPHeaders, &out.HTTPHeaders
    		*out = make([]HTTPHeader, len(*in))
    		copy(*out, *in)
    	}
    	return
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go

    	return out
    }
    
    // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    func (in *HTTPGetAction) DeepCopyInto(out *HTTPGetAction) {
    	*out = *in
    	out.Port = in.Port
    	if in.HTTPHeaders != nil {
    		in, out := &in.HTTPHeaders, &out.HTTPHeaders
    		*out = make([]HTTPHeader, len(*in))
    		copy(*out, *in)
    	}
    	return
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.9K bytes
    - Viewed (0)
  4. pkg/scheduler/schedule_one_test.go

    	return st.MakePod().Name(id).UID(id).Terminating().Node("").SchedulerName(testSchedulerName).Obj()
    }
    
    func podWithPort(id, desiredHost string, port int) *v1.Pod {
    	pod := podWithID(id, desiredHost)
    	pod.Spec.Containers = []v1.Container{
    		{Name: "ctr", Ports: []v1.ContainerPort{{HostPort: int32(port)}}},
    	}
    	return pod
    }
    
    func podWithResources(id, desiredHost string, limits v1.ResourceList, requests v1.ResourceList) *v1.Pod {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  5. samples/addons/grafana.yaml

              livenessProbe:
                failureThreshold: 10
                httpGet:
                  path: /api/health
                  port: 3000
                initialDelaySeconds: 60
                timeoutSeconds: 30
              readinessProbe:
                httpGet:
                  path: /api/health
                  port: 3000
          volumes:
            - name: config
              configMap:
                name: grafana
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 242.3K bytes
    - Viewed (0)
  6. tensorflow/c/c_api.cc

      return lib_handle;
    }
    
    TF_Buffer TF_GetOpList(TF_Library* lib_handle) { return lib_handle->op_list; }
    
    void TF_DeleteLibraryHandle(TF_Library* lib_handle) {
      if (lib_handle == nullptr) return;
      tensorflow::port::Free(const_cast<void*>(lib_handle->op_list.data));
      delete lib_handle;
    }
    
    TF_Buffer* TF_GetAllOpList() {
      std::vector<tensorflow::OpDef> op_defs;
      tensorflow::OpRegistry::Global()->GetRegisteredOps(&op_defs);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  7. pkg/kubelet/kubelet_test.go

    	status, found := kl.statusManager.GetPodStatus(pod.UID)
    	require.True(t, found, "Status of pod %q is not found in the status map", pod.UID)
    	require.Equal(t, phase, status.Phase)
    }
    
    // Tests that we handle port conflicts correctly by setting the failed status in status map.
    func TestHandlePortConflicts(t *testing.T) {
    	testKubelet := newTestKubelet(t, false /* controllerAttachDetachEnabled */)
    	defer testKubelet.Cleanup()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet_pods.go

    	}
    	tty := containerSpec.TTY
    
    	return kl.streamingRuntime.GetAttach(ctx, container.ID, streamOpts.Stdin, streamOpts.Stdout, streamOpts.Stderr, tty)
    }
    
    // GetPortForward gets the URL the port-forward will be served from, or nil if the Kubelet will serve it.
    func (kl *Kubelet) GetPortForward(ctx context.Context, podName, podNamespace string, podUID types.UID, portForwardOpts portforward.V4Options) (*url.URL, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  9. cmd/bucket-replication.go

    				default:
    				}
    			}
    			if c.EndpointURL().String() == clnt.EndpointURL().String() {
    				selfTarget, _ := isLocalHost(clnt.EndpointURL().Hostname(), clnt.EndpointURL().Port(), globalMinioPort)
    				if !sameTarget {
    					sameTarget = selfTarget
    				}
    				continue
    			}
    		}
    	}
    
    	if len(arns) == 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 114.4K bytes
    - Viewed (0)
  10. src/reflect/all_test.go

    const snan uint32 = 0x7f800001
    
    func TestConvertNaNs(t *testing.T) {
    	// Test to see if a store followed by a load of a signaling NaN
    	// maintains the signaling bit. (This used to fail on the 387 port.)
    	gFloat32 = math.Float32frombits(snan)
    	runtime.Gosched() // make sure we don't optimize the store/load away
    	if got := math.Float32bits(gFloat32); got != snan {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
Back to top