Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for myself (0.15 sec)

  1. cni/pkg/nodeagent/net.go

    // 3. Creating iptables rules inside the pod's netns
    // 4. Notifying ztunnel via GRPC to create a proxy for the pod
    //
    // You may ask why we pass the pod IPs separately from the pod manifest itself (which contains the pod IPs as a field)
    // - this is because during add specifically, if CNI plugins have not finished executing,
    // K8S may get a pod Add event without any IPs in the object, and the pod will later be updated with IPs.
    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. istioctl/pkg/multixds/gather.go

    		responses []*discovery.DiscoveryResponse
    		err       error
    	)
    
    	if options.XdsViaAgents {
    		responses, err = queryDebugSynczViaAgents(all, dr, istioNamespace, kubeClient, centralOpts, options)
    	} else {
    		// Self-administered case.  Find all Istiods in revision using K8s, port-forward and call each in turn
    		responses, err = queryEachShard(all, dr, istioNamespace, kubeClient, centralOpts)
    	}
    	if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  3. istioctl/cmd/sysexits.go

    	ExitIncorrectUsage = 64
    	ExitDataError      = 65 // some format error with input data
    
    	// below here are non-zero exit codes that don't indicate an error with istioctl itself
    	ExitAnalyzerFoundIssues = 79 // istioctl analyze found issues, for CI/CD
    )
    
    func GetExitCode(e error) int {
    	if strings.Contains(e.Error(), "unknown command") {
    		e = util.CommandParseError{Err: e}
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  4. cni/test/install_cni.go

    	checkTempFilesCleaned(tempCNIConfDir, t)
    }
    
    // RunInstallCNITest sets up temporary directories and runs the test.
    //
    // Doing a go test install_cni.go by itself will not execute the test as the
    // file doesn't have a _test.go suffix, and this func doesn't start with a Test
    // prefix. This func is only meant to be invoked programmatically. A separate
    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/iptables/iptables.go

    		iptableslog.UndefinedCommand, ChainInpodOutput, iptablesconstants.NAT,
    		"-p", "tcp",
    		"-m", "mark",
    		"--mark", inpodTproxyMark,
    		"-j", "ACCEPT",
    	)
    
    	// Do not redirect app calls to back itself via Ztunnel when using the endpoint address
    	// e.g. appN => appN by lo
    	iptablesBuilder.AppendVersionedRule("127.0.0.1/32", "::1/128",
    		iptableslog.UndefinedCommand, ChainInpodOutput, iptablesconstants.NAT,
    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)
  6. istioctl/pkg/metrics/metrics.go

    query results are printed to the console, organized by workload name.
    
    All metrics returned are from server-side reports. This means that latencies
    and error rates are from the perspective of the service itself and not of an
    individual client (or aggregate set of clients). Rates and latencies are
    calculated over a time interval of 1 minute.
    `,
    		Example: `  # Retrieve workload metrics for productpage-v1 workload
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  7. cni/pkg/plugin/cnieventclient_test.go

    	testServer := httptest.NewServer(http.HandlerFunc(func(res http.ResponseWriter, req *http.Request) {
    		res.WriteHeader(http.StatusInternalServerError)
    		res.Write([]byte("server pooped itself"))
    	}))
    	defer func() { testServer.Close() }()
    
    	cniC := fakeCNIEventClient(testServer.URL)
    
    	err := PushCNIEvent(cniC, fakeCmdArgs, []*cniv1.IPConfig{&fakePrevResultIPConfig}, "testpod", "testns")
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/netns_linux_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package nodeagent
    
    import "testing"
    
    func TestOpenNetns(t *testing.T) {
    	ns, err := OpenNetns("/proc/self/ns/net")
    	if err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    	// the inode for netns is proc dynamic, so it needs to be higher than
    	// #define PROC_DYNAMIC_FIRST 0xF0000000U
    
    	if ns.Inode() < 0xF0000000 {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 976 bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/podcgroupns.go

    	// descendants of a kubepods directory, however, as of Kubernetes 1.21, cgroups
    	// namespaces are in use and therefore we can no longer discern if that is the
    	// case from within SPIRE agent container (since the container itself is
    	// namespaced). As such, the regex has been relaxed to simply find the pod UID
    	// followed by the container ID with allowances for arbitrary punctuation, and
    	// container runtime prefixes, etc.
    	regexp.MustCompile(`` +
    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