- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 35 for pods (0.2 sec)
-
manifests/charts/istio-cni/templates/clusterrole.yaml
- apiGroups: [""] resources: ["pods"] verbs: ["watch", "get", "list"] {{- if .Values.cni.repair.repairPods }} {{- /* No privileges needed*/}} {{- else if .Values.cni.repair.deletePods }} - apiGroups: [""] resources: ["pods"] verbs: ["delete"] {{- else if .Values.cni.repair.labelPods }} - apiGroups: [""]
Others - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat May 04 01:55:56 GMT 2024 - 2.2K bytes - Viewed (0) -
cni/README.md
- If excluded, ignore the pod and return prevResult 1. Setup redirect rules for the pods: - Get the port list from pods definition, as well as annotations. - Setup iptables with required port list: `nsenter --net=<k8s pod netns> /opt/cni/bin/istio-iptables ...`. Following conditions will prevent the redirect rules to be setup in the pods:
Plain Text - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 12.3K bytes - Viewed (0) -
cni/pkg/util/podutil.go
func IsZtunnelPod(systemNs string, pod *corev1.Pod) bool { return pod.Namespace == systemNs && pod.GetLabels()["app"] == "ztunnel" } 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{},
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 3.9K bytes - Viewed (0) -
cni/pkg/nodeagent/informers.go
go s.queue.Run(s.ctx.Done()) } func (s *InformerHandlers) GetAmbientPods() []*corev1.Pod { var pods []*corev1.Pod for _, pod := range s.pods.List(metav1.NamespaceAll, klabels.Everything()) { ns := s.namespaces.Get(pod.Namespace, "") if ns == nil { log.Warnf("failed to find namespace %s for pod %s", pod.Namespace, pod.Name) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 9.6K bytes - Viewed (0) -
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
Others - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 5.2K bytes - Viewed (1) -
istioctl/pkg/ztunnelconfig/ztunnelconfig.go
sortBy := func(pods []*corev1.Pod) sort.Interface { return podutils.ByLogging(pods) } sort.Sort(sortBy(pods)) return config.NamespacedName(pods[0]), nil } return types.NamespacedName{}, fmt.Errorf("no pods found") } type commonFlags struct { // output format (json, yaml or short) outputFormat string proxyAdminPort int configDumpFile string node string }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 01 13:11:40 GMT 2024 - 22.2K bytes - Viewed (0) -
manifests/charts/istio-cni/templates/daemonset.yaml
fieldRef: fieldPath: spec.nodeName - name: REPAIR_LABEL_PODS value: "{{.Values.cni.repair.labelPods}}" # Set to true to enable pod deletion - name: REPAIR_DELETE_PODS value: "{{.Values.cni.repair.deletePods}}" - name: REPAIR_REPAIR_PODS value: "{{.Values.cni.repair.repairPods}}" - name: REPAIR_RUN_AS_DAEMON
Others - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 9.4K bytes - Viewed (0) -
cni/pkg/constants/constants.go
// Repair RepairEnabled = "repair-enabled" RepairDeletePods = "repair-delete-pods" RepairRepairPods = "repair-repair-pods" RepairLabelPods = "repair-label-pods" RepairLabelKey = "repair-broken-pod-label-key" RepairLabelValue = "repair-broken-pod-label-value" RepairNodeName = "repair-node-name" RepairSidecarAnnotation = "repair-sidecar-annotation"
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 2.7K bytes - Viewed (0) -
cni/pkg/nodeagent/net.go
log := log.WithLabels("ns", pod.Namespace, "name", pod.Name) log.Debug("Pod is now stopped... cleaning up.") if err := removePodFromHostNSIpset(pod, &s.hostsideProbeIPSet); err != nil { log.Errorf("failed to remove pod %s from host ipset, error was: %v", pod.Name, err) return err } log.Info("in pod mode - deleting pod from ztunnel")
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 12.2K bytes - Viewed (1) -
cni/pkg/cmd/root.go
registerBooleanParameter(constants.RepairLabelPods, false, "Controller will label pods when detecting pod broken by race condition") registerStringParameter(constants.RepairLabelKey, "cni.istio.io/uninitialized", "The key portion of the label which will be set by the race repair if label pods is true")
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 12.5K bytes - Viewed (0)