Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 453 for pod4 (0.12 sec)

  1. 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)
  2. 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)
  3. pkg/kubelet/apis/podresources/server_v1alpha1_test.go

    		desc             string
    		pods             []*v1.Pod
    		devices          []*podresourcesv1.ContainerDevices
    		expectedResponse *v1alpha1.ListPodResourcesResponse
    	}{
    		{
    			desc:             "no pods",
    			pods:             []*v1.Pod{},
    			devices:          []*podresourcesv1.ContainerDevices{},
    			expectedResponse: &v1alpha1.ListPodResourcesResponse{},
    		},
    		{
    			desc: "pod without devices",
    			pods: []*v1.Pod{
    				{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. docs/pt/docs/deployment.md

    ## _Cluster_ de Docker Swarm Mode com Traefik e HTTPS
    
    Você pode ter um _cluster_ de Docker Swarm Mode configurado em minutos (cerca de 20) com o Traefik controlando HTTPS (incluindo aquisição e renovação de certificados).
    
    Utilizando o Docker Swarm Mode, você pode iniciar com um _"cluster"_ de apenas uma máquina (que pode até ser um servidor por 5 dólares / mês) e então você pode aumentar conforme a necessidade adicionando mais servidores.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Aug 18 16:16:54 UTC 2022
    - 16.8K bytes
    - Viewed (0)
  5. istioctl/pkg/util/handlers/handlers.go

    	sortBy := func(pods []*corev1.Pod) sort.Interface { return podutils.ByLogging(pods) }
    	timeout := 2 * time.Second
    	if getFirstPodFunc == nil {
    		getFirstPodFunc = polymorphichelpers.GetFirstPod
    	}
    	pod, _, err := getFirstPodFunc(client, namespace, selector, timeout, sortBy)
    	if err != nil {
    		return "", "", fmt.Errorf("no pods match %q", resname)
    	}
    	return pod.Name, namespace, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 06 15:01:41 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/path-params-numeric-validations.md

    # Parâmetros da Rota e Validações Numéricas
    
    Do mesmo modo que você pode declarar mais validações e metadados para parâmetros de consulta com `Query`, você pode declarar os mesmos tipos de validações e metadados para parâmetros de rota com `Path`.
    
    ## Importe `Path`
    
    Primeiro, importe `Path` de `fastapi`:
    
    === "Python 3.10+"
    
        ```Python hl_lines="1"
        {!> ../../../docs_src/path_params_numeric_validations/tutorial001_py310.py!}
        ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 17 05:59:11 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/autoscaling/v2beta2/types.go

    	// pods refers to a metric describing each pod in the current scale target
    	// (for example, transactions-processed-per-second).  The values will be
    	// averaged together before being compared to the target value.
    	// +optional
    	Pods *PodsMetricSource `json:"pods,omitempty" protobuf:"bytes,3,opt,name=pods"`
    
    	// resource refers to a resource metric (such as those specified in
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:27 UTC 2023
    - 28.4K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/header-params.md

    É possível receber cabeçalhos duplicados. Isso significa, o mesmo cabeçalho com vários valores.
    
    Você pode definir esses casos usando uma lista na declaração de tipo.
    
    Você receberá todos os valores do cabeçalho duplicado como uma `list` Python.
    
    Por exemplo, para declarar um cabeçalho de `X-Token` que pode aparecer mais de uma vez, você pode escrever:
    
    === "Python 3.10+"
    
        ```Python hl_lines="7"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 17 05:59:11 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  9. pkg/controller/daemon/daemon_controller.go

    				// Emit an event so that it's discoverable to users.
    				dsc.eventRecorder.Eventf(ds, v1.EventTypeWarning, FailedDaemonPodReason, msg)
    				podsToDelete = append(podsToDelete, pod.Name)
    			} else if pod.Status.Phase == v1.PodSucceeded {
    				msg := fmt.Sprintf("Found succeeded daemon pod %s/%s on node %s, will try to delete it", pod.Namespace, pod.Name, node.Name)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  10. pkg/kubelet/kubelet_pods.go

    // or are known to be fully terminated. This method should only be used
    // when the set of pods being filtered is upstream of the pod worker, i.e.
    // the pods the pod manager is aware of.
    func (kl *Kubelet) filterOutInactivePods(pods []*v1.Pod) []*v1.Pod {
    	filteredPods := make([]*v1.Pod, 0, len(pods))
    	for _, p := range pods {
    		// if a pod is fully terminated by UID, it should be excluded from the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
Back to top