Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for Eddine (0.18 sec)

  1. cni/pkg/iptables/iptables_linux.go

    	"golang.org/x/sys/unix"
    )
    
    func AddInpodMarkIPRule(cfg *Config) error {
    	err := forEachInpodMarkIPRule(cfg, netlink.RuleAdd)
    	if errors.Is(err, unix.EEXIST) {
    		log.Debugf("Ignoring exists error adding inpod mark ip rule: %v", err)
    		return nil
    	}
    	return err
    }
    
    func DelInpodMarkIPRule(cfg *Config) error {
    	return forEachInpodMarkIPRule(cfg, netlink.RuleDel)
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  2. manifests/charts/istio-control/istio-discovery/values.yaml

        # always skip the injection on pods that match that label selector, regardless of the global policy.
        # See https://istio.io/docs/setup/kubernetes/additional-setup/sidecar-injection/#more-control-adding-exceptions
        neverInjectSelector: []
        alwaysInjectSelector: []
    
        # injectedAnnotations are additional annotations that will be added to the pod spec after injection
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 16:58:23 GMT 2024
    - 19.6K bytes
    - Viewed (0)
  3. cni/pkg/repair/repaircontroller.go

    }
    
    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()
    	if _, ok := labels[c.cfg.LabelKey]; ok {
    		m.With(resultLabel.Value(resultSkip)).Increment()
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/net.go

    	}
    
    	return openNetns, nil
    }
    
    // AddPodToMesh adds a pod to mesh by
    // 1. Getting the netns
    // 2. Adding the pod's IPs to the hostnetns ipsets for node probe checks
    // 3. Creating iptables rules inside the pod's netns
    // 4. Notifying ztunnel via GRPC to create a proxy for the pod
    //
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
  5. cni/pkg/nodeagent/server.go

    	if err != nil {
    		return nil, fmt.Errorf("error configuring iptables: %w", err)
    	}
    
    	// Create hostprobe rules now, in the host netns
    	// Later we will reuse this same configurator inside the pod netns for adding other rules
    	iptablesConfigurator.DeleteHostRules()
    
    	if err := iptablesConfigurator.CreateHostRulesForHealthChecks(&HostProbeSNATIP, &HostProbeSNATIPV6); err != nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/informers.go

    			if wasReady != nil && isReady != nil && isAnnotated {
    				log.Infof("Pod %s update event skipped, added/labeled by CNI plugin", pod.Name)
    				return nil
    			}
    
    			log.Debugf("Pod %s now matches, adding to mesh", newPod.Name)
    			// netns == ""; at this point netns should have been added via the initial snapshot,
    			// or via the cni plugin. If it happens to get here before the cni plugin somehow,
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 08 01:03:24 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  7. operator/README.md

    dlv debug --headless --listen=:2345 --api-version=2 -- server
    `.
    
    1. In IntelliJ, create a new Go Remote debug configuration with default settings.
    
    1. Start debugging process and verify it is working. For example, try adding a breakpoint at Reconcile logic and apply a new CR.
    
    ### Relationship between the CLI and controller
    
    The CLI and controller share the same API and codebase for generating manifests from the API. You can think of the
    Plain Text
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Sun Sep 17 08:27:52 GMT 2023
    - 17.5K bytes
    - Viewed (0)
  8. operator/cmd/mesh/testdata/manifest-generate/data-snapshot.tar.gz

    Each component can overwrite these default values by adding its own resources # block in the relevant section below and setting the desired resources values. defaultResources: requests: cpu: 10m # memory: 128Mi # limits: # cpu: 100m # memory: 128Mi # Default node tolerations to be applied to all deployments so that all pods can be # scheduled to a particular nodes with matching taints. Each component can overwrite # these default values by adding its tolerations block in the relevant section below...
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Wed Jan 10 05:10:03 GMT 2024
    - 198.1K bytes
    - Viewed (1)
  9. cni/pkg/iptables/iptables.go

    	builder := cfg.appendInpodRules(hostProbeSNAT)
    
    	if err := cfg.addLoopbackRoute(); err != nil {
    		return err
    	}
    
    	if err := cfg.addInpodMarkIPRule(); err != nil {
    		return err
    	}
    
    	log.Debug("Adding iptables rules")
    	if err := cfg.executeCommands(builder); err != nil {
    		log.Errorf("failed to restore iptables rules: %v", err)
    		return err
    	}
    
    	return nil
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 19.6K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/core/v1/generated.proto

      // for each node that meets all of the scheduling requirements (resource
      // request, requiredDuringScheduling affinity expressions, etc.),
      // compute a sum by iterating through the elements of this field and adding
      // "weight" to the sum if the node matches the corresponding matchExpressions; the
      // node(s) with the highest sum are the most preferred.
      // +optional
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 255.8K bytes
    - Viewed (0)
Back to top