Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 80 for containers (0.26 sec)

  1. cni/pkg/plugin/plugin_test.go

    	cniConf := buildMockConf(true, url)
    
    	pod, ns := buildFakePodAndNSForClient()
    
    	proxy := corev1.Container{Name: "istio-proxy"}
    	app := corev1.Container{Name: "app"}
    
    	pod.Spec.Containers = []corev1.Container{app, proxy}
    	pod.ObjectMeta.Annotations = map[string]string{annotation.SidecarStatus.Name: "true"}
    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)
  2. cni/pkg/nodeagent/net_test.go

    		}
    	}
    
    	return &corev1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "foo",
    			Namespace: "bar",
    			UID:       "123",
    		},
    		Spec: corev1.PodSpec{
    			Containers: containers,
    		},
    		Status: podStatus,
    	}
    }
    
    func TestServerAddPod(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    	setupLogging()
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  3. cni/pkg/plugin/plugin.go

    			log.Infof("excluded due to DISABLE_ENVOY on istio-proxy", podNamespace, podName)
    			return nil
    		}
    	}
    
    	if !pi.Containers.Contains(ISTIOPROXY) {
    		log.Infof("excluded because it does not have istio-proxy container (have %v)", sets.SortedList(pi.Containers))
    		return nil
    	}
    
    	if pi.ProxyType != "" && pi.ProxyType != "sidecar" {
    		log.Infof("excluded %s/%s pod because it has proxy type %s", podNamespace, podName, pi.ProxyType)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  4. istioctl/pkg/describe/describe_test.go

    						Name:      "productpage-v1-1234567890",
    						Namespace: "default",
    						Labels: map[string]string{
    							"app": "productpage",
    						},
    					},
    					Spec: corev1.PodSpec{
    						Containers: []corev1.Container{
    							{
    								Name: "productpage",
    								Ports: []corev1.ContainerPort{
    									{
    										Name:          "http",
    										ContainerPort: 9080,
    									},
    								},
    							},
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Mar 28 09:54:01 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  5. cmd/update.go

    	} {
    		_, err = os.Stat(envfile)
    		if err == nil {
    			return true
    		}
    	}
    	if osIsNotExist(err) {
    		// if none of the files are present we may be running inside
    		// CRI-O, Containerd etc..
    		// Fallback to our container specific ENVs if they are set.
    		return env.IsSet("MINIO_ACCESS_KEY_FILE")
    	}
    
    	// Log error, as we will not propagate it to caller
    	internalLogIf(GlobalContext, err)
    
    	return err == nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  6. istioctl/pkg/precheck/precheck.go

    		if scopingImpacted = meshData["discoverySelectors"] != nil; !scopingImpacted {
    			continue
    		}
    		// Check if mitigation is already in place
    		for _, container := range deployment.Spec.Template.Spec.Containers {
    			if container.Name == "discovery" {
    				for _, envVar := range container.Env {
    					if envVar.Name == "ENHANCED_RESOURCE_SCOPING" && envVar.Value == "true" {
    						scopingImpacted = false
    						break
    					}
    				}
    			}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 02:57:30 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  7. istioctl/pkg/validate/validate_test.go

          app: hello
          version: v1
        name: hello-v1
      spec:
        replicas: 1
        template:
          metadata:
            labels:
              app: hello
              version: v1
          spec:
            containers:
            - name: hello
              image: istio/examples-hello
              imagePullPolicy: IfNotPresent
              ports:
              - containerPort: 9080
    - apiVersion: apps/v1
      kind: Deployment
      metadata:
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jul 25 08:08:36 GMT 2023
    - 21.5K bytes
    - Viewed (0)
  8. cni/pkg/repair/repaircontroller.go

    		}
    	}
    
    	// For each candidate pod, iterate across all init containers searching for
    	// crashlooping init containers that match our criteria
    	for _, container := range pod.Status.InitContainerStatuses {
    		// Skip the container if the InitContainerName is not a match and our
    		// InitContainerName filter is non-empty.
    		if c.cfg.InitContainerName != "" && container.Name != c.cfg.InitContainerName {
    			continue
    		}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  9. cmd/object-api-datatypes.go

    	Uploads []MultipartInfo
    
    	// When a prefix is provided in the request, The result contains only keys
    	// starting with the specified prefix.
    	Prefix string
    
    	// A character used to truncate the object prefixes.
    	// NOTE: only supported delimiter is '/'.
    	Delimiter string
    
    	// CommonPrefixes contains all (if there are any) keys between Prefix and the
    	// next occurrence of the string specified by delimiter.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/envoy/configdump/listener.go

    	nTCP := 0
    	for _, filterChain := range getFilterChains(l) {
    		for _, filter := range filterChain.GetFilters() {
    			if filter.Name == HTTPListener {
    				nHTTP++
    			} else if filter.Name == TCPListener {
    				if !strings.Contains(string(filter.GetTypedConfig().GetValue()), util.BlackHoleCluster) {
    					nTCP++
    				}
    			}
    		}
    	}
    
    	if nHTTP > 0 {
    		if nTCP == 0 {
    			return "HTTP"
    		}
    		return "HTTP+TCP"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 18.1K bytes
    - Viewed (0)
Back to top