Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 315 for Pods (0.05 sec)

  1. cni/pkg/util/podutil.go

    func AnnotateEnrolledPod(client kubernetes.Interface, pod *metav1.ObjectMeta) error {
    	_, err := client.CoreV1().
    		Pods(pod.Namespace).
    		Patch(
    			context.Background(),
    			pod.Name,
    			types.MergePatchType,
    			annotationPatch,
    			metav1.PatchOptions{},
    			// Both "pods" and "pods/status" can mutate the metadata. However, pods/status is lower privilege, so we use that instead.
    			"status",
    		)
    	return err
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 17:18:11 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. manifests/charts/istio-cni/templates/resourcequota.yaml

    {{- if .Values.cni.resourceQuotas.enabled }}
    apiVersion: v1
    kind: ResourceQuota
    metadata:
      name: {{ template "name" . }}-resource-quota
      namespace: {{ .Release.Namespace }}
    spec:
      hard:
        pods: {{ .Values.cni.resourceQuotas.pods | quote }}
      scopeSelector:
        matchExpressions:
        - operator: In
          scopeName: PriorityClass
          values:
          - system-node-critical
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 21:52:29 UTC 2024
    - 388 bytes
    - Viewed (0)
  3. tests/integration/pilot/cni/cniversionskew_test.go

    				retry.UntilSuccessOrFail(t, func() error {
    					pods, err := podFetchFn()
    					if err != nil {
    						return fmt.Errorf("failed to get CNI pods %v", err)
    					}
    					if len(pods) == 0 {
    						return fmt.Errorf("cannot find any CNI pods")
    					}
    					for _, p := range pods {
    						if !strings.Contains(p.Spec.Containers[0].Image, v) {
    							return fmt.Errorf("pods image does not match wanted CNI version")
    						}
    					}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 22:56:37 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/runtime/waiting_pods_map.go

    )
    
    // waitingPodsMap a thread-safe map used to maintain pods waiting in the permit phase.
    type waitingPodsMap struct {
    	pods map[types.UID]*waitingPod
    	mu   sync.RWMutex
    }
    
    // NewWaitingPodsMap returns a new waitingPodsMap.
    func NewWaitingPodsMap() *waitingPodsMap {
    	return &waitingPodsMap{
    		pods: make(map[types.UID]*waitingPod),
    	}
    }
    
    // add a new WaitingPod to the map.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. security/pkg/server/ca/node_auth.go

    			},
    			Node: pod.Spec.NodeName,
    		}}
    	})
    	return &ClusterNodeAuthorizer{
    		pods:                pods,
    		nodeIndex:           index,
    		trustedNodeAccounts: trustedNodeAccounts,
    	}
    }
    
    func (na *ClusterNodeAuthorizer) Close() {
    	na.pods.ShutdownHandlers()
    }
    
    func (na *ClusterNodeAuthorizer) HasSynced() bool {
    	return na.pods.HasSynced()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. pkg/controller/deployment/recreate_test.go

    			hasOldPodsRunning: false,
    		},
    		{
    			name:              "old RSs with running pods",
    			oldRSs:            []*apps.ReplicaSet{rsWithUID("some-uid"), rsWithUID("other-uid")},
    			podMap:            podMapWithUIDs([]string{"some-uid", "other-uid"}),
    			hasOldPodsRunning: true,
    		},
    		{
    			name:              "old RSs without pods but with non-zero status replicas",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  7. pilot/pkg/config/kube/ingress/status.go

    			c.enqueueAll()
    		}
    	}))
    	// For pods, we enqueue all Ingress if its part of the ingress service
    	c.pods.AddEventHandler(controllers.ObjectHandler(func(o controllers.Object) {
    		if c.meshConfig.Mesh().IngressService != "" {
    			// Ingress Service takes precedence
    			return
    		}
    		ingressSelector := c.meshConfig.Mesh().IngressSelector
    
    		// get all pods acting as ingress gateways
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. manifests/charts/istio-cni/values.yaml

        resourceQuotas:
          enabled: false
          pods: 5000
    
        # The number of pods that can be unavailable during rolling update (see
        # `updateStrategy.rollingUpdate.maxUnavailable` here:
        # https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/#DaemonSetSpec).
        # May be specified as a number of pods or as a percent of the total number
        # of pods at the start of the update.
        rollingMaxUnavailable: 1
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. pkg/kube/krt/index_test.go

    )
    
    func TestIndex(t *testing.T) {
    	c := kube.NewFakeClient()
    	kpc := kclient.New[*corev1.Pod](c)
    	pc := clienttest.Wrap(t, kpc)
    	pods := krt.WrapClient[*corev1.Pod](kpc)
    	stop := test.NewStop(t)
    	c.RunAndWait(stop)
    	SimplePods := SimplePodCollection(pods)
    	tt := assert.NewTracker[string](t)
    	IPIndex := krt.NewIndex[SimplePod, string](SimplePods, func(o SimplePod) []string {
    		return []string{o.IP}
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 09 19:55:53 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. pkg/config/analysis/analyzers/sidecar/selector.go

    		Inputs: []config.GroupVersionKind{
    			gvk.Sidecar,
    			gvk.Pod,
    			gvk.Namespace,
    		},
    	}
    }
    
    // Analyze implements Analyzer
    func (a *SelectorAnalyzer) Analyze(c analysis.Context) {
    	podsToSidecars := make(map[resource.FullName][]*resource.Instance)
    	pods := make(map[resource.FullName]*resource.Instance)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 03:44:57 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top