Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 103 for containers (0.31 sec)

  1. cni/pkg/repair/netns.go

    	best := ""
    	// We will iterate over all processes. Our goal is to find a process with the same network ID as we found above.
    	// There should be 1 or 2 processes that match: the pause container should always be there, and the istio-validation *might*.
    	// We want the pause container, as the istio-validation one may exit before we are done.
    	// We do this by detecting the longest running process. We could look at `cmdline`, but is likely more reliable to weird platforms.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Dec 20 22:14:13 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  2. istioctl/pkg/util/handlers/handlers_test.go

    		Spec: corev1.PodSpec{
    			RestartPolicy: corev1.RestartPolicyAlways,
    			DNSPolicy:     corev1.DNSClusterFirst,
    			Containers: []corev1.Container{
    				{
    					Name: "bar",
    				},
    			},
    			InitContainers: []corev1.Container{
    				{
    					Name: "initfoo",
    				},
    			},
    			EphemeralContainers: []corev1.EphemeralContainer{
    				{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jun 09 18:17:49 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  3. cni/pkg/plugin/plugin_dryrun_test.go

    			pod.ObjectMeta.Annotations = tt.annotations
    			pod.Spec.Containers[1].Env = tt.proxyEnv
    
    			pod.Spec.Containers[1].SecurityContext = &corev1.SecurityContext{}
    
    			if tt.customGID != nil {
    				pod.Spec.Containers[1].SecurityContext.RunAsGroup = tt.customGID
    			}
    
    			if tt.customUID != nil {
    				pod.Spec.Containers[1].SecurityContext.RunAsUser = tt.customUID
    			}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  4. cni/pkg/plugin/kubernetes.go

    			}
    		}
    	}
    	return pi
    }
    
    // containers fetches all containers in the pod.
    // This is used to extract init containers (istio-init and istio-validation), and the sidecar.
    // The sidecar can be a normal container or init in Kubernetes 1.28+
    func containers(pod *v1.Pod) []v1.Container {
    	res := make([]v1.Container, 0, len(pod.Spec.Containers)+len(pod.Spec.InitContainers))
    	res = append(res, pod.Spec.InitContainers...)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  5. cni/pkg/repair/repair_test_helpers.go

    			Annotations: args.Annotations,
    		},
    		Spec: corev1.PodSpec{
    			NodeName: args.NodeName,
    			Volumes:  nil,
    			InitContainers: []corev1.Container{
    				{
    					Name: args.InitContainerName,
    				},
    			},
    			Containers: []corev1.Container{
    				{
    					Name: "payload-container",
    				},
    			},
    		},
    		Status: corev1.PodStatus{
    			InitContainerStatuses: []corev1.ContainerStatus{
    				*args.InitContainerStatus,
    			},
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 12 17:39:53 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/podcgroupns_test.go

    			cgroupPaths:       []string{},
    			expectPodUID:      "",
    			expectContainerID: "",
    		},
    		{
    			name: "no container ID in cgroups",
    			cgroupPaths: []string{
    				"/user.slice",
    			},
    			expectPodUID:      "",
    			expectContainerID: "",
    		},
    		{
    			name: "one container ID in cgroups",
    			cgroupPaths: []string{
    				"/user.slice",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  7. cmd/metrics-realtime.go

    	}
    	if types.Contains(madmin.MetricsOS) {
    		metrics := globalOSMetrics.report()
    		m.Aggregated.OS = &metrics
    	}
    	if types.Contains(madmin.MetricsBatchJobs) {
    		m.Aggregated.BatchJobs = globalBatchJobsMetrics.report(opts.jobID)
    	}
    	if types.Contains(madmin.MetricsSiteResync) {
    		m.Aggregated.SiteResync = globalSiteResyncMetrics.report(opts.depID)
    	}
    	if types.Contains(madmin.MetricNet) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 10 16:28:08 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  8. istioctl/pkg/util/handlers/handlers.go

    )
    
    // InferPodInfo Uses name to infer namespace if the passed name contains namespace information.
    // Otherwise uses the namespace value passed into the function
    func InferPodInfo(name, defaultNS string) (string, string) {
    	return inferNsInfo(name, defaultNS)
    }
    
    // inferNsInfo Uses name to infer namespace if the passed name contains namespace information.
    // Otherwise uses the namespace value passed into the function
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 06 15:01:41 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  9. istioctl/pkg/internaldebug/internal-debug.go

    			switch {
    			case strings.Contains(eString, "You must provide a proxyID in the query string"):
    				return nil, fmt.Errorf(" You must provide a proxyID in the query string, e.g. [%s]",
    					"edsz?proxyID=istio-ingressgateway")
    
    			case strings.Contains(eString, "404 page not found"):
    				return HandlerForRetrieveDebugList(kubeClient, *centralOpts, writer, istioNamespace)
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 04:16:55 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  10. internal/config/certs.go

    package config
    
    import (
    	"bytes"
    	"crypto/tls"
    	"crypto/x509"
    	"encoding/pem"
    	"errors"
    	"os"
    
    	"github.com/minio/pkg/v2/env"
    )
    
    // EnvCertPassword is the environment variable which contains the password used
    // to decrypt the TLS private key. It must be set if the TLS private key is
    // password protected.
    const EnvCertPassword = "MINIO_CERT_PASSWD"
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 3.8K bytes
    - Viewed (0)
Back to top