Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 568 for pod9 (1.24 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters/testdata/pod.json

    {
        "apiVersion": "v1",
        "kind": "Pod",
        "metadata": {
            "creationTimestamp": "2021-02-18T09:46:18Z",
            "generateName": "nginx-deployment-7b88ccfd76-",
            "labels": {
                "app": "nginx",
                "pod-template-hash": "7b88ccfd76"
            },
            "managedFields": [
                {
                    "apiVersion": "v1",
                    "fieldsType": "FieldsV1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 18 15:31:52 UTC 2021
    - 6.4K bytes
    - Viewed (0)
  2. pkg/kubelet/userns/userns_manager_switch_test.go

    	pods := []types.UID{"pod-1", "pod-2"}
    
    	testUserNsPodsManager := &testUserNsPodsManager{
    		podDir: t.TempDir(),
    		// List the same pods we will record, so the second time we create the userns
    		// manager, it will find these pods on disk with userns data.
    		podList: pods,
    	}
    	m, err := MakeUserNsManager(testUserNsPodsManager)
    	require.NoError(t, err)
    
    	// Record the pods on disk.
    	for _, podUID := range pods {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. plugin/pkg/admission/alwayspullimages/admission_test.go

    			name:     "non-pod resource",
    			kind:     "Foo",
    			resource: "foos",
    			object:   pod,
    		},
    		{
    			name:        "pod subresource",
    			kind:        "Pod",
    			resource:    "pods",
    			subresource: "exec",
    			object:      pod,
    		},
    		{
    			name:        "non-pod object",
    			kind:        "Pod",
    			resource:    "pods",
    			object:      &api.Service{},
    			expectError: true,
    		},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 30 22:59:57 UTC 2020
    - 8.5K bytes
    - Viewed (0)
  4. pkg/kubelet/util/format/pod.go

    	"k8s.io/apimachinery/pkg/types"
    )
    
    // Pod returns a string representing a pod in a consistent human readable format,
    // with pod UID as part of the string.
    func Pod(pod *v1.Pod) string {
    	if pod == nil {
    		return "<nil>"
    	}
    	return PodDesc(pod.Name, pod.Namespace, pod.UID)
    }
    
    // PodDesc returns a string representing a pod in a consistent human readable format,
    // with pod UID as part of the string.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 13 08:27:42 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/managedfields/pod.yaml

    apiVersion: v1
    kind: Pod
    metadata:
      labels:
        app: some-app
        plugin1: some-value
        plugin2: some-value
        plugin3: some-value
        plugin4: some-value
      name: some-name
      namespace: default
      ownerReferences:
      - apiVersion: apps/v1
        blockOwnerDeletion: true
        controller: true
        kind: ReplicaSet
        name: some-name
        uid: 0a9d2b9e-779e-11e7-b422-42010a8001be
    spec:
      containers:
      - args:
        - one
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/cli-runtime/artifacts/pod.yaml

    # Copy of pod.yaml without file extension for test
    apiVersion: v1
    kind: Pod
    metadata:
      name: nginx
      labels:
        name: nginx
    spec:
      containers:
      - name: nginx
        image: nginx
        ports:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 21 15:08:30 UTC 2018
    - 214 bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/fieldmanager/pod.yaml

    apiVersion: v1
    kind: Pod
    metadata:
      labels:
        app: some-app
        plugin1: some-value
        plugin2: some-value
        plugin3: some-value
        plugin4: some-value
      name: some-name
      namespace: default
      ownerReferences:
      - apiVersion: apps/v1
        blockOwnerDeletion: true
        controller: true
        kind: ReplicaSet
        name: some-name
        uid: 0a9d2b9e-779e-11e7-b422-42010a8001be
    spec:
      containers:
      - args:
        - one
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 25 19:51:58 UTC 2019
    - 2.8K bytes
    - Viewed (0)
  8. pkg/kube/controllers/example_test.go

    	// Its often useful to shadow the log one with additional K/V context
    	log := log.WithLabels("resource", key)
    	pod := c.pods.Get(key.Name, key.Namespace)
    	if pod == nil {
    		log.Infof("pod deleted")
    	} else {
    		c.events.Inc()
    		fmt.Println("pod has IP", pod.Status.PodIP) // Just for our test, normally use log.Info
    		log.Infof("pod has IP %v", pod.Status.PodIP)
    	}
    	// We never have an error for this controller.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 7K bytes
    - Viewed (0)
  9. pkg/kubelet/container/runtime_cache.go

    	}
    	r.pods, r.cacheTime = pods, timestamp
    	return nil
    }
    
    // getPodsWithTimestamp records a timestamp and retrieves pods from the getter.
    func (r *runtimeCache) getPodsWithTimestamp(ctx context.Context) ([]*Pod, time.Time, error) {
    	// Always record the timestamp before getting the pods to avoid stale pods.
    	timestamp := time.Now()
    	pods, err := r.getter.GetPods(ctx, false)
    	return pods, timestamp, err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 09 04:03:51 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/policy/v1/generated.proto

    option go_package = "k8s.io/api/policy/v1";
    
    // Eviction evicts a pod from its node subject to certain policies and safety constraints.
    // This is a subresource of Pod.  A request to cause such an eviction is
    // created by POSTing to .../pods/<pod name>/evictions.
    message Eviction {
      // ObjectMeta describes the pod that is being evicted.
      // +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top