Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 268 for podapi (0.11 sec)

  1. pkg/probe/http/request.go

    // When httpGet.Host is empty, podIP will be used instead.
    func NewRequestForHTTPGetAction(httpGet *v1.HTTPGetAction, container *v1.Container, podIP string, userAgentFragment string) (*http.Request, error) {
    	scheme := strings.ToLower(string(httpGet.Scheme))
    	if scheme == "" {
    		scheme = "http"
    	}
    
    	host := httpGet.Host
    	if host == "" {
    		host = podIP
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 07:39:55 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. pkg/kubelet/config/file_linux.go

    		klog.V(4).InfoS("Ignored pod manifest, because it starts with dots", "eventName", e.Name)
    		return nil
    	}
    	var eventType podEventType
    	switch {
    	case (e.Op & fsnotify.Create) > 0:
    		eventType = podAdd
    	case (e.Op & fsnotify.Write) > 0:
    		eventType = podModify
    	case (e.Op & fsnotify.Chmod) > 0:
    		eventType = podModify
    	case (e.Op & fsnotify.Remove) > 0:
    		eventType = podDelete
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 17:27:26 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. pkg/test/framework/components/echo/kube/testdata/proxyless-custom-image.yaml

            - containerPort: 3333
              name: tcp-health-port
            - containerPort: 17777
            env:
            - name: INSTANCE_IP
              valueFrom:
                fieldRef:
                  fieldPath: status.podIP
            - name: NAMESPACE
              valueFrom:
                fieldRef:
                  fieldPath: metadata.namespace
            - name: EXPOSE_GRPC_ADMIN
              value: "true"
            readinessProbe:
              httpGet:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Nov 17 04:28:06 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/kube/controller/pod_test.go

    		&v1.Pod{ObjectMeta: pod1, Status: v1.PodStatus{Conditions: notReadyCondition, PodIP: ip, Phase: v1.PodPending}},
    		model.EventUpdate); err != nil {
    		t.Error(err)
    	}
    	if handled != 0 {
    		t.Errorf("notified workload handler %d times, want %d", handled, 0)
    	}
    
    	if err := f(nil, &v1.Pod{ObjectMeta: pod1, Status: v1.PodStatus{Conditions: readyCondition, PodIP: ip, Phase: v1.PodPending}}, model.EventUpdate); err != nil {
    		t.Error(err)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 18:27:40 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  5. pkg/test/framework/components/echo/kube/testdata/multiversion.yaml

            - containerPort: 8080
            - containerPort: 3333
              name: tcp-health-port
            env:
            - name: INSTANCE_IP
              valueFrom:
                fieldRef:
                  fieldPath: status.podIP
            - name: NAMESPACE
              valueFrom:
                fieldRef:
                  fieldPath: metadata.namespace
            readinessProbe:
              httpGet:
                path: /
                port: 8080
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Nov 17 04:28:06 UTC 2023
    - 4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.PodStatusResult.json

        "reason": "reasonValue",
        "nominatedNodeName": "nominatedNodeNameValue",
        "hostIP": "hostIPValue",
        "hostIPs": [
          {
            "ip": "ipValue"
          }
        ],
        "podIP": "podIPValue",
        "podIPs": [
          {
            "ip": "ipValue"
          }
        ],
        "startTime": "2007-01-01T01:01:01Z",
        "initContainerStatuses": [
          {
            "name": "nameValue",
            "state": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.PodStatusResult.yaml

          name: nameValue
          readOnly: true
          recursiveReadOnly: recursiveReadOnlyValue
      message: messageValue
      nominatedNodeName: nominatedNodeNameValue
      phase: phaseValue
      podIP: podIPValue
      podIPs:
      - ip: ipValue
      qosClass: qosClassValue
      reason: reasonValue
      resize: resizeValue
      resourceClaimStatuses:
      - name: nameValue
        resourceClaimName: resourceClaimNameValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/kube/controller/ambient/workloads_test.go

    			name:   "simple pod not running and not have podIP",
    			inputs: []any{},
    			pod: &v1.Pod{
    				TypeMeta: metav1.TypeMeta{},
    				ObjectMeta: metav1.ObjectMeta{
    					Name:      "name",
    					Namespace: "ns",
    				},
    				Spec: v1.PodSpec{},
    				Status: v1.PodStatus{
    					Phase: v1.PodPending,
    				},
    			},
    			result: nil,
    		},
    		{
    			name:   "simple pod not running but have podIP",
    			inputs: []any{},
    			pod: &v1.Pod{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  9. pkg/controller/volume/attachdetach/cache/desired_state_of_world.go

    					}})
    		}
    	}
    
    	return volumesToAttach
    }
    
    // Construct a list of v1.Pod objects from the given pod map
    func getPodsFromMap(podMap map[types.UniquePodName]pod) []*v1.Pod {
    	pods := make([]*v1.Pod, 0, len(podMap))
    	for _, pod := range podMap {
    		pods = append(pods, pod.podObj)
    	}
    	return pods
    }
    
    func (dsw *desiredStateOfWorld) GetPodToAdd() map[types.UniquePodName]PodToAdd {
    	dsw.RLock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 10:42:15 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  10. cluster/gce/windows/smoke-test.sh

      cat <<EOF > $windows_webserver_deployment.yaml
    # A multi-arch Windows container that runs an HTTP server on port
    # $windows_webserver_port that serves the container's hostname.
    #   curl -s http://<pod_ip>:$windows_webserver_port
    apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: $windows_webserver_deployment
      labels:
        app: $windows_webserver_pod_label
    spec:
      replicas: $windows_webserver_replicas
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 24 07:02:51 UTC 2024
    - 20.6K bytes
    - Viewed (0)
Back to top