Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 64 for podMap (0.14 sec)

  1. pilot/cmd/pilot-agent/status/server.go

    }
    
    // Options for the status server.
    type Options struct {
    	// Ip of the pod. Note: this is only applicable for Kubernetes pods and should only be used for
    	// the prober.
    	PodIP string
    	// KubeAppProbers is a json with Kubernetes application prober config encoded.
    	KubeAppProbers      string
    	NodeType            model.NodeType
    	StatusPort          uint16
    	AdminPort           uint16
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 31.1K bytes
    - Viewed (1)
  2. pkg/registry/core/service/storage/storage.go

    		return fmt.Errorf("failed to cast to pod: %v", obj)
    	}
    	if pod == nil {
    		return fmt.Errorf("pod is missing, skipping (%s/%s)", addr.TargetRef.Namespace, addr.TargetRef.Name)
    	}
    	for _, podIP := range pod.Status.PodIPs {
    		if podIP.IP == addr.IP {
    			return nil
    		}
    	}
    	return fmt.Errorf("pod ip(s) doesn't match endpoint ip, skipping: %v vs %s (%s/%s)", pod.Status.PodIPs, addr.IP, addr.TargetRef.Namespace, addr.TargetRef.Name)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 13:09:33 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  3. manifests/charts/istio-control/istio-discovery/files/grpc-agent.yaml

        - name: POD_NAMESPACE
          valueFrom:
            fieldRef:
              fieldPath: metadata.namespace
        - name: INSTANCE_IP
          valueFrom:
            fieldRef:
              fieldPath: status.podIP
        - name: SERVICE_ACCOUNT
          valueFrom:
            fieldRef:
              fieldPath: spec.serviceAccountName
        - name: HOST_IP
          valueFrom:
            fieldRef:
              fieldPath: status.hostIP
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 26 16:51:17 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest_test.go

    		name              string
    		patch             string
    		expectedError     string
    		expectedErrorType metav1.StatusReason
    	}{
    		{
    			name:  "valid",
    			patch: `[{"op": "test", "value": "podA", "path": "/metadata/name"}]`,
    		},
    		{
    			name:              "invalid-syntax",
    			patch:             `invalid json patch`,
    			expectedError:     "invalid character 'i' looking for beginning of value",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  5. pkg/registry/core/pod/storage/eviction_test.go

    	"k8s.io/apiserver/pkg/registry/rest"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	"k8s.io/client-go/kubernetes/fake"
    	featuregatetesting "k8s.io/component-base/featuregate/testing"
    	podapi "k8s.io/kubernetes/pkg/api/pod"
    	api "k8s.io/kubernetes/pkg/apis/core"
    	"k8s.io/kubernetes/pkg/apis/policy"
    	"k8s.io/kubernetes/pkg/features"
    )
    
    func TestEviction(t *testing.T) {
    	testcases := []struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 09:26:37 UTC 2024
    - 40K bytes
    - Viewed (0)
  6. pkg/kubelet/container/helpers.go

    // able to get necessary informations like the RunContainerOptions, DNS settings, Host IP.
    type RuntimeHelper interface {
    	GenerateRunContainerOptions(ctx context.Context, pod *v1.Pod, container *v1.Container, podIP string, podIPs []string) (contOpts *RunContainerOptions, cleanupAction func(), err error)
    	GetPodDNS(pod *v1.Pod) (dnsConfig *runtimeapi.DNSConfig, err error)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/util/staticpod/utils.go

    // however this address can't be used as probe #86504.
    // If the address is an unspecified address getProbeAddress returns empty,
    // that means that kubelet will use the PodIP as probe address.
    func getProbeAddress(addr string) string {
    	if addr == "0.0.0.0" || addr == "::" {
    		return ""
    	}
    	return addr
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters/writers_test.go

    	}
    	for i := range pod.ManagedFields {
    		randTime(&pod.ManagedFields[i].Time.Time, r)
    	}
    
    	randIP(&pod.Status.HostIP, r)
    	randIP(&pod.Status.PodIP, r)
    }
    
    func benchmarkItems(b *testing.B, file string, n int) *v1.PodList {
    	pod := v1.Pod{}
    	f, err := os.Open(file)
    	if err != nil {
    		b.Fatalf("Failed to open %q: %v", file, err)
    	}
    	defer f.Close()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  9. manifests/charts/istiod-remote/files/injection-template.yaml

        - name: POD_NAMESPACE
          valueFrom:
            fieldRef:
              fieldPath: metadata.namespace
        - name: INSTANCE_IP
          valueFrom:
            fieldRef:
              fieldPath: status.podIP
        - name: SERVICE_ACCOUNT
          valueFrom:
            fieldRef:
              fieldPath: spec.serviceAccountName
        - name: HOST_IP
          valueFrom:
            fieldRef:
              fieldPath: status.hostIP
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 21:01:52 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.Pod.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
    - 33.2K bytes
    - Viewed (0)
Back to top