Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 261 for Pod (0.03 sec)

  1. cni/pkg/repair/repair_test.go

    		podmap[pod.Name] = ""
    		for key, value := range pod.Labels {
    			podmap[pod.Name] = strings.Join([]string{podmap[pod.Name], fmt.Sprintf("%s=%s", key, value)}, ",")
    		}
    		podmap[pod.Name] = strings.Trim(podmap[pod.Name], " ,")
    	}
    	return
    }
    
    func TestLabelPods(t *testing.T) {
    	tests := []struct {
    		name       string
    		client     kube.Client
    		config     config.RepairConfig
    		wantLabels map[string]string
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Oct 24 03:31:28 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  2. common-protos/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: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. cni/pkg/plugin/kubernetes.go

    	return pi
    }
    
    // containers fetches all containers in the pod.
    // This is used to extract init containers (istio-init and istio-validation), and the sidecar.
    // The sidecar can be a normal container or init in Kubernetes 1.28+
    func containers(pod *v1.Pod) []v1.Container {
    	res := make([]v1.Container, 0, len(pod.Spec.Containers)+len(pod.Spec.InitContainers))
    	res = append(res, pod.Spec.InitContainers...)
    	res = append(res, pod.Spec.Containers...)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/extensions/v1beta1/generated.proto

      // that should be running the daemon pod (i.e. status.desiredNumberScheduled)
      // can have their a new pod created before the old pod is marked as deleted.
      // The update starts by launching new pods on 30% of nodes. Once an updated
      // pod is available (Ready for at least minReadySeconds) the old DaemonSet pod
      // on that node is marked deleted. If the old pod becomes unavailable for any
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 45.6K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/autoscaling/v1/generated.proto

    }
    
    // list of horizontal pod autoscaler objects.
    message HorizontalPodAutoscalerList {
      // Standard list metadata.
      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
    
      // items is the list of horizontal pod autoscaler objects.
      repeated HorizontalPodAutoscaler items = 2;
    }
    
    // specification of a horizontal pod autoscaler.
    message HorizontalPodAutoscalerSpec {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 22K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/resource/v1alpha2/generated.proto

      // Spec describes where resources for the Pod are needed.
      optional PodSchedulingContextSpec spec = 2;
    
      // Status describes where resources for the Pod can be allocated.
      // +optional
      optional PodSchedulingContextStatus status = 3;
    }
    
    // PodSchedulingContextList is a collection of Pod scheduling objects.
    message PodSchedulingContextList {
      // Standard list metadata
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  7. cni/pkg/cmd/root.go

    	registerBooleanParameter(constants.RepairDeletePods, false, "Controller will delete pods when detecting pod broken by race condition")
    	registerBooleanParameter(constants.RepairLabelPods, false, "Controller will label pods when detecting pod broken by race condition")
    	registerStringParameter(constants.RepairLabelKey, "cni.istio.io/uninitialized",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 16 15:33:47 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  8. cni/pkg/plugin/plugin.go

    	podName := string(k8sArgs.K8S_POD_NAME)
    	log := log.WithLabels("pod", podNamespace+"/"+podName)
    	if podNamespace == "" || podName == "" {
    		log.Debugf("Not a kubernetes pod")
    		return nil
    	}
    
    	for _, excludeNs := range conf.ExcludeNamespaces {
    		if podNamespace == excludeNs {
    			log.Infof("pod namespace excluded")
    			return nil
    		}
    	}
    
    	// Begin ambient plugin logic
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Aug 14 19:36:19 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  9. istioctl/pkg/proxyconfig/proxyconfig_test.go

    			args:           strings.Split("clusters invalid", " "),
    			expectedString: "unable to retrieve Pod: pods \"invalid\" not found",
    			wantException:  true, // "istioctl proxy-config clusters invalid" should fail
    		},
    		{ // listeners invalid
    			args:           strings.Split("listeners invalid", " "),
    			expectedString: "unable to retrieve Pod: pods \"invalid\" not found",
    			wantException:  true, // "istioctl proxy-config listeners invalid" should fail
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Apr 10 21:51:29 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  10. architecture/environments/operator.md

    readinessProbe | [readiness probes](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/)
    replicaCount | [replica count](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/)
    hpaSpec | [HorizontalPodAutoscaler](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jul 29 21:11:35 UTC 2024
    - 13.2K bytes
    - Viewed (0)
Back to top