Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Haddad (0.16 sec)

  1. cni/pkg/nodeagent/net.go

    	}
    	log.Debug("stopping ztunnel server")
    	s.ztunnelServer.Close()
    }
    
    func (s *NetServer) rescanPod(pod *corev1.Pod) error {
    	// this can happen if the pod was dynamically added to the mesh after it was created.
    	// in that case, try finding the netns using procfs.
    	filter := map[types.UID]*corev1.Pod{
    		pod.UID: pod,
    	}
    	return s.scanProcForPodsAndCache(filter)
    }
    
    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)
  2. operator/cmd/mesh/manifest-diff.go

    			"changed paths with the value changes shown as OLD-VALUE -> NEW-VALUE.\n" +
    			"List order changes are shown as [OLD-INDEX->NEW-INDEX], with ? used where a list item is added or\n" +
    			"removed.",
    		Args: func(cmd *cobra.Command, args []string) error {
    			if len(args) != 2 {
    				return fmt.Errorf("diff requires two files or directories")
    			}
    			return nil
    		},
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  3. cni/pkg/plugin/plugin_test.go

    	pod.Spec.Containers = []corev1.Container{app}
    
    	testDoAddRun(t, cniConf, excludedNS, pod, ns)
    
    	wasCalled := serverClose()
    	// If the pod is being added to a namespace that is explicitly excluded by plugin config denylist
    	// it should never be added, even if the namespace has the annotation
    	assert.Equal(t, wasCalled, false)
    }
    
    func TestCmdAdd(t *testing.T) {
    	pod, ns := buildFakePodAndNSForClient()
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  4. cni/test/install_cni.go

    			if op == "add" {
    				t.Logf("PASS: File %v was added to %v", f, tempCNIBinDir)
    				return nil
    			} else if op == "del" {
    				return fmt.Errorf("FAIL: File %v was not removed from %v", f, tempCNIBinDir)
    			}
    		} else {
    			if op == "add" {
    				return fmt.Errorf("FAIL: File %v was not added to %v", f, tempCNIBinDir)
    			} else if op == "del" {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/ztunnelserver.go

    	r := &zdsapi.WorkloadRequest{
    		Payload: &zdsapi.WorkloadRequest_Add{
    			Add: &zdsapi.AddWorkload{
    				WorkloadInfo: podToWorkload(pod),
    				Uid:          uid,
    			},
    		},
    	}
    	log.Infof("About to send added pod: %s to ztunnel: %+v", uid, r)
    	data, err := proto.Marshal(r)
    	if err != nil {
    		return err
    	}
    
    	fd := int(netns.Fd())
    	resp, err := latestConn.send(ctx, data, &fd)
    	if err != nil {
    		return err
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/informers.go

    	defer EventTotals.With(eventTypeTag.Value(event.Event.String())).Increment()
    
    	switch event.Event {
    	case controllers.EventAdd:
    		// pod was added to our cache
    		// we get here in 2 cases:
    		// 1. new pod was created on our node
    		// 2. we were restarted and current existing pods are added to our cache
    
    		// We have no good way to distinguish between these two cases from here. But we don't need to!
    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)
  7. istioctl/pkg/clioptions/doc.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    // Package clioptions contains flags which can be added to istioctl commands.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jul 13 01:59:17 GMT 2022
    - 683 bytes
    - Viewed (0)
  8. cni/pkg/repair/repaircontroller.go

    	m.With(resultLabel.Value(resultSuccess)).Increment()
    	return nil
    }
    
    func (c *Controller) labelBrokenPod(pod *corev1.Pod) error {
    	// Added for safety, to make sure no healthy pods get labeled.
    	m := podsRepaired.With(typeLabel.Value(labelType))
    	repairLog.Infof("Pod detected as broken, adding label: %s/%s", pod.Namespace, pod.Name)
    
    	labels := pod.GetLabels()
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  9. cni/pkg/cmd/root.go

    	registerStringParameter(constants.RepairLabelSelectors, "",
    		"A set of label selectors in label=value format that will be added to the pod list filters")
    	registerStringParameter(constants.RepairFieldSelectors, "",
    		"A set of field selectors in label=value format that will be added to the pod list filters")
    }
    
    func registerStringParameter(name, value, usage string) {
    	rootCmd.Flags().String(name, value, usage)
    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)
  10. istioctl/pkg/tag/generate.go

    	// MutatingWebhookConfiguration and ValidatingWebhookConfiguration. The app of the webhooks are not general
    	// since they are functioned differently with different name.
    	// The filtered common labels are then added to the incoming generated
    	// webhooks, which aids in managing these webhooks via the istioctl/operator.
    	filteredLabels := make(map[string]string)
    	for k, v := range wh.Labels {
    		if k != "app" {
    			filteredLabels[k] = v
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 13.2K bytes
    - Viewed (0)
Back to top