- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 46 for Container (0.32 sec)
-
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 01 22:53:12 GMT 2024 - Last Modified: Fri May 12 17:39:53 GMT 2023 - 4.7K bytes - Viewed (0) -
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 01 22:53:12 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 17.5K bytes - Viewed (0) -
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 01 22:53:12 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 10.4K bytes - Viewed (0) -
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 01 22:53:12 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 8.4K bytes - Viewed (0) -
cni/pkg/plugin/plugin.go
log.Errorf("Failed to get %s/%s pod info: %v", podNamespace, podName, k8sErr) return k8sErr } // Check if istio-init container is present; in that case exclude pod if pi.Containers.Contains(ISTIOINIT) { log.Infof("excluded due to being already injected with istio-init container") return nil } if val, ok := pi.ProxyEnvironments["DISABLE_ENVOY"]; ok {
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 10.4K bytes - Viewed (0) -
cni/pkg/constants/constants.go
RepairNodeName = "repair-node-name" RepairSidecarAnnotation = "repair-sidecar-annotation" RepairInitContainerName = "repair-init-container-name" RepairInitTerminationMsg = "repair-init-container-termination-message" RepairInitExitCode = "repair-init-container-exit-code" RepairLabelSelectors = "repair-label-selectors" RepairFieldSelectors = "repair-field-selectors" ) // Internal constants const (
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 2.7K bytes - Viewed (0) -
cmd/api-response.go
StorageClass string Initiated string } // CommonPrefix container for prefix response in ListObjectsResponse type CommonPrefix struct { Prefix string } // Bucket container for bucket metadata type Bucket struct { Name string CreationDate string // time string of format "2006-01-02T15:04:05.000Z" } // ObjectVersion container for object version metadata type ObjectVersion struct { Object
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 33.3K bytes - Viewed (2) -
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 01 22:53:12 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 3.6K bytes - Viewed (0) -
cmd/update_test.go
func TestIsDCOS(t *testing.T) { sci := globalIsCICD globalIsCICD = false defer func() { globalIsCICD = sci }() t.Setenv("MESOS_CONTAINER_NAME", "mesos-1111") dcos := IsDCOS() if !dcos { t.Fatalf("Expected %t, got %t", true, dcos) } os.Unsetenv("MESOS_CONTAINER_NAME") dcos = IsDCOS() if dcos { t.Fatalf("Expected %t, got %t", false, dcos) } }
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Sat Mar 09 03:07:08 GMT 2024 - 10.7K bytes - Viewed (0) -
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 01 22:53:12 GMT 2024 - Last Modified: Thu Mar 28 09:54:01 GMT 2024 - 30.4K bytes - Viewed (0)