Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for lien (5.05 sec)

  1. istioctl/pkg/waypoint/waypoint.go

      istioctl x waypoint delete --all --namespace default`,
    		Args: func(cmd *cobra.Command, args []string) error {
    			if deleteAll && len(args) > 0 {
    				return fmt.Errorf("cannot specify waypoint names when deleting all waypoints")
    			}
    			if !deleteAll && len(args) == 0 {
    				return fmt.Errorf("must either specify a waypoint name or delete all using --all")
    			}
    			return nil
    		},
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 19:45:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  2. cni/README.md

    #### From a specific node syslog
    
    The CNI plugins are executed by threads in the `kubelet` process.  The CNI plugins logs end up the syslog
    under the `kubelet` process. On systems with `journalctl` the following is an example command line
    to view the last 1000 `kubelet` logs via the `less` utility to allow for `vi`-style searching:
    
    ```console
    $ journalctl -t kubelet -n 1000 | less
    ```
    
    #### GKE via Stackdriver Log Viewer
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  3. cni/pkg/util/podutil_test.go

    	podIPs := GetPodIPsIfPresent(pod)
    	assert.Equal(t, len(podIPs), 2)
    }
    
    func TestGetPodIPsIfNoPodIPPresent(t *testing.T) {
    	pod := &corev1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "test",
    			Namespace: "test",
    		},
    		Spec: corev1.PodSpec{
    			NodeName: "derp",
    		},
    		Status: corev1.PodStatus{},
    	}
    
    	podIPs := GetPodIPsIfPresent(pod)
    	assert.Equal(t, len(podIPs), 0)
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  4. operator/cmd/mesh/install.go

    }
    
    func humanReadableJoin(ss []string) string {
    	switch len(ss) {
    	case 0:
    		return ""
    	case 1:
    		return ss[0]
    	case 2:
    		return ss[0] + " and " + ss[1]
    	default:
    		return strings.Join(ss[:len(ss)-1], ", ") + ", and " + ss[len(ss)-1]
    	}
    }
    
    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)
  5. cni/pkg/nodeagent/informers.go

    			// it's not routable at this point and something is wrong/we should discard this event.
    			podIPs := util.GetPodIPsIfPresent(pod)
    			if len(podIPs) == 0 {
    				log.Warnf("pod %s does not appear to have any assigned IPs, not capturing", pod.Name)
    				return nil
    			}
    
    			err := s.dataplane.AddPodToMesh(s.ctx, pod, podIPs, "")
    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. Makefile.core.mk

      $(error "HUB cannot be empty")
    endif
    
    # For dockerx builds, allow HUBS which is a space separated list of hubs. Default to HUB.
    HUBS ?= $(HUB)
    
    # If tag not explicitly set in users' .istiorc.mk or command line, default to the git sha.
    TAG ?= $(shell git rev-parse --verify HEAD)
    ifeq ($(TAG),)
      $(error "TAG cannot be empty")
    endif
    
    PULL_POLICY ?= IfNotPresent
    ifeq ($(TAG),latest)
      PULL_POLICY = Always
    endif
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 20:25:15 GMT 2024
    - 22.5K bytes
    - Viewed (0)
  7. cni/pkg/plugin/plugin_test.go

    	pod.ObjectMeta.Annotations[sidecarStatusKey] = "true"
    
    	mockIntercept := testDoAddRun(t, buildMockConf(false, ""), testNSName, pod, ns)
    
    	if len(mockIntercept.lastRedirect) == 0 {
    		t.Fatalf("expected nsenterFunc to be called")
    	}
    	r := mockIntercept.lastRedirect[len(mockIntercept.lastRedirect)-1]
    	if r.includeInboundPorts != "*" {
    		t.Fatalf("expect includeInboundPorts has value '*' set by istio, actual %v", r.includeInboundPorts)
    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)
Back to top