- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 205 for containers (0.19 sec)
-
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 Apr 24 22:53:08 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 3.6K 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 Apr 24 22:53:08 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 8.4K 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 Apr 24 22:53:08 GMT 2024 - Last Modified: Thu Mar 28 09:54:01 GMT 2024 - 30.4K bytes - Viewed (0) -
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 Apr 24 22:53:08 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 10.4K bytes - Viewed (0) -
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 Apr 24 22:53:08 GMT 2024 - Last Modified: Fri May 12 17:39:53 GMT 2023 - 4.7K 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 Apr 24 22:53:08 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 10.4K 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 Apr 24 22:53:08 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 17.5K bytes - Viewed (0) -
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 Apr 24 22:53:08 GMT 2024 - Last Modified: Tue Jul 25 08:08:36 GMT 2023 - 21.5K bytes - Viewed (0) -
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 Apr 24 22:53:08 GMT 2024 - Last Modified: Wed Dec 20 22:14:13 GMT 2023 - 4.8K bytes - Viewed (0) -
istioctl/pkg/util/handlers/handlers_test.go
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Fri Jun 09 18:17:49 GMT 2023 - 6.6K bytes - Viewed (0)