Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for nerede (0.16 sec)

  1. operator/cmd/mesh/manifest_shared_test.go

    	}), strings.Split(command, " "))
    	rootCmd.SetOut(&out)
    
    	err := rootCmd.Execute()
    	return out.String(), err
    }
    
    // cleanTestCluster resets the test cluster.
    func cleanTestCluster() error {
    	// Needed in case we are running a test through this path that doesn't start a new process.
    	cache.FlushObjectCaches()
    	if !kubeBuilderInstalled() {
    		return nil
    	}
    	return recreateTestEnv()
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (1)
  2. cni/pkg/nodeagent/pod_cache.go

    	"fmt"
    	"path/filepath"
    	"runtime"
    	"sync"
    
    	corev1 "k8s.io/api/core/v1"
    
    	"istio.io/istio/pkg/maps"
    	"istio.io/istio/pkg/zdsapi"
    )
    
    var ErrPodNotFound = errors.New("netns not provided, but is needed as pod is not in cache")
    
    type PodNetnsCache interface {
    	ReadCurrentPodSnapshot() map[string]WorkloadInfo
    }
    
    // Hold a cache of node local pods with their netns
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/ztunnelserver.go

    	Close() error
    }
    
    /*
    To clean up stale ztunnels
    
    	we may need to ztunnel to send its (uid, bootid / boot time) to us
    	so that we can remove stale entries when the ztunnel pod is deleted
    	or when the ztunnel pod is restarted in the same pod (remove old entries when the same uid connects again, but with different boot id?)
    
    	save a queue of what needs to be sent to the ztunnel pod and send it one by one when it connects.
    
    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)
  4. cni/pkg/iptables/iptables.go

    	iptableslog "istio.io/istio/tools/istio-iptables/pkg/log"
    )
    
    const (
    	// INPOD marks/masks
    	InpodTProxyMark      = 0x111
    	InpodTProxyMask      = 0xfff
    	InpodMark            = 1337 // this needs to match the inpod config mark in ztunnel.
    	InpodMask            = 0xfff
    	InpodRestoreMask     = 0xffffffff
    	ChainInpodOutput     = "ISTIO_OUTPUT"
    	ChainInpodPrerouting = "ISTIO_PRERT"
    	ChainHostPostrouting = "ISTIO_POSTRT"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 07 19:54:50 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/informers.go

    		// We have no good way to distinguish between these two cases from here. But we don't need to!
    		// Existing pods will be handled by the dataplane using `GetAmbientPods`,
    		// and the initial enqueueNamespace, and new pods will be handled by the CNI.
    
    	case controllers.EventUpdate:
    		// For update, we just need to handle opt outs
    		newPod := event.New.(*corev1.Pod)
    		oldPod := event.Old.(*corev1.Pod)
    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)
  6. operator/cmd/mesh/install.go

    func InstallManifests(iop *v1alpha12.IstioOperator, force bool, dryRun bool, kubeClient kube.Client, client client.Client,
    	waitTimeout time.Duration, l clog.Logger,
    ) error {
    	// Needed in case we are running a test through this path that doesn't start a new process.
    	cache.FlushObjectCaches()
    	opts := &helmreconciler.Options{
    		DryRun: dryRun, Log: l, WaitTimeout: waitTimeout, ProgressLog: progress.NewLog(),
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 14:30:43 GMT 2024
    - 15.5K bytes
    - Viewed (1)
  7. cni/pkg/constants/constants.go

    // Exposed for testing constants
    var (
    	CNIBinDir          = "/opt/cni/bin"
    	HostCNIBinDir      = "/host/opt/cni/bin"
    	ServiceAccountPath = "/var/run/secrets/kubernetes.io/serviceaccount"
    	// Well-known subpath we will mount any needed host-mounts under,
    	// to preclude shadowing or breaking any pod-internal mounts
    	HostMountsPath = "/host"
    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)
  8. cni/pkg/install/install.go

    	if err != nil {
    		cniInstalls.With(resultLabel.Value(resultCopyBinariesFailure)).Increment()
    		return copiedFiles, fmt.Errorf("copy binaries: %v", err)
    	}
    
    	// Install kubeconfig (if needed) - we write/update this in the shared node CNI netdir,
    	// which may be watched by other CNIs, and so we don't want to trigger writes to this file
    	// unless it's missing or the contents are not what we expect.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  9. operator/cmd/mesh/shared.go

    }
    
    func applyManifest(kubeClient kube.Client, client client.Client, manifestStr string,
    	componentName name.ComponentName, opts *applyOptions, iop *v1alpha1.IstioOperator, l clog.Logger,
    ) error {
    	// Needed in case we are running a test through this path that doesn't start a new process.
    	cache.FlushObjectCaches()
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/podcgroupns.go

    }
    
    /// mostly copy pasted from spire below:
    
    // regexes listed here have to exclusively match a cgroup path
    // the regexes must include two named groups "poduid" and "containerid"
    // if the regex needs to exclude certain substrings, the "mustnotmatch" group can be used
    // nolint: lll
    var cgroupREs = []*regexp.Regexp{
    	// the regex used to parse out the pod UID and container ID from a
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 11K bytes
    - Viewed (0)
Back to top