Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Lyding (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. cni/pkg/ipset/ipset.go

    // and iptables will be smart enough to pick the correct underlying set (v4 or v6, based on context),
    // reducing the # of rules we need.
    //
    // BUT netlink lib doesn't support adding things to `list:set` types yet, and current tagged release
    // doesn't support creating `list:set` types yet (is in main branch tho).
    // So this will actually create 2 underlying ipsets, one for v4 and one for v6
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  8. operator/cmd/mesh/shared.go

    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/log"
    )
    
    // installerScope is the scope for all commands in the mesh package.
    var installerScope = log.RegisterScope("installer", "installer")
    
    func init() {
    	// adding to remove message about the controller-runtime logs not getting displayed
    	// We cannot do this in the `log` package since it would place a runtime dependency on controller-runtime for all binaries.
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  9. istioctl/pkg/wait/wait.go

    		} else {
    			notpresent += count
    		}
    	}
    	return present, notpresent, sdcnum, nil
    }
    
    // getAndWatchResource ensures that Generations always contains
    // the current generation of the targetResource, adding new versions
    // as they are created.
    func getAndWatchResource(ictx context.Context, cliCtx cli.Context) *watcher {
    	g := withContext(ictx)
    	// copy nameflag to avoid race
    	nf := nameflag
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Feb 17 12:24:17 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  10. istioctl/pkg/describe/describe.go

    					fact = fmt.Sprintf("%s subset \"%s\"", fact, dest.Destination.Subset)
    				}
    				fact = fmt.Sprintf("%s with weight %d%%", fact, dest.Weight)
    				facts = append(facts, fact)
    			}
    			// Consider adding RemoveResponseHeaders, AppendResponseHeaders, RemoveRequestHeaders, AppendRequestHeaders
    		} else {
    			if dest.Destination.Subset == "" {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
Back to top